[Help-gnutls] Re: Equivalent to fdopen?

Simon Josefsson simon at josefsson.org
Thu Aug 14 10:24:25 CEST 2008

Brian Lavender <brian at brie.com> writes:

> Any sugguestions? Is there an fdopen equivalent, so I can still use the
> fgets and friends? Or, do I have to write my own buffering routine?

There is no such equivalent now.  If it is possible to implement it, it
would be a cool feature.  But is it possible to implement it?  I dunno.
Seems like you need some hooks into the f* buffering structures used by
libc.  It doesn't sound trivial to do.


More information about the Gnutls-help mailing list