freebsd man page for krb5_getportbyname

Query: krb5_getportbyname

OS: freebsd

Section: 3

Links: freebsd man pages   all man pages

Forums: unix linux community   forum categories

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

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
Related Man Pages
krb5_rc_close(3) - debian
krb5_rc_default(3) - debian
krb5_rc_default_name(3) - debian
krb5_rc_get_name(3) - debian
krb5_rc_recover(3) - debian
Similar Topics in the Unix Linux Community
Unix File Permissions
FreeBSD Kernel Internals, Dr. Marshall Kirk McKusick
Scripts without shebang
Memory Leaks
Controlling user input