From 631da78867c84a1b057a937324b6adc2c02050c5 Mon Sep 17 00:00:00 2001 From: Slava Pestov Date: Tue, 6 May 2008 05:01:27 -0500 Subject: [PATCH] Add Linux constants --- extra/unix/linux/linux.factor | 3 +++ 1 file changed, 3 insertions(+) diff --git a/extra/unix/linux/linux.factor b/extra/unix/linux/linux.factor index 11db6cc862..74195fae36 100755 --- a/extra/unix/linux/linux.factor +++ b/extra/unix/linux/linux.factor @@ -24,6 +24,9 @@ USING: alien.syntax ; : SO_SNDTIMEO HEX: 15 ; inline : SO_RCVTIMEO HEX: 14 ; inline +: F_SETFD 2 ; inline +: FD_CLOEXEC 1 ; inline + : F_SETFL 4 ; inline : O_NONBLOCK HEX: 800 ; inline