Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!bloom-beacon!tut.cis.ohio-state.edu!mailrus!ames!amdahl!pacbell!ditka!qiclab!sopwith!snoopy From: snoopy@sopwith.UUCP (Snoopy) Newsgroups: comp.unix.questions Subject: Re: Request for examples of mmap(2) Keywords: Chickens, ornithopters, pterywogans, Guinness Message-ID: <200@sopwith.UUCP> Date: 3 Jun 89 17:17:27 GMT References: <12300001@uxh.cso.uiuc.edu> <17740@mimsy.UUCP> <113@orchid.warwick.ac.uk> Reply-To: snoopy@sopwith.UUCP (Snoopy) Organization: The Daisy Hill Puppy Farm Lines: 33 In article <113@orchid.warwick.ac.uk> maukh@warwick.ac.uk (Sunstorm the Intestinal) writes: | I need some unbelievably well commented source code which has | mind-blowingly amazing examples of mmap(2) in it. It might help to say what system you are using. From 4.3 BSD PS1:6-11: mmap(addr, len, prot, flags, fd, pos) This call is not actually implemented in 4.3 BSD, it is planned for a future release. From Utek 2.3 Command Reference section 2: mmap(pid, fromaddr, toaddr, len, prot, share) This was actually implemented. I once wrote a program that used it. Can you say "panic"? | Unpredecedentedly stomach-explodingly good examples, in fact. Attempting to use a program written for one of these on a system providing the other might explode your stomach, all right. _____ .-----. /_____\ Snoopy ./ RIP \. /_______\ qiclab!sopwith!snoopy | | |___| parsely!sopwith!snoopy | tekecs | |___| sun!nosun!illian!sopwith!snoopy |_________| "I *am* the next man!" -Indy