Man Page: krb5_getportbyname
Operating Environment: netbsd
Section: 3
NAME(3) BSD Library Functions Manual NAME(3)NAMEkrb5_getportbyname -- get port number by nameLIBRARYKerberos 5 Library (libkrb5, -lkrb5)SYNOPSIS#include <krb5/krb5.h> int krb5_getportbyname(krb5_context context, const char *service, const char *proto, int default_port);DESCRIPTIONkrb5_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.EXAMPLEint port = krb5_getportbyname(context, "kerberos", "tcp", 88);SEE ALSOkrb5(3)BSDAugust 15, 2004 BSD
| Related Man Pages |
|---|
| krb5_rc_close(3) - netbsd |
| krb5_rc_get_name(3) - netbsd |
| krb5_rc_initialize(3) - netbsd |
| krb5_rc_resolve_full(3) - netbsd |
| krb5_rc_store(3) - netbsd |
| Similar Topics in the Unix Linux Community |
|---|
| sorting left-justified numeric values |
| Better to Use Return Code or wc -l Output? |
| RFC - Korn shell prompt |
| Make bold chars in UNIX |
| Adding a List of Times |