?title=Template:cpp/filesystem/dsc_space&action=edit)  
[ status  symlink_status  ](/w/cpp/filesystem/status "cpp/filesystem/status") (C++17)  (C++17)  |  determines file attributes   
determines file attributes, checking the symlink target  
(function)  [ [edit]
](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/filesystem/dsc_status&action=edit)  
[ temp_directory_path  ](/w/cpp/filesystem/temp_directory_path "cpp/filesystem/temp directory path") (C++17)  |  returns a directory suitable for temporary files   
(function)  [ [edit]
](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/filesystem/dsc_temp_directory_path&action=edit)  
  
#####  File types  
  
[ is_block_file  ](/w/cpp/filesystem/is_block_file "cpp/filesystem/is block file") (C++17)  |  checks whether the given path refers to block device   
(function)  [ [edit]
](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/filesystem/dsc_is_block_file&action=edit)  
[ is_character_file  ](/w/cpp/filesystem/is_character_file "cpp/filesystem/is character file") (C++17)  |  checks whether the given path refers to a character device   
(function)  [ [edit]
](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/filesystem/dsc_is_character_file&action=edit)  
[ is_directory  ](/w/cpp/filesystem/is_directory "cpp/filesystem/is directory") (C++17)  |  checks whether the given path refers to a directory   
(function)  [ [edit]
](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/filesystem/dsc_is_directory&action=edit)  
[ is_empty  ](/w/cpp/filesystem/is_empty "cpp/filesystem/is empty") (C++17)  |  checks whether the given path refers to an empty file or directory   
(function)  [ [edit]
](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/filesystem/dsc_is_empty&action=edit)  
[ is_fifo  ](/w/cpp/filesystem/is_fifo "cpp/filesystem/is fifo") (C++17)  |  checks whether the given path refers to a named pipe   
(function)  [ [edit]
](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/filesystem/dsc_is_fifo&action=edit)  
[ is_other  ](/w/cpp/filesystem/is_other "cpp/filesystem/is other") (C++17)  |  checks whether the argument refers to an _other_ file   
(function)  [ [edit]
](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/filesystem/dsc_is_other&action=edit)  
[ is_regular_file  ](/w/cpp/filesystem/is_regular_file "cpp/filesystem/is regular file") (C++17)  |  checks whether the argument refers to a regular file   
(function)  [ [edit]
](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/filesystem/dsc_is_regular_file&action=edit)  
[ is_socket  ](/w/cpp/filesystem/is_socket "cpp/filesystem/is socket") (C++17)  |  checks whether the argument refers to a named IPC socket   
(function)  [ [edit]
](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/filesystem/dsc_is_socket&action=edit)  
[ is_symlink  ](/w/cpp/filesystem/is_symlink "cpp/filesystem/is symlink") (C++17)  |  checks whether the argument refers to a symbolic link   
(function)  [ [edit]
](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/filesystem/dsc_is_symlink&action=edit)  
[ status_known  ](/w/cpp/filesystem/status_known "cpp/filesystem/status known") (C++17)  |  checks whether file status is known   
(function)  [ [edit]
](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/filesystem/dsc_status_known&action=edit)  
  
###  [ [ edit ](/mwiki/index.php?title=cpp/filesystem&action=edit&section=2
"Edit section: Notes") ]  Notes

Using this library may require additional compiler/linker options. GNU
implementation prior to 9.1 requires linking with  \-  lstdc  ++  fs  and LLVM
implementation prior to LLVM 9.0 requires linking with  \-  lc  ++  fs  .

[ Feature-test ](/w/cpp/utility/feature_test "cpp/utility/feature test") macro  |  Value  |  Std  |  Feature   
---|---|---|---  
[ ` __cpp_lib_filesystem ` ](/w/cpp/feature_test#cpp_lib_filesystem "cpp/feature test") |  201703L