Initializing help system before first use

setioerrmsg

setioerrmsg


Purpose
Set an error message for an IO driver operation.
Synopsis
void setioerrmsg(XPRMcontext ctx, const char *msg, int ecode);
Arguments
ctx 
Mosel's execution context
msg 
Error message
ecode 
Error code
Further information
This function may be used from functions implementing an IO driver (namely operations open, close, read, write and skip) in order to set a descriptive message before returning an error status (see Section Defining IO drivers).