std io and '\n'..
Fri Feb 23 00:16:00 GMT 2007
I'm using newlib for my small x86 based operating system. For now,
i'm trying to implement standart io functions such as read, write, close
etc.. When i test printf function, i saw that it gives only a part of my
output string to my write function if i use '\n' char in the string.
after such a func..
libc sends four byte of the string.
[ write( stdoutfd, "abc\n", 4 ) ]
What is my fault..
More information about the Newlib