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:
@@ -8,6 +8,7 @@ KernelMergeObject posix_unistd.o :
|
|||||||
<$(SOURCE_GRIST)>directory.c
|
<$(SOURCE_GRIST)>directory.c
|
||||||
<$(SOURCE_GRIST)>dup.c
|
<$(SOURCE_GRIST)>dup.c
|
||||||
<$(SOURCE_GRIST)>dup2.c
|
<$(SOURCE_GRIST)>dup2.c
|
||||||
|
<$(SOURCE_GRIST)>fcntl.c
|
||||||
<$(SOURCE_GRIST)>getopt.c
|
<$(SOURCE_GRIST)>getopt.c
|
||||||
<$(SOURCE_GRIST)>hostname.c
|
<$(SOURCE_GRIST)>hostname.c
|
||||||
<$(SOURCE_GRIST)>ioctl.c
|
<$(SOURCE_GRIST)>ioctl.c
|
||||||
@@ -36,6 +37,7 @@ MergeObjectFromObjects kernel_posix_unistd.o :
|
|||||||
<$(SOURCE_GRIST)>directory.o
|
<$(SOURCE_GRIST)>directory.o
|
||||||
<$(SOURCE_GRIST)>dup.o
|
<$(SOURCE_GRIST)>dup.o
|
||||||
<$(SOURCE_GRIST)>dup2.o
|
<$(SOURCE_GRIST)>dup2.o
|
||||||
|
<$(SOURCE_GRIST)>fcntl.c
|
||||||
<$(SOURCE_GRIST)>hostname.o
|
<$(SOURCE_GRIST)>hostname.o
|
||||||
<$(SOURCE_GRIST)>ioctl.o
|
<$(SOURCE_GRIST)>ioctl.o
|
||||||
<$(SOURCE_GRIST)>link.o
|
<$(SOURCE_GRIST)>link.o
|
||||||
|
|||||||
@@ -0,0 +1,18 @@
|
|||||||
|
/*
|
||||||
|
** Copyright 2003, Axel Dörfler, [email protected]. 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;
|
||||||
|
}
|
||||||
|
|
||||||
Reference in New Issue
Block a user