Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Jul 2003 17:18:06 +0800
From:      zhuyi <zhuyi@jstvu.edu.cn>
To:        freebsd-hackers@freebsd.org
Subject:   how to call a syscall in a kernel module?
Message-ID:  <20030704171430.68CE.ZHUYI@jstvu.edu.cn>

next in thread | raw e-mail | index | archive | help
Dear all:
How to call a syscall in a kernel module? In Linux, you can add two
line into your source code.

#define __KERNEL_SYSCALLS__
#include <linux/unistd.h>

--=20
zhuyi <zhuyi@jstvu.edu.cn>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030704171430.68CE.ZHUYI>