Get a system error message.
LPSTR strerror( int iErrNum )
Returns a pointer to the first character of an error message associated with iErrNum.
EX1
void strerror_ex1() { char * pErr; string strPrevious; int ii = 0; for(;1;) { strPrevious = pErr; pErr = strerror(ii++); if( strcmp(pErr,strPrevious)==0 ) break; out_str(pErr); } }
origin.h