Top |
void | errmsg () |
void | warnmsg () |
const char * | errmsg_get_with_default () |
const char * | gretl_errmsg_get () |
const char * | gretl_warnmsg_get () |
char * | maybe_save_gretl_errmsg () |
void | gretl_errmsg_set () |
void | gretl_errmsg_append () |
void | gretl_errmsg_ensure () |
void | gretl_warnmsg_set () |
void | gretl_errmsg_sprintf () |
void | gretl_errmsg_sprintf_replace () |
void | gretl_warnmsg_sprintf () |
char * | gretl_strerror () |
void | gretl_errmsg_set_from_errno () |
int | gretl_error_clear () |
void | set_gretl_alarm () |
void | set_gretl_errno () |
void | set_gretl_warning () |
int | get_gretl_errno () |
int | check_gretl_errno () |
int | check_gretl_warning () |
int | gretl_error_is_fatal () |
int | gretl_errmsg_is_set () |
int | invalid_field_error () |
void errmsg (int err
,PRN *prn
);
Prints to prn
a specific error message if available,
otherwise a generic error message corresponding to the
given err
.
void
warnmsg (PRN *prn
);
If a gretl warning is set, prints a message to prn
and zeros the warning signal.
void
gretl_errmsg_set (const char *str
);
If gretl_errmsg
is currently blank, copy the given string into
the message space; or if the error message is not blank but
sufficient space remains, append str
to the message.
void gretl_errmsg_append (const char *str
,int err
);
Add str
to the current gretl error message, starting a
new line, if space permits.
void
gretl_errmsg_ensure (const char *str
);
If gretl_errmsg
is currently blank, copy the given string into
the message space.
void
gretl_warnmsg_set (const char *str
);
Copy the given string into the warning message space.
void gretl_errmsg_sprintf (const char *fmt
,...
);
Append a formatted message to the current gretl error message.
void gretl_warnmsg_sprintf (const char *fmt
,...
);
Write a formatted message to the current gretl warning message space.
void gretl_errmsg_set_from_errno (const char *s
,int errnum
);
If gretl_errmsg
is currently blank, copy the string
returned by strerror
into the message space; or if the
error message is not blank but sufficient space remains,
append the new error info to the message.