Re: Comprehensive list of error codes?

2003-09-30 Thread Kent Stewart
On Tuesday 30 September 2003 12:45 am, Dr.Smoke wrote:
 Is there a comprehensive list of error codes for FreeBSD?  I can find
 nothing related to this in the Handbook or other online
 documentation.


If you are looking for the signal codes, they are in
/usr/include/sys/signal.h

I don't know of any other error codes.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Comprehensive list of error codes?

2003-09-30 Thread Kris Kennaway
On Tue, Sep 30, 2003 at 02:45:10AM -0500, Dr. Smoke wrote:
 Is there a comprehensive list of error codes for FreeBSD?

What do you mean by error codes?

Kris


pgp0.pgp
Description: PGP signature


Re: Comprehensive list of error codes?

2003-09-30 Thread Francesco Casadei
On Tue, Sep 30, 2003 at 02:45:10AM -0500, Dr. Smoke wrote:
 Is there a comprehensive list of error codes for FreeBSD?  I can find 
 nothing related to this in the Handbook or other online documentation.
 
 Thanks!
 
 Be Seeing You...
 
 Dr. Smoke
 http://www.thexlab.com
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 end of the original message

Not sure this is what you want, but take a look at sysexits(3) manpage.

Francesco Casadei

-- 
You can download my public key from http://digilander.libero.it/fcasadei/
or retrieve it from a keyserver (pgpkeys.mit.edu, wwwkeys.pgp.net, ...)

Key fingerprint is: 1671 9A23 ACB4 520A E7EE  00B0 7EC3 375F 164E B17B



pgp0.pgp
Description: PGP signature


Re: Comprehensive list of error codes?

2003-09-30 Thread Jerry McAllister
 
 On Tuesday 30 September 2003 12:45 am, Dr.Smoke wrote:
  Is there a comprehensive list of error codes for FreeBSD?  I can find
  nothing related to this in the Handbook or other online
  documentation.
 
 
 If you are looking for the signal codes, they are in
 /usr/include/sys/signal.h
 
 I don't know of any other error codes.

Probably a comprehensive list does not exist.
The original poster may be fondly remembering a time with some
big systems with proprietary OSen that published large directories
of all error messages and codes, not only from the kernel, but from
most of the vendor supplied utilities.   It was very useful if you
were doing development.   It would be useful in the FreeBSD world too, 
but I can't imagine the monumental task of assembling and maintaining 
such a list from all the OS and standard utilities, let alone including 
the ports.   Of course, if you are ambitious and have some time
on your hands...

jerry

 
 Kent
 
 -- 
 Kent Stewart
 Richland, WA
 
 http://users.owt.com/kstewart/index.html
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Comprehensive list of error codes?

2003-09-30 Thread Marc Ramirez
On Tue, Sep 30, 2003 at 02:29:33PM +0200, Francesco Casadei wrote:
 On Tue, Sep 30, 2003 at 02:45:10AM -0500, Dr. Smoke wrote:
  Is there a comprehensive list of error codes for FreeBSD?  I can find 
  nothing related to this in the Handbook or other online documentation.
  
  Thanks!
  
  Be Seeing You...
  
  Dr. Smoke
  http://www.thexlab.com
  
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to [EMAIL PROTECTED]
  end of the original message
 
 Not sure this is what you want, but take a look at sysexits(3) manpage.

You might also want to look at errno(2) for a lot of the more common
errors.  This includes most errors that are not utility-specific.

Marc.

-- 
Marc Ramirez
Blue Circle Software Corporation
513-688-1070 (main)
513-382-1270 (direct)
http://www.bluecirclesoft.com
http://www.mrami.com (personal)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Comprehensive list of error codes?

2003-09-30 Thread Greg 'groggy' Lehey
On Tuesday, 30 September 2003 at  2:45:10 -0500, Dr. Smoke wrote:
 Is there a comprehensive list of error codes for FreeBSD?  I can find
 nothing related to this in the Handbook or other online
 documentation.

Error codes are (barely) documented in /usr/include/sys/errno.h.
intro(2) describes a lot of them, and how they relate to the global
variable errno.  Also look at wait(2) for how they relate to exit
status.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.
NOTE: Due to the currently active Microsoft-based worms, I am limiting
all incoming mail to 131,072 bytes.  This is enough for normal mail,
but not for large attachments.  Please send these as URLs.


pgp0.pgp
Description: PGP signature