mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-26 12:30:30 +00:00
Improve system call wrappers
This change improves copy_file_range(), sendfile(), splice(), openpty(), closefrom(), close_range(), fadvise() and posix_fadvise() in addition to writing tests that confirm things like errno and seeking behavior across platforms. We now less aggressively polyfill behavior with some of these functions when the platform support isn't available. Please see: https://justine.lol/cosmopolitan/functions.html
This commit is contained in:
parent
224c12f54d
commit
c7a8cd21e9
89 changed files with 1151 additions and 414 deletions
|
@ -1410,8 +1410,9 @@ syscon termios TIOCSTSTAMP 0 0 0 0x8008745a 0x8008745a 0 # boop
|
|||
syscon termios ENDRUNDISC 0 0 0 0x9 0x9 0 # boop
|
||||
syscon termios TIOCPTMASTER 0 0 0x2000741c 0 0 0 # boop
|
||||
syscon termios TIOCPTYGRANT 0 0x20007454 0 0 0 0 # xnu grantpt()
|
||||
syscon termios TIOCPTYUNLK 0 0x20007452 0 0 0 0 # xnu grantpt()
|
||||
syscon termios TIOCPTYGNAME 0 0x40807453 0 0 0 0 # xnu grantpt()
|
||||
syscon termios TIOCPTYUNLK 0 0x20007452 0 0 0 0 # xnu unlockpt()
|
||||
syscon termios TIOCPTYGNAME 0 0x40807453 0 0 0 0 # xnu ptyname()
|
||||
syscon termios TIOCPTSNAME 0 0 0 0 0x48087448 0 # netbsd ptyname()
|
||||
syscon termios FIODGNAME 0 0 0x80106678 0 0 0 # freebsd ptsname_r()
|
||||
syscon termios NETGRAPHDISC 0 0 0x6 0 0 0 # boop
|
||||
syscon termios H4DISC 0 0 0x7 0 0 0 # boop
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue