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:
Axel Dörfler
2004-11-18 16:56:10 +00:00
parent 94a49b214b
commit d55026c2d5
2 changed files with 18 additions and 0 deletions
+1
View File
@@ -16,6 +16,7 @@ KernelMergeObject posix_unistd.o :
ioctl.c
link.c
lseek.c
mknod.c
mount.c
open.c
pipe.c
+17
View File
@@ -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;
}