Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
std::filesy...status_known(3) C++ Standard Libarystd::filesy...status_known(3)

NAME
       std::filesystem::status_known - std::filesystem::status_known

Synopsis
	  Defined in header <filesystem>
	  bool	status_known(  std::filesystem::file_status  s ) noexcept; (1)
       (since C++17)

	  Checks if the	given file status is known, equivalent to s.type()  !=
       file_type::none.

Parameters
	  s - file status to check

Return value
	  true if the given file status	is a known file	status.

Notes
	  Despite  the	name,  the  function  checks  for  the	file status of
       file_type::none
	  (meaning an error occurred), not  file_type::unknown	(meaning  file
       exists, but its
	  type cannot be determined).

See also
	  status	 determines file attributes
	  symlink_status determines file attributes, checking the symlink tar-
       get
	  (C++17)	 (function)
	  (C++17)
	  status	 status	of the file designated by this directory entry
	  symlink_status  symlink_status of the	file designated	by this	direc-
       tory entry
			 (public member	 function  of  std::filesystem::direc-
       tory_entry)

http://cppreference.com		  2022.07.31	 std::filesy...status_known(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=std::filesystem::status_known&sektion=3&manpath=FreeBSD+Ports+15.0>

home | help