diff options
author | Rob Landley <rob@landley.net> | 2017-01-04 01:32:44 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2017-01-04 01:32:44 -0600 |
commit | a1a559e25a19726b3a62267feb5e89bad2fcd01e (patch) | |
tree | 7f6942e4a2801e41a027f4ba5db40a47e05a7eab /lib/lib.h | |
parent | 4d4ca28acaa44069893d06aea64e304809527b16 (diff) | |
download | toybox-a1a559e25a19726b3a62267feb5e89bad2fcd01e.tar.gz |
Some lib fixes: mark xvfork() noinline, make xsendfile() return bytes copied,
make xsocket()'s returned fd CLOEXEC.
Diffstat (limited to 'lib/lib.h')
-rw-r--r-- | lib/lib.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -211,7 +211,7 @@ off_t fdlength(int fd); void loopfiles_rw(char **argv, int flags, int permissions, void (*function)(int fd, char *name)); void loopfiles(char **argv, void (*function)(int fd, char *name)); -void xsendfile(int in, int out); +long long xsendfile(int in, int out); int wfchmodat(int rc, char *name, mode_t mode); int copy_tempfile(int fdin, char *name, char **tempname); void delete_tempfile(int fdin, int fdout, char **tempname); |