[fs.op.is.fifo] (original) (raw)

31 Input/output library [input.output]

31.12 File systems [filesystems]

31.12.13 Filesystem operation functions [fs.op.funcs]

31.12.13.21 Is fifo [fs.op.is.fifo]

🔗

bool filesystem::is_fifo(file_status s) noexcept;

1

#

Returns: s.type() == file_type​::​fifo.

🔗

bool filesystem::is_fifo(const path& p);bool filesystem::is_fifo(const path& p, error_code& ec) noexcept;

2

#

Returns: is_fifo(status(p)) or is_fifo(status(p, ec)), respectively.

The signature with argument ec returns false if an error occurs.

3

#

Throws: As specified in [fs.err.report].