mkfifo(path) creates a named pipe (fifo) with the read/write-permission 0666, which are subject to the current umask. Usually this results in a permission of 0644.
mkfifo(path, mode) creates a named pipe (fifo) with specified read/write-permissions. The current umask is applied.
