[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [OT] Help with glibc memory streams



Ben Collins wrote:
> 
> There's also the other solution in "info libc" under fmemopen where it
> uses fgetc(). This shouldn't be a problem with null chars, nor lack of
> newline (as is shown in the example).
> 
> IMO, the fgets problem is probably only a documentation issue.
> 

I think there's something wrong with memory stream implementation,
the behavior for file streams is as expected. I'll ask it over at
bug-glibc.

Thanks,

-- 
Eray (exa) Ozkural
Comp. Sci. Dept., Bilkent University, Ankara
e-mail: erayo@cs.bilkent.edu.tr
www: http://www.cs.bilkent.edu.tr/~erayo



Reply to: