[Previous]
[Contents]
[Next]

qnx_prefix_detach()

detach a pathname prefix

Synopsis:

#include <sys/prfx.h>
int qnx_prefix_detach( char *prefix );

Description:

The qnx_prefix_detach() function detaches a pathname prefix passed as prefix.

Returns:

0
Success
-1
An error occurred. errno is set to indicate the error.

Errors:

ENOENT
The prefix doesn't exist.
EPERM
You don't own the prefix, or if it's an alias, you don't have sufficient privilege to detach it.

Examples:

See qnx_prefix_attach().

Classification:

QNX

Safety:
Interrupt handler No
Signal handler Yes, but modifies errno
Thread Yes

See also:

errno, qnx_prefix_attach(), qnx_prefix_query()


[Previous]
[Contents]
[Next]