Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

pathmgr_unlink()

Remove a link

Synopsis:

#include <sys/pathmgr.h>

int pathmgr_unlink( const char * path );

Arguments:

path
The link that you want to remove.

Library:

libc

Use the -l c option to qcc to link against this library. This library is usually included automatically.

Description:

The pathmgr_unlink() function removes the link created by pathmgr_symlink().

Returns:

0
Success.
-1
An error occurred.

Examples:

See pathmgr_symlink().

Classification:

QNX Neutrino

Safety:
Cancellation point Yes
Interrupt handler No
Signal handler Yes
Thread Yes

See also:

pathmgr_symlink(), symlink(), unlink()