Chapter Contents

Previous

Next
endservent

endservent



Closes the Services File

Portability: UNIX compatible


SYNOPSIS
DESCRIPTION
PORTABILITY
IMPLEMENTATION
RELATED FUNCTIONS


SYNOPSIS

#include <netdb.h>

void endservent(void);


DESCRIPTION

endservent closes the services file, that is, a file with the same format as /etc/services in the UNIX environment. Refer to Network Administration for information on naming this file for your system.


PORTABILITY

endservent is portable to other environments, including most UNIX systems, that implement BSD sockets.


IMPLEMENTATION

This routine is ported directly from the BSD UNIX Socket Library.


RELATED FUNCTIONS

getservent , setservent , getservbyname , getservbyport


Chapter Contents

Previous

Next

Top of Page

Copyright © 2001 by SAS Institute Inc., Cary, NC, USA. All rights reserved.