Приглашаем посетить
Программирование (prog.find-info.ru)

[Chapter 3] 3.2.60 getprotoent

PreviousChapter 3
Functions
Next
 

3.2.60 getprotoent

getprotoent
setprotoent STAYOPEN
endprotoent

These functions do the same thing as their like-named system library routines - see getprotent(3). The return value from getprotoent is:

($name, $aliases, $protocol_number)

In scalar context, getprotoent returns only the protocol name.


PreviousHomeNext
3.2.59 getprotobynumberBook Index3.2.61 getpwent