10.642 mknod
POSIX specification:
https://pubs.opengroup.org/onlinepubs/9699919799/functions/mknod.html
Gnulib module: mknod
Portability problems fixed by Gnulib:
- This function requires super-user privileges to create a fifo:
FreeBSD 7.2, NetBSD 8.0, OpenBSD 6.7.
- This function mishandles trailing slash on some platforms:
FreeBSD 7.2, Solaris 9.
- This function is missing on some platforms; however, the replacement
always fails with
ENOSYS
:
mingw, MSVC 14.
Portability problems not fixed by Gnulib:
- Use of this function for anything except fifos is not portable,
generally requiring super-user privileges and knowledge of supported
device numbers.
- If the argument exists and is a directory, this function fails with
EISDIR
instead of the correct EEXIST
:
HP-UX 11.11.