ipcsetnodename(2)
NAME
ipcsetnodename − set NetIPC node name of host CPU
SYNOPSIS
#include <sys/ns_ipc.h>
void ipcsetnodename(
const char *nodename,
ns_int_t namelen,
ns_int_t *result);
DESCRIPTION
ipcsetnodename() sets the Net IPC node name of the host processor to nodename, which has a length of namelen characters.
Super-user capability is required to use this call.
Parameters
nodename (input parameter) The ASCII-coded name that is to be assigned to this host.
namelen (output parameter) The length in bytes of the nodename parameter.
result (output parameter) See ERRORS below.
RETURN VALUE
None. Errors are returned in the result parameter.
AUTHOR
ipcsetnodname was developed by HP.
ERRORS
[NSR_NO_ERROR] The call was successful.
[NSR_NOT_ALLOWED] The caller does not have super-user capability.
[NSR_BOUNDS_VIO] The input parameter address is invalid.
[NSR_NLEN] The value of the namelen parameter is invalid.
[NSR_NODE_NAME_SYNTAX] The syntax of the nodename parameter is illegal.
AUTHOR
ipcsetnodename() was developed by HP.
SEE ALSO
ipcconnect(2), ipccontrol(2), ipccreate(2), ipcdest(2), ipcgetnodename(2), ipclookup(2), ipcname(2), ipcnamerase(2), ipcrecv(2), ipcrecvcn(2), ipcselect(2), ipcsend(2), ipcshutdown(2), addopt(3N), initopt(3N), ipcerrmsg(3N), optoverhead(3N), readopt(3N).
Hewlett-Packard Company — HP-UX Release 9.0: August 1992