int MGOseterr (char *format, ...)
The MGOseterr() function sets the values of the global variables:
MGOerrno is set to the indicated error code, and MGOerrmsg is set to the indicated error text, after its been interpreted and processed by vsprintf().
Returns -1 in all cases.