On Thu, Sep 11, 2008 at 8:55 AM, Levi Bard
<[EMAIL PROTECTED]> wrote:
>> fread(void *ptr, size_t size, size_t nmemb, FILE *stream)
>>
>> from what I can tell, Vala automatically fills in the size parameter
>> with the length of buf, so it will always try to read up to the length
>> of the buffer el
> fread(void *ptr, size_t size, size_t nmemb, FILE *stream)
>
> from what I can tell, Vala automatically fills in the size parameter
> with the length of buf, so it will always try to read up to the length
> of the buffer elements. nmemb should always be one in this case
> because we do not have c
On Wed, Sep 10, 2008 at 12:31 PM, Jürg Billeter <[EMAIL PROTECTED]> wrote:
> On Thu, 2008-09-04 at 18:14 -0400, Cliff Brake wrote:
>> The below patch adds read/write to FileStream:
>
> Thanks for the patch.
>
>> Question: is there any way I can always set nmemb=1 so the caller
>> does not have to