11 croak("%s not implemented on this architecture", s);
23 if (strnEQ(name, "F_", 2)) {
24 if (strEQ(name, "F_DUPFD"))
30 if (strEQ(name, "F_GETFD"))
36 if (strEQ(name, "F_GETLK"))
42 if (strEQ(name, "F_SETFD"))
48 if (strEQ(name, "F_GETFL"))
54 if (strEQ(name, "F_SETFL"))
60 if (strEQ(name, "F_SETLK"))
66 if (strEQ(name, "F_SETLKW"))
72 if (strEQ(name, "F_RDLCK"))
78 if (strEQ(name, "F_UNLCK"))
84 if (strEQ(name, "F_WRLCK"))
93 if (strEQ(name, "FD_CLOEXEC"))
101 if (strnEQ(name, "O_", 2)) {
102 if (strEQ(name, "O_CREAT"))
108 if (strEQ(name, "O_EXCL"))
114 if (strEQ(name, "O_NOCTTY"))
120 if (strEQ(name, "O_TRUNC"))
126 if (strEQ(name, "O_APPEND"))
132 if (strEQ(name, "O_NONBLOCK"))
138 if (strEQ(name, "O_NDELAY"))
144 if (strEQ(name, "O_RDONLY"))
150 if (strEQ(name, "O_RDWR"))
156 if (strEQ(name, "O_WRONLY"))
175 MODULE = Fcntl PACKAGE = Fcntl