diff options
author | Rich Felker <dalias@aerifal.cx> | 2019-07-16 18:31:33 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2019-07-16 18:31:33 -0400 |
commit | 03919b26ed41c31876db41f7cee076ced4513fad (patch) | |
tree | be592d50551a1ee8c600e35f5420e840e76a2f5c /src/include | |
parent | b07d45eb01e900f0176894fdedab62285f5cb8be (diff) | |
download | musl-03919b26ed41c31876db41f7cee076ced4513fad.tar.gz musl-03919b26ed41c31876db41f7cee076ced4513fad.tar.bz2 musl-03919b26ed41c31876db41f7cee076ced4513fad.tar.xz musl-03919b26ed41c31876db41f7cee076ced4513fad.zip |
use namespace-safe __lseek for __stdio_seek instead of direct syscall
this probably saves a few bytes, avoids duplicating the clunky
lseek/_llseek syscall convention in two places, and sets the stage for
fixing broken seeks on x32 and mipsn32.
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/unistd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/unistd.h b/src/include/unistd.h index 6deb1bcc..1b4605c7 100644 --- a/src/include/unistd.h +++ b/src/include/unistd.h @@ -9,5 +9,6 @@ hidden int __dup3(int, int, int); hidden int __mkostemps(char *, int, int); hidden int __execvpe(const char *, char *const *, char *const *); hidden int __aio_close(int); +hidden off_t __lseek(int, off_t, int); #endif |