diff --git a/src/kernel/libroot/posix/unistd/Jamfile b/src/kernel/libroot/posix/unistd/Jamfile index d6f268cdea..f6fcf3937b 100644 --- a/src/kernel/libroot/posix/unistd/Jamfile +++ b/src/kernel/libroot/posix/unistd/Jamfile @@ -16,6 +16,7 @@ KernelMergeObject posix_unistd.o : ioctl.c link.c lseek.c + mknod.c mount.c open.c pipe.c diff --git a/src/kernel/libroot/posix/unistd/mknod.c b/src/kernel/libroot/posix/unistd/mknod.c new file mode 100644 index 0000000000..6426280da8 --- /dev/null +++ b/src/kernel/libroot/posix/unistd/mknod.c @@ -0,0 +1,17 @@ +/* + * Copyright 2004, Axel Dörfler, axeld@pinc-software.de. + * Distributed under the terms of the MIT License. + */ + + +#include +#include + + +int +mknod(const char *name, mode_t mode, dev_t dev) +{ + errno = B_BAD_VALUE; + return -1; +} +