Debian Codegraph @

tools/io.h

raw symbols SCIP
1 #ifndef IO_H
2 #define IO_H
3
4 #include <stdio.h>
5
6 #ifdef UNITTESTING
7 #define open_file open_file_unittesting
8 #define close_file close_file_unittesting
9 #define open_process open_process_file_unittesting
10 #define close_process close_process_unittesting
11 #define read_line read_line_unittesting
12 #endif
13
14 extern FILE *open_file(const char *filename, const char *mode);
15 extern int close_file(FILE *file);
16
17 extern FILE *open_process(const char *command, const char *mode);
18 extern int close_process(FILE *file);
19
20 extern int read_line(FILE *file, char *buffer, int max_length);
21
22 #endif