FAILTEST_CALLOC,
FAILTEST_REALLOC,
FAILTEST_OPEN,
+ FAILTEST_CLOSE,
FAILTEST_PIPE,
FAILTEST_READ,
FAILTEST_WRITE,
mode_t mode;
};
+struct close_call {
+ int fd;
+};
+
struct pipe_call {
int ret;
int fds[2];
struct malloc_call malloc;
struct realloc_call realloc;
struct open_call open;
+ struct close_call close;
struct pipe_call pipe;
struct read_call read;
struct write_call write;