[9fans] bio from string

2009-08-12 Thread roger peppe
just to check i'm not missing something, is there a reasonable way of getting bio(2) to read from a string rather than an fd? i can think of various ways, but none are very savoury.

Re: [9fans] bio from string

2009-08-12 Thread Noah Evans
Where are you getting the string? Are you malloc'ing it yourself? On Wed, Aug 12, 2009 at 3:20 PM, roger pepperogpe...@gmail.com wrote: just to check i'm not missing something, is there a reasonable way of getting bio(2) to read from a string rather than an fd? i can think of various ways,

Re: [9fans] bio from string

2009-08-12 Thread Russ Cox
On Wed, Aug 12, 2009 at 6:20 AM, roger pepperogpe...@gmail.com wrote: just to check i'm not missing something, is there a reasonable way of getting bio(2) to read from a string rather than an fd? not short of adding a new routine to libbio