LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Error functions ... (https://www.linuxquestions.org/questions/linux-newbie-8/error-functions-680431/)

boykott 11-01-2008 04:41 AM

Error functions ...
 
While reading through richard stevens (advanced programming in linux environment) I came across many error functions like err_quit,err_ret,err_sys but no explanations have been given on these functions their usages or syntaxes.Can someone put some light into this....

pinniped 11-01-2008 05:48 AM

You'll have to look at the book for an explanation or to see where those functions are defined; I can't find any reference to it in my manuals, source code (libc, kernel, gcc), or header files, so I suspect they're not even POSIX calls (although I can't really say; I don't have a copy of the POSIX spec). At any rate, I can tell you those functions do *not* exist in Linux source code, GNU libc, GNU libstdc++, or any of hundreds of libraries I have installed on my system.

[edit]

OK, this post has confirmed that those functions are in a library created by the author and are indeed not in a normal *NIX system:

http://www.webservertalk.com/archive...-9-407268.html

SO - read the book, read the source code for the author's library, or complain to the author.

boykott 11-02-2008 10:13 AM

Thanx
You were right ....The Author has defined these functions for his own convenience .And explanations of each is given in Appendix.


All times are GMT -5. The time now is 09:13 AM.