Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Apr 2005 10:39:47 +0200
From:      des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=)
To:        Aziz KEZZOU <opensource.enthousiat@gmail.com>
Cc:        hackers@freebsd.org
Subject:   Re: KLD module with C++ iostreams ?
Message-ID:  <86vf6gseuk.fsf@xps.des.no>
In-Reply-To: <37e1316605042019072b5d7a0e@mail.gmail.com>
References:  <37e1316605042019072b5d7a0e@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Aziz KEZZOU <opensource.enthousiat@gmail.com> writes:
> I am wondering if I can use c++ iostreams inside the kernel ?
> After all the code : cout << "Hello world!" << endl;=20
> 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
--=20
Dag-Erling Sm=F8rgrav - des@des.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86vf6gseuk.fsf>