Debian Codegraph @

tools/io.mock

raw symbols SCIP
1 #include "io.h"
2
3 FILE *open_file(const char *filename, const char *mode) {
4 return (FILE *) mock(filename, mode);
5 }
6
7 int close_file(FILE *file) {
8 return (int) mock(file);
9 }
10
11 FILE *open_process(const char *command, const char *mode) {
12 return (FILE *) mock(command, mode);
13 }
14
15 int close_process(FILE *file) {
16 return (int) mock(file);
17 }
18
19 int read_line(FILE *file, char *buffer, int max_length) {
20 return (int) mock(file, buffer, max_length);
21 }
22