Copyright © tutorialspoint.com
Synopsis:
Description:The strerror() function returns a string describing the error code passed in the argument errnum. Here passed value will be errno Return ValueThe strerror() function returns the appropriate error description string, or an unknown error message if the error code is unknown. The value of errno is not changed for a successful call, and is set to a nonzero value upon error. Example
If file unexist.ent does not exit then it will produce following result:
|
Copyright © tutorialspoint.com