🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #30136

Re: madvise() works (!)

#30136
From: Clayton O'Neill
Date: Wed, 29 Jul 1998 00:00
15 lines
1290 bytes
On 27 Jul 1998 17:59:48 GMT, bill davidsen <davidsen@tmr.com> wrote:
|In article <6pg4rq$drt$1@flea.best.net>, Matt Dillon <dillon@best.net> wrote:
||     I've started messing with calling madvise() after mmap().  It 
||     actually works!  At least on FreeBSD systems.
|
|Please put all the BSDisms under conditional, unless this code is going
|to be BSD-only.

madvise is a POSIXism.  If your vendor doesn't support than bitch and moan
and groan.  It is a very good thing.

-- 
coneill@rcn.com|blahlblahblah@oneill.net

Technical Details
Message-ID: <slrn6rtbhs.qn.usenet@hmmm.colo.erols.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <6pg4rq$drt$1@flea.best.net> <6pif6k$aru$1@newssvr09-int.news.prodigy.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrn6rtbhs.qn.usenet@hmmm.colo.erols.net>
Subject: Re: madvise() works (!)
Date: Wed, 29 Jul 1998 00:00:00 +0000
From: usenet@oneill.net (Clayton O'Neill)
References: <6pg4rq$drt$1@flea.best.net> <6pif6k$aru$1@newssvr09-int.news.prodigy.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 375897119
X-Complaints-To: abuse@rcn.com
X-Trace: winter.news.erols.com 901688996 14271 207.96.1.5 (29 Jul 1998 05:09:56 GMT)
Organization: RCN Internet
Newsgroups: news.software.nntp,comp.unix.bsd.freebsd.misc