toaruos/libc/unistd/fcntl.c

12 lines
184 B
C
Raw Normal View History

2018-06-25 09:45:32 +03:00
#include <fcntl.h>
int fcntl(int fd, int cmd, ...) {
switch (cmd) {
case F_GETFD:
return 0;
case F_SETFD:
return 0;
}
return -1;
}