Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Jul 1997 16:06:28 +0200 (MET DST)
From:      Wolfgang Helbig <helbig@MX.BA-Stuttgart.De>
To:        stanb@netcom.com (Stan Brown)
Cc:        freebsd-questions@freebsd.com
Subject:   Re: Where do I look to find system error defs?
Message-ID:  <199707051406.QAA20037@helbig.informatik.ba-stuttgart.de>
In-Reply-To: <199707051316.GAA08831@freefall.freebsd.org> from Stan Brown at "Jul 5, 97 09:16:22 am"

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
> 	What include file contains system errror number defs? I am trying to
> 	find out whatt an error 22 is for a select() call.

In the manual page for errno (man errno) you find that 22 is EINVAL, i. e.
invalid argument. Then ``man 2 select'' will tell you what this means in
the select(2) call.
You'll get a better error reporting from perror(3).

Wolfgang



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?199707051406.QAA20037>