Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext
target

Returns the target path of this handle if it is a symbolic link.

Description

Be aware that on Windows AFIO operates exclusively in the NT kernel namespace, NOT the Win32 namespace, and therefore paths you supply are converted by afio::path in NT kernel namespace paths. normalise_path() can convert an afio path back to a Filesystem TS path for you, but note that this may not be the path that was supplied originally. NT kernel namespace paths have a 32,767 character limit and an almost POSIX like lack of restrictions on naming or historical behaviour quirks, but as a result AFIO does not support DOS short names or any of the other historical Win32 filing system baggage.

Synopsis
virtual path handle::target()
Parameters

Type

Concept

Name

Description

Returns

The path the symbolic link points to. May not exist or even be valid.

Header

#include <boost/afio/v2/afio.hpp>

Race Guarantees

Operating system Race guarantees under a changing file system
FreeBSD Race free up to the containing directory.
Linux, Windows Race free if handle open, else up to the containing directory.
OS X No guarantees.


PrevUpHomeNext