Share via


basic_directory_entry::symlink_status Method

Retrieves the symbolic link status of the stored file name.

file_status status() const;
file_status status(
   error_code& Code
) const;

Parameters

Return Value

If the stored symbolic link status is not status_unknown, then the stored status is returned. Otherwise, the method determines the status from the operating system.

Any errors that are associated with the operation are stored in Code.

Requirements

Header: filesystem

Namespace: std::tr2::sys

See Also

Reference

basic_directory_entry Class

<filesystem>