Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-01-2008, 04:41 AM   #1
LQ Newbie
Registered: Jan 2008
Posts: 2

Rep: Reputation: 0
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....
Old 11-01-2008, 05:48 AM   #2
Senior Member
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
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.


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:

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

Last edited by pinniped; 11-01-2008 at 05:51 AM.
Old 11-02-2008, 10:13 AM   #3
LQ Newbie
Registered: Jan 2008
Posts: 2

Original Poster
Rep: Reputation: 0
You were right ....The Author has defined these functions for his own convenience .And explanations of each is given in Appendix.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
X error trying to create window using GLX 1.3 functions PaladinOfKaos Programming 1 07-13-2008 05:48 AM
LXer: Calc functions, part 1: Understanding functions LXer Syndicated Linux News 0 03-31-2007 12:01 PM
error while accessing math functions in kernel modules dypgrp Programming 0 01-19-2005 09:12 AM
phpMyAdmin error: cannot browse tables, other functions work fine brandnewbie Linux - Software 4 01-08-2005 05:04 PM
error coding Input/Output in functions in C shams Programming 2 08-27-2004 06:49 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:10 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration