home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


setservent

setservent 
stayopen

Opens the services file (usually /etc/services ) and resets the "current" selection to the top of the file. stayopen , if non-zero, keeps the file open across calls to other functions. Not implemented on Win32 systems.