From owner-freebsd-questions Sat Jul 5 07:06:50 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id HAA06709 for questions-outgoing; Sat, 5 Jul 1997 07:06:50 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id HAA06704 for ; Sat, 5 Jul 1997 07:06:47 -0700 (PDT) Received: from helbig.informatik.ba-stuttgart.de (rvc1.informatik.ba-stuttgart.de [141.31.112.22]) by freefall.freebsd.org (8.8.6/8.8.5) with ESMTP id HAA08973 for ; Sat, 5 Jul 1997 07:06:36 -0700 (PDT) Received: (from helbig@localhost) by helbig.informatik.ba-stuttgart.de (8.8.5/8.8.5) id QAA20037; Sat, 5 Jul 1997 16:06:29 +0200 (MET DST) From: Wolfgang Helbig Message-Id: <199707051406.QAA20037@helbig.informatik.ba-stuttgart.de> Subject: Re: Where do I look to find system error defs? In-Reply-To: <199707051316.GAA08831@freefall.freebsd.org> from Stan Brown at "Jul 5, 97 09:16:22 am" To: stanb@netcom.com (Stan Brown) Date: Sat, 5 Jul 1997 16:06:28 +0200 (MET DST) Cc: freebsd-questions@freebsd.com X-Mailer: ELM [version 2.4ME+ PL30 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > 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