strerror

Format an error string.

char * strerror (int errnum);

Required Header
<string.h>

Return Value

This function returns a pointer an internal static character buffer.

Parameters

errnum

  The errno number to print

Remarks

The strerror function converts errnum into a text string which it copies into a thread-safe internal static buffer which is returned to the caller.

String

See Also    clearerr, ferror, perror