IPX/SPX Programming Manual

Library Routines
HP NonStop IPX/SPX Programming Manual528022-001
5-74
sap_info, sap_info_nw
fd
is an integer value for the file descriptor for the SAP table in the IPXPROTO
process. This is the return value.
*pError
is the file system error returned if the function call fails with the value -1. Errors are
listed in the Guardian Procedure Calls Reference Manual.
serverType
is an integer defining types of printers, file servers, and other devices returned by
the SAP table. Legal HP values (in hexadecimal) are:
FFFF
All servers
05C7
Telserv server
TAL Synopsis
?SOURCE sapapid
?SOURCE zipxtal
?SOURCE zspic
INT PROC sap_info_nw
( fd, pError, serverType, pBuffer, bufferLen,
moreFlag, tag), LANGUAGE C;
INT fd;
INT(32) .EXT pError;
INT serverType;
STRING .EXT pBuffer;
INT bufferLen;
INT moreFlag;
INT(32) tag;
EXTERNAL;
?SECTION sap_info
INT PROC sap_info
( fd, pError, serverType, pBuffer, bufferLen,
moreFlag), LANGUAGE C;
INT fd;
INT(32) .EXT pError;
INT serverType;
STRING .EXT pBuffer;
INT bufferLen;
INT moreFlag;
EXTERNAL;