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


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.

Thank you.

Jim
> On Mon, Jul 17, 2006 at 11:59:24AM +1000, yh@bizmail.com.au wrote:
>> Hi,
>>
>> Which of follownig shm_open.c is used for /dev/shm in ARM processor?
>>
>> sysdeps/generic/shm_open.c
>> sysdeps/posix/shm_open.c
>> sysdeps/unix/sysv/linux/shm_open.c
>
> Probably the last one.  But I don't know what you mean; /dev/shm itself
> is managed by the kernel.
>
> --
> Daniel Jacobowitz
> CodeSourcery
>



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