ipcgetnodename(2)
Requires Optional LAN/X.25 Software
NAME
ipcgetnodename − obtain NetIPC node name of current host
SYNOPSIS
#include <sys/ns_ipc.h>
void ipcgetnodename(
char ∗nodename,
ns_int_t ∗size,
ns_int_t ∗result);
DESCRIPTION
ipcgetnodename returns the NetIPC node name for the current processor as set by setnodename(2) in the array to which nodename points.
Parameters
nodename (input parameter) A pointer to a character array in which the ASCII-coded NetIPC node name is to be returned.
size (input/output parameter) The length in bytes of the nodename array on input and the length of the returned NetIPC node name on output.
result (output parameter) See "Diagnostics" below.
RETURN VALUE
None. Errors are returned in the result parameter.
DIAGNOSTICS
[NSR_NO_ERROR] The call was successful.
[NSR_NLEN] The value of the size parameter is not large enough for the NetIPC node name.
[NSR_BOUNDS_VIO] Output parameter address is invalid.
AUTHOR
ipcgetnodename was developed by HP.
SEE ALSO
ipcconnect(2), ipccontrol(2), ipccreate(2), ipcdest(2), ipclookup(2), ipcname(2), ipcnamerase(2), ipcrecv(2), ipcrecvcn(2), ipcselect(2), ipcsend(2), ipcsetnodename(2), ipcshutdown(2), addopt(3N), initopt(3N), ipcerrmsg(3N), optoverhead(3N), readopt(3N).
Hewlett-Packard Company — HP-UX Release 8.05: June 1991