nlcatmsg.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define NL_CATMSG_SETMAX   1024
#define NL_CATMSG_MSGMAX   32767
#define NL_CATMSG_TEXTMAX   2048
#define NL_MAXPATHLEN   1024
#define NL_PATH   "NLSPATH"
#define NL_LANG   "LANG"
#define NL_DEF_LANG   "english"
#define NL_SETD   1
#define NL_MAX_OPENED   10
#define NL_CAT_LOCALE   1
#define DEF_NLSPATH   "/usr/share/locale/%L/LC_MESSAGES/%N:/usr/share/locale/%L/Xopen/LC_MESSAGES/%N:/usr/share/locale/%L/LC_MESSAGES/%N.cat:/usr/share/locale/C/LC_MESSAGES/%N:/usr/share/locale/C/LC_MESSAGES/%N.cat"
#define _C_LOCALE_DEF_NLSPATH
#define NL_EXPSET   NL_SETD
#define NL_MSGSET   NL_SETD
#define MSG_FORMAT   "MSG_FORMAT"
#define D_MSG_FORMAT   "%G-%N %C: %S %P\n %M\n"
#define NL_ERR_MAXOPEN   -2
#define NL_ERR_MAP   -3
#define NL_ERR_MALLOC   -4
#define NL_ERR_HEADER   -5
#define NL_ERR_ARGERR   -6
#define NL_ERR_BADSET   -7
#define NL_ERR_NOMSG   -8
#define NL_ERR_BADTYPE   -9

Functions

char * catgetmsg (nl_catd, int, int, char *, int)
char * catmsgfmt (const char *, const char *, int, const char *, const char *, char *, int, char *, char *)
int __catgetmsg_error_code (void)
char * _cat_name (char *, char *, int, int)
char * __cat_path_name (nl_catd)

Define Documentation

#define _C_LOCALE_DEF_NLSPATH
Value:
"/usr/share/locale/C/LC_MESSAGES/%N:" \
                                "/usr/share/locale/C/Xopen/LC_MESSAGES/%N:" \
                                "/usr/share/locale/%L/LC_MESSAGES/%N.cat"

Definition at line 96 of file nlcatmsg.h.

#define D_MSG_FORMAT   "%G-%N %C: %S %P\n %M\n"

Definition at line 112 of file nlcatmsg.h.

Referenced by catmsgfmt().

#define DEF_NLSPATH   "/usr/share/locale/%L/LC_MESSAGES/%N:/usr/share/locale/%L/Xopen/LC_MESSAGES/%N:/usr/share/locale/%L/LC_MESSAGES/%N.cat:/usr/share/locale/C/LC_MESSAGES/%N:/usr/share/locale/C/LC_MESSAGES/%N.cat"

Definition at line 89 of file nlcatmsg.h.

#define MSG_FORMAT   "MSG_FORMAT"

Definition at line 111 of file nlcatmsg.h.

Referenced by catmsgfmt().

#define NL_CAT_LOCALE   1

Definition at line 82 of file nlcatmsg.h.

Referenced by output_msg().

#define NL_CATMSG_MSGMAX   32767

Definition at line 56 of file nlcatmsg.h.

#define NL_CATMSG_SETMAX   1024

Definition at line 53 of file nlcatmsg.h.

#define NL_CATMSG_TEXTMAX   2048

Definition at line 59 of file nlcatmsg.h.

#define NL_DEF_LANG   "english"

Definition at line 72 of file nlcatmsg.h.

#define NL_ERR_ARGERR   -6

Definition at line 122 of file nlcatmsg.h.

#define NL_ERR_BADSET   -7

Definition at line 123 of file nlcatmsg.h.

#define NL_ERR_BADTYPE   -9

Definition at line 125 of file nlcatmsg.h.

#define NL_ERR_HEADER   -5

Definition at line 119 of file nlcatmsg.h.

#define NL_ERR_MALLOC   -4

Definition at line 118 of file nlcatmsg.h.

#define NL_ERR_MAP   -3

Definition at line 117 of file nlcatmsg.h.

#define NL_ERR_MAXOPEN   -2

Definition at line 115 of file nlcatmsg.h.

#define NL_ERR_NOMSG   -8

Definition at line 124 of file nlcatmsg.h.

#define NL_EXPSET   NL_SETD

Definition at line 103 of file nlcatmsg.h.

#define NL_LANG   "LANG"

Definition at line 69 of file nlcatmsg.h.

#define NL_MAX_OPENED   10

Definition at line 78 of file nlcatmsg.h.

#define NL_MAXPATHLEN   1024

Definition at line 63 of file nlcatmsg.h.

#define NL_MSGSET   NL_SETD

Definition at line 106 of file nlcatmsg.h.

Referenced by _lmessage().

#define NL_PATH   "NLSPATH"

Definition at line 66 of file nlcatmsg.h.

#define NL_SETD   1

Definition at line 75 of file nlcatmsg.h.

Referenced by output_msg(), and print_buffered_messages().


Function Documentation

char* __cat_path_name ( nl_catd   ) 
int __catgetmsg_error_code ( void   ) 

Referenced by output_msg().

char* _cat_name ( char *  ,
char *  ,
int  ,
int   
)
char* catgetmsg ( nl_catd  ,
int  ,
int  ,
char *  ,
int   
)

Definition at line 80 of file catgetmsg.c.

References catgets, len, and NULL.

char* catmsgfmt ( const char *  ,
const char *  ,
int  ,
const char *  ,
const char *  ,
char *  ,
int  ,
char *  ,
char *   
)

Definition at line 115 of file catmsgfmt.c.

References c, D_MSG_FORMAT, getenv(), HEXADECIMAL, MAXTIME, MSG_FORMAT, NULL, and OCTAL.

Here is the call graph for this function:


Generated on Tue Nov 17 06:05:09 2009 for Open64 (mfef90, whirl2f, and IR tools) by  doxygen 1.6.1