Open64 (mfef90, whirl2f, and IR tools)  TAG: version-openad; SVN changeset: 916
catmsgfmt.c File Reference
#include <locale.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <time.h>
#include <nl_types.h>
#include <cray/nlcatmsg.h>
Include dependency graph for catmsgfmt.c:

Go to the source code of this file.

Defines

#define DISABLE_NL_TYPES_SYMBOL_RENAMING   1 /* for our <nl_types.h> */
#define MSG_FORMAT   "MSG_FORMAT"
#define D_MSG_FORMAT   "%G-%N %C: %S %P\n %M\n"
#define OCTAL   8
#define HEXADECIMAL   16
#define MAXTIME   51

Functions

char * catmsgfmt (const char *cmdname, const char *groupcode, int msg_num, const char *severity, const char *msgtext, char *buf, int buflen, char *pos, char *dbg)

Define Documentation

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

Definition at line 77 of file catmsgfmt.c.

Referenced by catmsgfmt().

#define DISABLE_NL_TYPES_SYMBOL_RENAMING   1 /* for our <nl_types.h> */

Definition at line 59 of file catmsgfmt.c.

#define HEXADECIMAL   16

Definition at line 81 of file catmsgfmt.c.

Referenced by catmsgfmt().

#define MAXTIME   51

Definition at line 82 of file catmsgfmt.c.

Referenced by catmsgfmt().

#define MSG_FORMAT   "MSG_FORMAT"

Definition at line 73 of file catmsgfmt.c.

Referenced by catmsgfmt().

#define OCTAL   8

Definition at line 80 of file catmsgfmt.c.

Referenced by _gocthex(), _nexdata(), and catmsgfmt().


Function Documentation

char* catmsgfmt ( const char *  cmdname,
const char *  groupcode,
int  msg_num,
const char *  severity,
const char *  msgtext,
char *  buf,
int  buflen,
char *  pos,
char *  dbg 
)

Definition at line 115 of file catmsgfmt.c.

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

Here is the call graph for this function:

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines