[En-Nut-Discussion] Reading from file

Harald Kipp harald.kipp at egnite.de
Thu Oct 4 09:07:47 CEST 2007


Maciek,

you missed to add the terminating '\x00' character.

Maciek schrieb:
>                         n = _read(fd, data, size);
>   
data[n] = 0;
>                                 fprintf_P(stdout, PSTR("%s"), data);
>   
Harald

PS. please send plain text to the list. See
http://www.expita.com/nomime.html




More information about the En-Nut-Discussion mailing list