On Tue, Nov 18, 2003 at 12:39:37AM -0800, lucy loo wrote:
> I am writing a kernel loadable module to reimplement some system calls. I have 
> included <sys/sysproto.h>, <sys/systm.h>, etc. -- very standard header files for kld 
> implmentation. I also want to do file i/o in this module, therefore I need to 
> include <stdio.h>. But it obviously conflicts with those <sys/...>, and make won't 
> pass. 

RTFM - particularly style(9), do not include userland headers in the kernel.

BMS
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to