Fix SO_LINGER on Apple

This commit is contained in:
Justine Tunney 2023-02-02 20:05:22 -08:00
parent 1429a7b3ef
commit cf19e3e46a
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
4 changed files with 4 additions and 3 deletions

View file

@ -1,2 +1,2 @@
.include "o/libc/sysv/consts/syscon.internal.inc"
.syscon so,SO_LINGER,13,0x80,0x80,0x80,0x80,0x80
.syscon so,SO_LINGER,13,0x1080,0x80,0x80,0x80,0x80

View file

@ -1,2 +1,2 @@
.include "o/libc/sysv/consts/syscon.internal.inc"
.syscon ioctl,TIOCINQ,0x541b,0x4004667f,0x4004667f,0x4004667f,0x4004667f,0x4004667f
.syscon termios,TIOCINQ,0x541b,0x4004667f,0x4004667f,0x4004667f,0x4004667f,0x4004667f