std::perror
From Cppreference
Defined in header <cstdio>
|
||
void perror( const char *s );
|
||
Prints the contents of the string pointed to by s and an implementation-defined error message corresponding to the global variable errno to stderr
Contents |
[edit] Parameters
s | - | pointer to a null-terminated string with explanatory message |
[edit] Return value
(none)
[edit] Example
This section is incomplete |
[edit] See also
checks for the end-of-file (function) |
|
checks for a file error (function) |