catopen man page on OpenBSD

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

CATOPEN(3)		  OpenBSD Programmer's Manual		    CATOPEN(3)

NAME
     catopen - open message catalog

SYNOPSIS
     #include <nl_types.h>

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

DESCRIPTION
     The catopen() function opens the message catalog specified by name and
     returns a message catalog descriptor.  If name contains a `/', then name
     specifies the full pathname for the message catalog, otherwise the value
     of the environment variable NLSPATH is used with name substituted for
     `%N'.

     The oflag argument is reserved for future use and should be set to zero.

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

ERRORS
     [ENOMEM]	   Insufficient memory available.

SEE ALSO
     catclose(3), catgets(3)

STANDARDS
     The catopen() function conforms to X/Open Portability Guide Issue 3
     (``XPG3'').

OpenBSD 4.9			 May 31, 2007			   OpenBSD 4.9
[top]

List of man pages available for OpenBSD

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