QNX Developer Support
|This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.|
Convert a string into a node descriptor
#include <sys/netmgr.h> int netmgr_strtond( const char * nodename, char ** endstr );
- The string that you want to convert into a node descriptor.
- NULL, or the address of a location where the function can store a pointer to the character after the node name in the string.
Use the -l c option to qcc to link against this library. This library is usually included automatically.
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).
- Qnet isn't running.
Qnet Networking chapter of the Programmer's Guide
Qnet Networking chapter of the System Architecture guide