Convert a string to a node descriptor
#include <sys/netmgr.h>
int netmgr_strtond( const char * nodename,
char ** endstr );
libc
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.
The node descriptor, or -1 if an error occurred (errno is set).
| Safety: | |
|---|---|
| Cancellation point | Yes |
| Interrupt handler | No |
| Signal handler | Yes |
| Thread | Yes |