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

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

CATGETS(3)

Contents


NAME    [Toc]    [Back]

     catgets -- retrieve string from message catalog

LIBRARY    [Toc]    [Back]

     Standard C Library (libc, -lc)

SYNOPSIS    [Toc]    [Back]

     #include <nl_types.h>

     char *
     catgets(nl_catd catd, int set_id, int msg_id, const char *s);

DESCRIPTION    [Toc]    [Back]

     The catgets() function attempts to retrieve message msg_id of set set_id
     from the message catalog referenced by the descriptor catd.  The argument
     s points to a default message which is returned if the function is unable
     to retrieve the specified message.

RETURN VALUES    [Toc]    [Back]

     If the specified message was retrieved successfully, catgets() returns a
     pointer to an internal buffer containing the message string; otherwise it
     returns s.

SEE ALSO    [Toc]    [Back]

      
      
     gencat(1), catclose(3), catopen(3)

STANDARDS    [Toc]    [Back]

     The catgets() function conforms to X/Open Portability Guide Issue 4
     (``XPG4'').


FreeBSD 5.2.1			 May 29, 1994			 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
catgets Tru64 Retrieve a message from a catalog
gettxt Tru64 Retrieves a text string from a message catalog
gettxt IRIX retrieve a text string from a message database
tt_message_status_string HP-UX retrieve the character string stored with the status attribute for a message
dspmsg Tru64 Displays a selected message from a message catalog
catgetmsg IRIX Reads a message from a message catalog
catopen NetBSD open message catalog
catopen OpenBSD open message catalog
catclose OpenBSD close message catalog
catclose NetBSD close message catalog
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service