*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> p_class (3c)              
Title
Content
Arch
Section
 

Contents


P_CLASS(3C)							   P_CLASS(3C)


NAME    [Toc]    [Back]

     p_class, p_time, p_type, p_rr, p_query, p_cdname -	utilities for dns
     queries

SYNOPSIS    [Toc]    [Back]

     #include <resolv.h>

     char *p_class(int class);

     char *p_time(u_int32_t value);

     char *p_type(int type);

     u_char *p_rr(u_char *cp, u_char *msg, FILE	*file);

     void p_query(u_char *msg);

     u_char *p_cdname(u_char *cp, u_char *msg, FILE *file);

DESCRIPTION    [Toc]    [Back]

     Routines for interpreting and recording query and reply messages with
     Internet domain name servers.

     p_class returns an	alphanumeric mnemonic for a given class	value.
     Similarly,	p_type returns a mnemonic for the given	type value.  p_time
     returns a human-readable string for a given ttl (time-to-live.)

     p_rr prints a resource record in human-readable form.  The	resource
     record, cp	, is contained in the message msg. p_cdname is a wrapper for
     dn_expand(3). It will uncompress and print	a compressed domain name, cp
     contained in message msg.

SEE ALSO    [Toc]    [Back]

      
      
     res_query(3), dn_exapand(3), resolver(4).


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
ripquery Tru64 Queries RIP gateways
cpu_get_rad Tru64 Queries the RAD associated with a CPU (libnuma library)
strconf Tru64 Alters and queries stream configuration
tput Tru64 Queries the terminal information database
strchg Tru64 Alters and queries stream configuration
nslookup Tru64 Queries Internet name servers interactively
setlocale Tru64 Change or queries the program's current locale
bootptest FreeBSD send BOOTP queries and print responses
random_seed IRIX Restarts or queries the pseudorandom number generator
findsmb.1 IRIX list info about machines that respond to SMB name queries on a subnet
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service