[Previous] [Contents] [Next]

netmgr_strtond()

Convert a string to a node descriptor

Synopsis:

#include <sys/netmgr.h>

int netmgr_strtond( const char * nodename, 
                    char ** endstr );

Library:

libc

Description:

The netmgr_strtond() function converts a string to a node descriptor. If endstr isn't NULL, it's set to point to the character after the node name in the given string.

Returns:

The node descriptor, or -1 if an error occurred (errno is set).

Errors:

ENOTSUP
Qnet isn't running.

Classification:

QNX 6

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

See also:

netmgr_ndtostr()


[Previous] [Contents] [Next]