C++ Programming/Code/Standard C Library/Functions/strerror
Appearance
strerror
[edit | edit source]Syntax |
#include <cstring>
char *strerror( int num );
|
The function strerror() returns an implementation defined string corresponding to num. If an error occurred, the error is located within the global variable errno.
- Related topics
- perror