Strerror and perror functions provide you with the standard error

Asked By 40 points N/A Posted on -
qa-featured

Hi experts.

The library is built with functions and variables to make your program easy and helps you to report informative error messages in the customary format about the failure of a library call. The strerror and perror functions provide you with the standard error message for a given error code; the variable program_invocation_short_name gives you suitable access to the name of the program that create the error.

Can anyone help me with proper solution?

Thanks.

SHARE
Answered By 55 points N/A #83071

Strerror and perror functions provide you with the standard error

qa-featured

To what extent do you need to have the proper solution? The things that are being told by these library functions are more than enough for you to tackle any problem that occurs inside the system or the software that you are using or building.

Try to get the description of the error and Google it, since you didn't mention any error so you have to do it on your own.

For each library function that you have specified, they must be giving some sort of information relating to the error. Google it and see if there is any solution to that particular problem.

Next time it would be great if you can attach a picture of the actual problem.

Related Questions