Creates a directory, a file, or a FIFO.
#include <sys/stat.h> int mknod ( const char *path, mode_t mode, dev_t dev);
(IN) Points to the path for the file.
(IN) Specifies the type of object to create and must be set to one of the following:
A permission's flag can be OR'd to one of the flags above. For a list of possible values, see File Access Modes and NetWare Attributes.
(IN) Specifies the device type and must be set to 0.
If successful, returns 0. Otherwise, returns -1 and sets errno to one of the following: