diff --git a/src/kernel/libroot/posix/unistd/Jamfile b/src/kernel/libroot/posix/unistd/Jamfile index a33d05df74..6f4ced5b95 100644 --- a/src/kernel/libroot/posix/unistd/Jamfile +++ b/src/kernel/libroot/posix/unistd/Jamfile @@ -8,6 +8,7 @@ KernelMergeObject posix_unistd.o : <$(SOURCE_GRIST)>directory.c <$(SOURCE_GRIST)>dup.c <$(SOURCE_GRIST)>dup2.c + <$(SOURCE_GRIST)>fcntl.c <$(SOURCE_GRIST)>getopt.c <$(SOURCE_GRIST)>hostname.c <$(SOURCE_GRIST)>ioctl.c @@ -36,6 +37,7 @@ MergeObjectFromObjects kernel_posix_unistd.o : <$(SOURCE_GRIST)>directory.o <$(SOURCE_GRIST)>dup.o <$(SOURCE_GRIST)>dup2.o + <$(SOURCE_GRIST)>fcntl.c <$(SOURCE_GRIST)>hostname.o <$(SOURCE_GRIST)>ioctl.o <$(SOURCE_GRIST)>link.o diff --git a/src/kernel/libroot/posix/unistd/fcntl.c b/src/kernel/libroot/posix/unistd/fcntl.c new file mode 100644 index 0000000000..7fa4b36763 --- /dev/null +++ b/src/kernel/libroot/posix/unistd/fcntl.c @@ -0,0 +1,18 @@ +/* +** Copyright 2003, Axel Dörfler, axeld@pinc-software.de. All rights reserved. +** Distributed under the terms of the OpenBeOS License. +*/ + + +#include +#include +#include + + +int +fcntl(int fd, int op, ...) +{ + // ToDo: implement me! + return 0; +} +