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:
parent
ea2aba5dc9
commit
48a7b199b7
@ -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
|
||||
|
18
src/kernel/libroot/posix/unistd/fcntl.c
Normal file
18
src/kernel/libroot/posix/unistd/fcntl.c
Normal 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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user