lkml.org 
[lkml]   [1996]   [May]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: shared mmapping of /dev/zero
   Date: 	Sat, 4 May 1996 17:01:00 +0200 (MET DST)
From: Ronald Wahl <Ronald.Wahl@informatik.tu-chemnitz.de>

I want to do a shared mmap of /dev/zero ind read/write mode but I
get only EINVAL. I used PROT_READ | PROT_WRITE (yes /dev/zero is
opened read/write). I use linux-1.3.97 and libc-5.3.12.

Try MAP_ANONYMOUS, it's the same thing.

Later,
David S. Miller
davem@caip.rutgers.edu


\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.050 / U:3.236 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site