More valgrind-found bugs, extracted open_and_mmap from main code.
This commit is contained in:
1
ioutil.h
1
ioutil.h
@@ -10,6 +10,7 @@ int readloop(int filedes, void *buffer, size_t size);
|
||||
int sendfileloop(int out_fd, int in_fd, off64_t *offset, size_t count);
|
||||
int splice_via_pipe_loop(int fd_in, int fd_out, size_t len);
|
||||
int read_until_newline(int fd, char* buf, int bufsize);
|
||||
int open_and_mmap(char* filename, int* out_fd, off64_t *out_size, void **out_map);
|
||||
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user