Where is the source to the system calls?

Dag-Erling Smørgrav des at des.no
Mon Nov 8 00:50:11 PST 2004


Dan Strick <strick at covad.net> writes:
> Does anyone know where the system calls are really defined?

In the kernel.

> I followed open() to _open() to __sys_open() which seems
> to be part of something called libc_r before I ran into a
> blank wall.

des at dwp /usr/src% grep -r '^open(' sys
sys/kern/vfs_syscalls.c:open(td, uap)

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the freebsd-hackers mailing list