[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] Standard IO - function fwrite
From: |
Joerg Wunsch |
Subject: |
Re: [avr-gcc-list] Standard IO - function fwrite |
Date: |
Wed, 6 Jun 2007 10:24:41 +0200 (MET DST) |
Marjan Fojkar <address@hidden> wrote:
> Has anyone used function fwrite? I think it does not return right
> value. It should return number of objects successfully written but
> in my case it returns written character.
As your object has a size of 1, both values are the same. What did
you expect?
--
cheers, J"org .-.-. --... ...-- -.. . DL8DTL
http://www.sax.de/~joerg/ NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)