PDA

View Full Version : where is source code of system calls?



vksingh
March 2nd, 2010, 08:56 PM
Hi,

I have downloaded source code of linux kernel from www.kernel.org. I have to some on some of the linux system calls.

Can any body tell me where is the source code of system calls in linux source is located?

Thanks,

Vivek

saulgoode
March 2nd, 2010, 09:07 PM
Top include is /usr/include/sys/syscall.h

You would trace that to the appropriate file, which on my (32-bit) system is /usr/include/asm/unistd_32.h