KLD module with C++ iostreams ?

Aziz KEZZOU opensource.enthousiat at gmail.com
Wed Apr 20 19:07:13 PDT 2005


Hi hackers,
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 ?

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

Any one did or knows how to do this ?

Thanks,
-aziz


More information about the freebsd-hackers mailing list