posix_mknod
(no version information, might be only in CVS)posix_mknod --
Create a special or ordinary file (POSIX.1)
- posix_mknod() creates a special or ordinary file.
-
- The file to create
- This parameter is constructed by a bitwise OR between file type (one of
the following constants: POSIX_S_IFREG,
POSIX_S_IFCHR, POSIX_S_IFBLK,
POSIX_S_IFIFO or
POSIX_S_IFSOCK ) and permissions.
- The major device kernel identifier
- The minor device kernel identifier
- Возвращает TRUE в случае успешного завершения или FALSE в случае возникновения ошибки.