Преобразовать строку в дескриптор узла
#include <sys/netmgr.h>int netmgr_strtond( const char *nodename,char **endstr );
NULL
, or the address of a location where the function can store a pointer to the character after the node name in the string.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.
Дескриптор узла. Если возникла ошибка функция возвращает -1
, код ошибки записывается в errno.
См. netmgr_ndtostr().
ЗОСРВ «Нейтрино»
ND_NODE_CMP(), netmgr_ndtostr(), netmgr_remote_nd()
Предыдущий раздел: Описание API системной библиотеки