Open64 (mfef90, whirl2f, and IR tools)
TAG: version-openad; SVN changeset: 916
|
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 /* set number for explanations */ |
#define | NL_MSGSET NL_SETD /* set number for messages */ |
#define | MSG_FORMAT "MSG_FORMAT" |
#define | D_MSG_FORMAT "%G-%N %C: %S %P\n %M\n" |
#define | NL_ERR_MAXOPEN |
#define | NL_ERR_MAP -3 /* The mmap(2) system call failed */ |
#define | NL_ERR_MALLOC -4 /* malloc(3C) failed */ |
#define | NL_ERR_HEADER -5 /* Message catalog header error */ |
#define | NL_ERR_ARGERR -6 /* Bad catd argument */ |
#define | NL_ERR_BADSET -7 /* The set does not exist in the catalog. */ |
#define | NL_ERR_NOMSG -8 /* The message was not found. */ |
#define | NL_ERR_BADTYPE -9 /* The catalog type is unknown */ |
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 _C_LOCALE_DEF_NLSPATH |
"/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.
#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.
#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 /* Bad catd argument */ |
Definition at line 121 of file nlcatmsg.h.
#define NL_ERR_BADSET -7 /* The set does not exist in the catalog. */ |
Definition at line 122 of file nlcatmsg.h.
#define NL_ERR_BADTYPE -9 /* The catalog type is unknown */ |
Definition at line 124 of file nlcatmsg.h.
#define NL_ERR_HEADER -5 /* Message catalog header error */ |
Definition at line 118 of file nlcatmsg.h.
#define NL_ERR_MALLOC -4 /* malloc(3C) failed */ |
Definition at line 117 of file nlcatmsg.h.
#define NL_ERR_MAP -3 /* The mmap(2) system call failed */ |
Definition at line 116 of file nlcatmsg.h.
#define NL_ERR_MAXOPEN |
-2 /* Too many catalog files are open. See NL_MAX_OPENED */
Definition at line 115 of file nlcatmsg.h.
#define NL_ERR_NOMSG -8 /* The message was not found. */ |
Definition at line 123 of file nlcatmsg.h.
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.
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().
char* __cat_path_name | ( | nl_catd | ) |
int __catgetmsg_error_code | ( | void | ) |
Definition at line 117 of file catgetmsg.c.
Referenced by output_msg().
char* _cat_name | ( | char * | , |
char * | , | ||
int | , | ||
int | |||
) |
char* catgetmsg | ( | nl_catd | , |
int | , | ||
int | , | ||
char * | , | ||
int | |||
) |
char* catmsgfmt | ( | const char * | , |
const char * | , | ||
int | , | ||
const char * | , | ||
const char * | , | ||
char * | , | ||
int | , | ||
char * | , | ||
char * | |||
) |
Definition at line 115 of file catmsgfmt.c.
References buf, c, D_MSG_FORMAT, getenv(), HEXADECIMAL, MAXTIME, MSG_FORMAT, NULL, and OCTAL.