On 03/10/2018 11:52 AM, Georg-Johann Lay wrote:
> avr-libc-...@nicohood.de schrieb:
>> Hi,
>> I am trying to use fwrite() to write the first X bytes of a string like
>> this, but with a wrong output:
>>
>> auto ret = fwrite("Hello World!", 1, 5, stdout);
>> printf("%d\n", ret);
>> // Output: H0
>>
avr-libc-...@nicohood.de schrieb:
Hi,
I am trying to use fwrite() to write the first X bytes of a string like
this, but with a wrong output:
auto ret = fwrite("Hello World!", 1, 5, stdout);
printf("%d\n", ret);
// Output: H0
Its documented here:
https://www.nongnu.org/avr-libc/user-manual/group