]> gitweb.factorcode.org Git - factor.git/commitdiff
unix.ffi: Add SHUT_* flags for shutdown() call.
authorDoug Coleman <doug.coleman@gmail.com>
Thu, 26 May 2016 00:25:35 +0000 (17:25 -0700)
committerDoug Coleman <doug.coleman@gmail.com>
Thu, 26 May 2016 00:49:59 +0000 (17:49 -0700)
basis/unix/ffi/ffi.factor

index 52b8e802343d0ece3425f72a3258978080a7d7a4..7c0080f6e8e6cc29863abab3e590de8ad24d8cdf 100644 (file)
@@ -44,6 +44,10 @@ CONSTANT: AI_V4MAPPED       0x0008
 CONSTANT: AI_ALL            0x0010
 CONSTANT: AI_ADDRCONFIG     0x0020
 
+CONSTANT: SHUT_RD     0
+CONSTANT: SHUT_WR     1
+CONSTANT: SHUT_RDWR   2
+
 LIBRARY: libc
 
 STRUCT: group