11 /* This comment is a kludge to get metaconfig to see the symbols
16 and include the appropriate metaconfig unit
17 so that Configure will test how to turn on non-blocking I/O
18 for a file descriptor. See config.h for how to use these
21 While I'm at it, I'll have metaconfig look for HAS_POLL too.
29 croak("%s not implemented on this architecture", s);
41 if (strnEQ(name, "F_", 2)) {
42 if (strEQ(name, "F_DUPFD"))
48 if (strEQ(name, "F_GETFD"))
54 if (strEQ(name, "F_GETLK"))
60 if (strEQ(name, "F_SETFD"))
66 if (strEQ(name, "F_GETFL"))
72 if (strEQ(name, "F_SETFL"))
78 if (strEQ(name, "F_SETLK"))
84 if (strEQ(name, "F_SETLKW"))
90 if (strEQ(name, "F_RDLCK"))
96 if (strEQ(name, "F_UNLCK"))
102 if (strEQ(name, "F_WRLCK"))
111 if (strEQ(name, "FD_CLOEXEC"))
119 if (strnEQ(name, "O_", 2)) {
120 if (strEQ(name, "O_CREAT"))
126 if (strEQ(name, "O_EXCL"))
132 if (strEQ(name, "O_NOCTTY"))
138 if (strEQ(name, "O_TRUNC"))
144 if (strEQ(name, "O_APPEND"))
150 if (strEQ(name, "O_NONBLOCK"))
156 if (strEQ(name, "O_NDELAY"))
162 if (strEQ(name, "O_RDONLY"))
168 if (strEQ(name, "O_RDWR"))
174 if (strEQ(name, "O_WRONLY"))
180 if (strEQ(name, "O_BINARY"))
199 MODULE = Fcntl PACKAGE = Fcntl