krb5_getportbyname man page on PC-BSD

Man page or keyword search:  
man Server   9747 pages
apropos Keyword Search (all sections)
Output format
PC-BSD logo
[printable version]

NAME(3)			 BSD Library Functions Manual		       NAME(3)

NAME
     krb5_getportbyname — get port number by name

LIBRARY
     Kerberos 5 Library (libkrb5, -lkrb5)

SYNOPSIS
     #include <krb5.h>

     int
     krb5_getportbyname(krb5_context context, const char *service,
	 const char *proto, int default_port);

DESCRIPTION
     krb5_getportbyname() gets the port number for service / proto pair from
     the global service table for and returns it in network order.  If it
     isn't found in the global table, the default_port (given in host order)
     is returned.

EXAMPLE
     int port = krb5_getportbyname(context, "kerberos", "tcp", 88);

SEE ALSO
     krb5(3)

HEIMDAL				August 15, 2004			       HEIMDAL
[top]

List of man pages available for PC-BSD

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net