Edit File by line
/home/barbar84/www/wp-conte.../plugins/sujqvwi/ExeBy/exe_root.../usr/include
File: com_err.h
/*
[0] Fix | Delete
* Header file for common error description library.
[1] Fix | Delete
*
[2] Fix | Delete
* Copyright 1988, Student Information Processing Board of the
[3] Fix | Delete
* Massachusetts Institute of Technology.
[4] Fix | Delete
*
[5] Fix | Delete
* For copyright and distribution info, see the documentation supplied
[6] Fix | Delete
* with this package.
[7] Fix | Delete
*/
[8] Fix | Delete
[9] Fix | Delete
#if !defined(__COM_ERR_H) && !defined(__COM_ERR_H__)
[10] Fix | Delete
[11] Fix | Delete
#ifdef __GNUC__
[12] Fix | Delete
#define COM_ERR_ATTR(x) __attribute__(x)
[13] Fix | Delete
#else
[14] Fix | Delete
#define COM_ERR_ATTR(x)
[15] Fix | Delete
#endif
[16] Fix | Delete
[17] Fix | Delete
#include <stddef.h>
[18] Fix | Delete
#include <stdarg.h>
[19] Fix | Delete
[20] Fix | Delete
typedef long errcode_t;
[21] Fix | Delete
[22] Fix | Delete
struct error_table {
[23] Fix | Delete
char const * const * msgs;
[24] Fix | Delete
long base;
[25] Fix | Delete
int n_msgs;
[26] Fix | Delete
};
[27] Fix | Delete
struct et_list;
[28] Fix | Delete
[29] Fix | Delete
extern void com_err (const char *, long, const char *, ...)
[30] Fix | Delete
COM_ERR_ATTR((format(printf, 3, 4)));
[31] Fix | Delete
[32] Fix | Delete
extern void com_err_va (const char *whoami, errcode_t code, const char *fmt,
[33] Fix | Delete
va_list args)
[34] Fix | Delete
COM_ERR_ATTR((format(printf, 3, 0)));
[35] Fix | Delete
[36] Fix | Delete
extern char const *error_message (long);
[37] Fix | Delete
extern void (*com_err_hook) (const char *, long, const char *, va_list);
[38] Fix | Delete
extern void (*set_com_err_hook (void (*) (const char *, long,
[39] Fix | Delete
const char *, va_list)))
[40] Fix | Delete
(const char *, long, const char *, va_list);
[41] Fix | Delete
extern void (*reset_com_err_hook (void)) (const char *, long,
[42] Fix | Delete
const char *, va_list);
[43] Fix | Delete
extern int init_error_table(const char * const *msgs, long base, int count);
[44] Fix | Delete
extern char *(*set_com_err_gettext (char *(*) (const char *)))
[45] Fix | Delete
(const char *);
[46] Fix | Delete
[47] Fix | Delete
extern errcode_t add_error_table(const struct error_table * et);
[48] Fix | Delete
extern errcode_t remove_error_table(const struct error_table * et);
[49] Fix | Delete
extern void add_to_error_table(struct et_list *new_table);
[50] Fix | Delete
[51] Fix | Delete
/* Provided for Heimdall compatibility */
[52] Fix | Delete
extern const char *com_right(struct et_list *list, long code);
[53] Fix | Delete
extern const char *com_right_r(struct et_list *list, long code, char *str, size_t len);
[54] Fix | Delete
extern void initialize_error_table_r(struct et_list **list,
[55] Fix | Delete
const char **messages,
[56] Fix | Delete
int num_errors,
[57] Fix | Delete
long base);
[58] Fix | Delete
extern void free_error_table(struct et_list *et);
[59] Fix | Delete
[60] Fix | Delete
/* Provided for compatibility with other com_err libraries */
[61] Fix | Delete
extern int et_list_lock(void);
[62] Fix | Delete
extern int et_list_unlock(void);
[63] Fix | Delete
[64] Fix | Delete
#define __COM_ERR_H
[65] Fix | Delete
#define __COM_ERR_H__
[66] Fix | Delete
#endif /* !defined(__COM_ERR_H) && !defined(__COM_ERR_H__)*/
[67] Fix | Delete
[68] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function