From owner-freebsd-questions@FreeBSD.ORG Fri Aug 19 07:00:37 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 689B416A421 for ; Fri, 19 Aug 2005 07:00:37 +0000 (GMT) (envelope-from devfreebsd@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id D7C7B43D62 for ; Fri, 19 Aug 2005 07:00:34 +0000 (GMT) (envelope-from devfreebsd@gmail.com) Received: by xproxy.gmail.com with SMTP id i31so98343wxd for ; Fri, 19 Aug 2005 00:00:34 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=PCufDiZoi6/w6rdItcnCvuM0m1Iha4jHfIoxTXPzn0LBNGF8ClFu6Q6kOVp1kX8NMcX1+uq3JWvZ9Mx3VZvGMFksZFeX3UDuxPi/wqWhz5gwrlmNxYvZnYSyNoJ0VZojTWe9Y+YaiQ08IevjNxuQYbTr7/bPTcRoL/yUDgrSUw4= Received: by 10.70.73.8 with SMTP id v8mr6722wxa; Fri, 19 Aug 2005 00:00:34 -0700 (PDT) Received: by 10.70.118.4 with HTTP; Fri, 19 Aug 2005 00:00:34 -0700 (PDT) Message-ID: <6e58a03050819000046f7920c@mail.gmail.com> Date: Fri, 19 Aug 2005 12:30:34 +0530 From: Dev FreeBSD To: freebsd-questions@freebsd.org In-Reply-To: <43053C98.9060503@nawcom.no-ip.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <200508180151.j7I1orXW000576@ms-smtp-02-eri0.ohiordc.rr.com> <43053C98.9060503@nawcom.no-ip.com> Subject: Re: fd_set X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Aug 2005 07:00:37 -0000 On 8/19/05, nawcom wrote: > Now im your basic programmer, so the only thing i can relate fd_set to > are the file descriptors (bit array i think) which are declared in the > select function. select is used for basic input/output channel control. >=20 > So by saying that - >=20 > 1) perhaps the file that is being built is missing the sys header file, > sys/types.h (if im wrong somebody correct me). I have ended up fixing > #include and #define typos in programs due to an unsuccessful build > which seems to be common, so maybe this may be your case also. >=20 > 2) there might be something wrong with the header file itself, like > fd_set not being declared. >=20 > oh well - like i said -im your basic c/kernel coder, but this is what i > would check out if i was thrown into your shoes. >=20 Hi Checkout src/sys/sys/select.h The fd_set structure is defined on line 71 typedef struct fd_set=20 { __fd_mask __fds_bits[_howmany(FD_SETSIZE, _NFDBITS)]; } fd_set; --=20 thanks Dev.