Skip to content

End of Life Ruby 3.1 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →

class method

File.mkfifo

File.mkfifo(file_name, mode=0666) => 0

Creates a FIFO special file with name file_name. mode specifies the FIFO’s permissions. It is modified by the process’s umask in the usual way: the permissions of the created file are (mode & ~umask).

See also .lutime .mtime .lstat .new also in 4.1 · 4.0 · 3.4 · 3.3 · 3.2 · 3.0