Re: Using userland library in Kernel
In the last episode (Aug 08), Biks N said:
> I am new to FreeBSD kernel programming and I am trying to use
> userland library (zlib) in FreeBSD kernel. But I am not sure if zlib
> library is linkable from the kernel.
It isn't. However, there is a zlib implementation in the kernel
already. It's hidden under the PPP_DEFLATE kernel option (the source
is in sys/net/ppp_deflate.c). The functions are all prefixed with z_,
but apart from that it works the same as userland zlib.
--
Dan Nelson
dnelson@allantgroup.com
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
討論串 (同標題文章)
完整討論串 (本文為第 3 之 5 篇):