Date: Mon, 5 Jul 1999 13:42:54 -0700 From: "David Schwartz" <davids@webmaster.com> To: <cvs-all@freebsd.org> Subject: RE: cvs commit: src/sys/i386/linux linux_misc.c Message-ID: <000101bec726$f4dd96c0$021d85d1@youwant.to> In-Reply-To: <87984.931206684@zippy.cdrom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Oh, one thing about what kernel version you report -- if you correctly support 'poll', you should return 2.2 or later. Quite a few Linux programs call 'uname' to determine whether they should use 'poll' or 'select'. Since 3.2 supports 'poll', it should return a Linux version of at least 2.2. Here's an excerpt of a typical chunk of code: struct utsname uts; if(uname(&uts)==0) { if(uts.release[0]=='2' && uts.release[1]=='.' && uts.release[2]>='1' && POLLsupport ) POLLenable=TRUE; } DS To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000101bec726$f4dd96c0$021d85d1>