blob: df4d1f89d1c397c37a894a9ae5eedcadf7aabae4 (
plain) (
tree)
|
|
#ifndef LOCK_HPP
#define LOCK_HPP
#include "sanity.hpp"
#include <cstdio>
#include "strings.hpp"
// TODO replace with a class
/// Locked FILE I/O
// Changes are made in a separate file until lock_fclose
FILE *lock_fopen(ZString filename, int *info);
void lock_fclose(FILE *fp, ZString filename, int *info);
#endif // LOCK_HPP
|