Sun Java System Web Server 7.0 Update 3 NSAPI Developer's Guide

system_errmsg() Function

The system_errmsg function returns the last error that occurred from the most recent system call. This function is implemented as a macro that returns an entry from the global array sys_errlist. Use this macro to help with I/O error diagnostics.


char *system_errmsg(int param1);

Return Values

A string containing the text of the latest error message that resulted from a system call. Do not FREE this string.


int param1 is reserved, and should always have the value 0.

See Also

system_fopenRO() Function, system_fopenRW() Function, system_fopenWA() Function, system_lseek() Function, system_fread() Function, system_fwrite() Function, system_fwrite_atomic() Function, system_flock() Function, system_ulock() Function, system_fclose() Function