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


getprotoent

getprotoent (

protocol

)

Front-end for getprotobynumber and getprotobyname . If protocol is numeric, calls getprotobynumber , otherwise calls getprotobyname .