KLD module with C++ iostreams ?

Dag-Erling Smørgrav des at des.no
Thu Apr 21 01:39:52 PDT 2005


Aziz KEZZOU <opensource.enthousiat at gmail.com> writes:
> I am wondering if I can use c++ iostreams inside the kernel ?
> After all the code : cout << "Hello world!" << endl; 
> ends accessing the stdout just like : printf("Hello world!\n"); right ?

There is no stdio in the kernel.

> So if I could compile my KLD module with static linkage to libstdc++,
> that should be ok, right ?

No.

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


More information about the freebsd-hackers mailing list