catopen man page on MirBSD

Man page or keyword search:  
man Server   6113 pages
apropos Keyword Search (all sections)
Output format
MirBSD logo
[printable version]

CATGETS(3)		   BSD Programmer's Manual		    CATGETS(3)

NAME
     catopen, catgets, catclose - fake message catalog handling

SYNOPSIS
     #include <nl_types.h>

     nl_catd
     catopen(const char *name, int oflag);

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

     int
     catclose(nl_catd catd);

DESCRIPTION
     These functions are supposed to retrieve messages from message catalogues
     according to the current locale. In MirOS, the catgets() function simply
     returns the string argument s; the other functions do nothing.

RETURN VALUES
     Upon successful completion, catopen() returns a message catalog descrip-
     tor. Otherwise, -1 is returned and errno is set to indicate the error.

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

ERRORS
     [ENOMEM]	   Insufficient memory available.

STANDARDS
     The catopen(), catgets(), and catclose() functions conform to X/Open
     Portability Guide Issue 3 ("XPG3").

CAVEATS
     The return value of the function catgets() should be treated as constant
     value.

MirOS BSD #10-current		 May 30, 2006				     1
[top]

List of man pages available for MirBSD

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net