Please check the manual page mkfifo(3).