👤
Home Man
Search
Today's Posts
Register

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:
Select Section of Man Page:
Select Man Page Repository:

NetBSD 6.1.5 - man page for krb5_getportbyname (netbsd section 3)

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/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)

BSD					 August 15, 2004				      BSD


All times are GMT -4. The time now is 09:07 PM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
×
UNIX.COM Login
Username:
Password:  
Show Password





Not a Forum Member?
Forgot Password?