Copyright © tutorialspoint.com
Synopsis:
Description:The perror() function shall map the error number accessed through the symbol errno to a language-dependent error message, which shall be written to the standard error stream as follows:
Simply perror will retun a message corresponding to errno. The errno is a special system variable that is set if a system call cannot perform its set task. Return ValueThe perror() function shall not return a value. Example
If file unexist.ent does not exit then it will produce following result:
|
Copyright © tutorialspoint.com