summaryrefslogtreecommitdiff
path: root/src/common/lock.hpp
blob: 8b444f41f7096d315ed3f394858710676f2a6338 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#ifndef LOCK_HPP
#define LOCK_HPP

#include <cstdio>

/// 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