Perl Programming/Keywords/getservbyname

Previous: getpwuid Keywords Next: getservbyport

The getservbyname keyword

edit

The getservbyname function gets the service record given its NAME and PROTOCOL.

Syntax

edit
  getservbyname NAME, PROTOCOL
Previous: getpwuid Keywords Next: getservbyport