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

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

Contents


catgets(3C)							   catgets(3C)


NAME    [Toc]    [Back]

     catgets - read a program message

SYNOPSIS    [Toc]    [Back]

     #include <nl_types.h>

     char *catgets (nl_catd catd, int set_num, int msg_num,
	 const char *s);

DESCRIPTION    [Toc]    [Back]

     catgets attempts to read message msg_num, in set set_num, from the
     message catalogue identified by catd. catd	is a catalogue descriptor
     returned from an earlier call to catopen.	s points to a default message
     string which will be returned by catgets if the identified	message
     catalogue is not currently	available.

SEE ALSO    [Toc]    [Back]

      
      
     catopen(3C).

DIAGNOSTICS    [Toc]    [Back]

     If	the identified message is retrieved successfully, catgets returns a
     pointer to	an internal buffer area	containing the null-terminated message
     string.  If the call is unsuccessful because the message catalogue
     identified	by catd	is not currently available, a pointer to s is
     returned.


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
set_cdscp_preferred_clearinghouse HP-UX Specifies a preferred clearinghouse to use for satisfying read requests that result from CDS control program c
show_cdscp_preferred_clearinghouse HP-UX Displays the preferred clearinghouse for satisfying read requests that result from CDS control program command
mhmail Tru64 send or read mail (only available within the message handling system, mh)
syslog Linux read and/or clear kernel message ring buffer; set console_loglevel
tis_read_unlock Tru64 Unlocks a read-write lock that was acquired for read access
tis_read_lock Tru64 Acquires a read-write lock for read access
pthread_rwlock_rdlock Tru64 Acquires a read-write lock for read access
gss_wrap HP-UX attach a message integrity code (MIC) to a message, and optionally encrypt the message content
gss_unwrap HP-UX verify a message with attached message integrity code (MIC) and decrypt message content if necessary
AFreadmisc IRIX read from / write to / move logical read/write pointer for data in a miscellaneous chunk in an audio file
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service