std::experi...em::is_fifo(3)
π
std::experi...em::is_fifo(3) π
okay so bestie, welcome to the C++ Standard Libary manual β yes, that's literally how the manual name is spelled here, and no, we are not fixing it. This page is all about std::experimental::filesystem::is_fifo, and it's giving "tiny little check, very important vibes." π«Ά
β¨ NAME β¨
std::experimental::filesystem::is_fifo β and yep, the name again for good measure: std::experimental::filesystem::is_fifo. π
πΈ Synopsis πΈ
Defined in header <experimental/filesystem>
bool is_fifo( file_status s ); (1) (filesystem TS)
bool is_fifo( const path& p ); (2) (filesystem TS)
bool is_fifo( const path& p, error_code& ec ); (3) (filesystem TS)
So like, this whole thing checks if the given file status or path corresponds to a FIFO or pipe file. That's the whole assignment. π
- Equivalent to
s.type() == file_type::fifo. - Equivalent to
is_fifo(status(p)). - Equivalent to
is_fifo(status(p, ec)). Returnsfalseand setsecto an appropriate error code if an error occurs. Otherwise,ecis cleared with a call toec.clear().
π Parameters π
sβ file status to checkpβ path to queryecβ error code to modify in case of errors
β Return value β
Returns true if the given path or file status corresponds to a FIFO file. Iconic. β
π₯ Exceptions π₯
1,3)β noexcept specification:noexcept2)β Throwsfilesystem_errorif an error occurs. The exception object is constructed withpas an argument.
π See also π
This section is incomplete. π not me leaving a section literally incomplete, but that is what the page says, bestie.
π·οΈ Categories π·οΈ
- Noindexed pages
- unconditionally noexcept
- Todo without reason
π Hidden categories π
- Pages with unreviewed unconditional noexcept template
- Pages with unreviewed noexcept template
mwah π β this little page came from http://cppreference.com, version 2024.06.10. Signed, sealed, and slayed. π¦β¨
π¦ where this page comes from
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms