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