LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 11-01-2008, 05:41 AM   #1
boykott
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, 06:48 AM   #2
pinniped
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.

[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.

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

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


Reply


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 06:48 AM
LXer: OpenOffice.org Calc functions, part 1: Understanding functions LXer Syndicated Linux News 0 03-31-2007 01:01 PM
error while accessing math functions in kernel modules dypgrp Programming 0 01-19-2005 10:12 AM
phpMyAdmin error: cannot browse tables, other functions work fine brandnewbie Linux - Software 4 01-08-2005 06:04 PM
error coding Input/Output in functions in C shams Programming 2 08-27-2004 07:49 AM


All times are GMT -5. The time now is 12:35 AM.

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