This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: perror() changes the orientation of stderr to byte-oriented mode if stderr is not oriented yet.
- From: Andreas Köpke <andreas dot koepke at felsenmeer dot ch>
- To: <newlib at sourceware dot org>
- Date: Thu, 5 Jul 2018 14:49:12 +0200
- Subject: Re: perror() changes the orientation of stderr to byte-oriented mode if stderr is not oriented yet.
- References: <2847991.a2PqrthFxU@andreas> <20180705210654.03dd42af327a8b0c3636336b@nifty.ne.jp>
ah sorry -- unistd.h works.
> Hi,
>
> On Thu, 5 Jul 2018 13:38:52 +0200
>
> Andreas Köpke wrote:
> > I'm working on bare metal using newlib - with the changes to perror it
> > does
> > not compile anymore: none of the headers (sys/uio.h, unistd.h) are known.
>
> Bare metal does not have not only sys/uio.h but also unistd.h?
> It seems a few stdio files includes unistd.h at least for several
> months ago.