start page | rating of books | rating of authors | reviews | copyrights

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: getpriority Chapter 5
Function Reference
Next: Reference: getprotobynumber
 

getprotobyname

getprotobyname 
name

Translates a protocol name to its corresponding number. The return value in list context is:

($name, $aliases, $protocol_number)
In scalar context, getprotobyname returns only the protocol number.


Previous: Reference: getpriority Perl in a Nutshell Next: Reference: getprotobynumber
Reference: getpriority Book Index Reference: getprotobynumber

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.