Date: Tue, 12 May 1998 23:07:16 +0200 From: Gary Jennejohn <garyj@peedub.muc.de> To: "John W. DeBoskey" <jwd@unx.sas.com> Cc: freebsd-current@FreeBSD.ORG Subject: Re: sysconf(_SC_PAGESIZE) broken ?? Message-ID: <199805122107.XAA02310@peedub.muc.de> In-Reply-To: Your message of "Tue, 12 May 1998 00:47:21 EDT." <199805120447.AA02335@mozart>
next in thread | previous in thread | raw e-mail | index | archive | help
"John W. DeBoskey" writes: >Hi, > > I'm running 3.0 current on my machine: > >FreeBSD FreeBSD.pc.sas.com 3.0-CURRENT FreeBSD 3.0-CURRENT #1: > Mon May 11 23:04:43 EDT 1998 > root@FreeBSD.pc.sas.com:/usr/src/sys/compile/FreeBSD i386 > > The following program gives a rather bogus result which causes >cdrecord to fail rather miserably: > >main() >{ > int rc; > rc = sysconf(_SC_PAGESIZE); > printf("_SC_PAGESIZE == %d\n",rc); > return(0); >} > >$ make sysconftst >cc -O -pipe sysconf.c -o sysconf >$ ./sysconftst >_SC_PAGESIZE == -1 >$ > RTFM - sysconf does not support SC_PAGESIZE. It's returning an error. --- Gary Jennejohn Home - garyj@muc.de Work - garyj@fkr.dec.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199805122107.XAA02310>