IPX/SPX Programming Manual

Library Routines
HP NonStop IPX/SPX Programming Manual528022-001
5-72
sap_close
sap_close
The sap_close function closes the file descriptor associated with an IPXPROTO
process.
fd
is the file descriptor of the IPXPROTO process being closed.
*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.
Usage Guidelines
All service advertising initiated during this session stops when the file descriptor is
closed.
C Synopsis
#include <sapapih>
short sap_close ( short fd, unsigned long *pError );
TAL Synopsis
?SOURCE sapapid
PROC sap_close ( fd, pName ), LANGUAGE C;
INT fd;
STRING .EXT pName;
EXTERNAL;