mkfifo()

This function creates a new FIFO special file. Here is its syntax:

int mkfifo(const char *filename, mode_t permission);

Here, filename represents the filename, along with its complete path, and permission represents the permission bits of the new FIFO file. The default permissions are read and write permission for the owner, group, and others, that is, (0666).

The function returns 0 on successful completion; otherwise, it returns -1.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset