9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] bio from string
@ 2009-08-12 13:20 roger peppe
  2009-08-12 14:15 ` Noah Evans
  2009-08-12 15:12 ` Russ Cox
  0 siblings, 2 replies; 3+ messages in thread
From: roger peppe @ 2009-08-12 13:20 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9fans] bio from string
  2009-08-12 13:20 [9fans] bio from string roger peppe
@ 2009-08-12 14:15 ` Noah Evans
  2009-08-12 15:12 ` Russ Cox
  1 sibling, 0 replies; 3+ messages in thread
From: Noah Evans @ 2009-08-12 14:15 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Where are you getting the string? Are you malloc'ing it yourself?



On Wed, Aug 12, 2009 at 3:20 PM, roger peppe<rogpeppe@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, but none are very savoury.
>
>



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9fans] bio from string
  2009-08-12 13:20 [9fans] bio from string roger peppe
  2009-08-12 14:15 ` Noah Evans
@ 2009-08-12 15:12 ` Russ Cox
  1 sibling, 0 replies; 3+ messages in thread
From: Russ Cox @ 2009-08-12 15:12 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On Wed, Aug 12, 2009 at 6:20 AM, roger peppe<rogpeppe@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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-08-12 15:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-12 13:20 [9fans] bio from string roger peppe
2009-08-12 14:15 ` Noah Evans
2009-08-12 15:12 ` Russ Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).