Added fcntl() empty stub implementation.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5264 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2003-11-06 00:10:57 +00:00
parent ea2aba5dc9
commit 48a7b199b7
2 changed files with 20 additions and 0 deletions

View File

@ -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

View File

@ -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 <unistd.h>
#include <fcntl.h>
#include <syscalls.h>
int
fcntl(int fd, int op, ...)
{
// ToDo: implement me!
return 0;
}