This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: shm_open


On Mon, Jul 17, 2006 at 01:09:42PM +1000, yh@bizmail.com.au wrote:
> I am trying porting the sysdeps/unix/sysv/linux/shm_open.c to a small
> embedded system, but currently got error of fd = -1 when calling open() in
> shm_open.c.
> 
> The sysdeps/posix/shm_open.c is actually works, but it did not open a file
> in /dev/shm instead of in local directory.

You have probably failed to mount a tmpfs on /dev/shm.

-- 
Daniel Jacobowitz
CodeSourcery


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]