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.
This commit is contained in:
Rich Felker
2019-07-16 18:31:33 -04:00
parent b07d45eb01
commit 03919b26ed
3 changed files with 6 additions and 10 deletions
+1
View File
@@ -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