a little more debug to help diagnose boot failure
[AROS.git] / compiler / posixc / mknod.c
blobdaea82c7d4435badb5beec381f4311afd29609c5
1 /*
2 Copyright © 2004-2013, The AROS Development Team. All rights reserved.
3 $Id$
5 POSIX.1-2008 function mknod().
6 */
8 #include <aros/debug.h>
9 #include <sys/types.h>
10 #include <fcntl.h>
11 #include <unistd.h>
12 #include <errno.h>
14 /*****************************************************************************
16 NAME */
17 #include <sys/stat.h>
19 int mknod(
21 /* SYNOPSIS */
22 const char *pathname,
23 mode_t mode,
24 dev_t dev)
26 /* FUNCTION
28 INPUTS
30 RESULT
32 NOTES
33 Not implemented.
35 EXAMPLE
37 BUGS
39 SEE ALSO
41 INTERNALS
43 ******************************************************************************/
45 /* TODO: Implement mknod() */
46 AROS_FUNCTION_NOT_IMPLEMENTED("posixc");
47 errno = EPERM;
48 return -1;
49 } /* mknod */