Added empty implementation of mknod() - should be pretty much what BeOS does.
The "mv" command needed it. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10011 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -16,6 +16,7 @@ KernelMergeObject posix_unistd.o :
|
|||||||
ioctl.c
|
ioctl.c
|
||||||
link.c
|
link.c
|
||||||
lseek.c
|
lseek.c
|
||||||
|
mknod.c
|
||||||
mount.c
|
mount.c
|
||||||
open.c
|
open.c
|
||||||
pipe.c
|
pipe.c
|
||||||
|
|||||||
@@ -0,0 +1,17 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2004, Axel Dörfler, [email protected].
|
||||||
|
* Distributed under the terms of the MIT License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
#include <unistd.h>
|
||||||
|
#include <errno.h>
|
||||||
|
|
||||||
|
|
||||||
|
int
|
||||||
|
mknod(const char *name, mode_t mode, dev_t dev)
|
||||||
|
{
|
||||||
|
errno = B_BAD_VALUE;
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
|
||||||
Reference in New Issue
Block a user