Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

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)

ipcgetnodename(2)

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 Net IPC node name for the current processor as set by setnodename() in the array to which nodename points (see setnodename(2)).

Parameters

nodename (input parameter) A pointer to a character array in which the ASCII-coded Net IPC 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 Net IPC node name on output. 

result (output parameter) See ERRORS below. 

RETURN VALUE

None.  Errors are returned in the result parameter. 

ERRORS

[NSR_NO_ERROR] The call was successful. 

[NSR_NLEN] The value of the size parameter is not large enough for the Net IPC 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 9.0: August 1992

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026