[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: __NR_shmget undefined
On Tue, 30 Apr 2002, krishnan charumathi wrote:
> I believe that every system call should have an entry in
> /usr/src/linux/arch/i386/kernel/entry.S. But, when I searched for
> __NR_shmget , to my surprise there is none related to shared memory or
> semaphore . So, I am wondering how are,the system calls related to IPC gets
> executed..
shmget() is a glibc wrapper for syscall ipc(). If you look at sourcecode
of sys_ipc() (arch/i386/kernel/sys_i386 for x86 arch), you will be
enlightened ;)
--
JiKos.
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/