9os

Experimental kernel using plan9 ideas for embedded device
git clone git://git.simple-cc.org/9os
Log | Files | Refs | README | LICENSE

stream.h (171B)


      1 #include <stddef.h>
      2 
      3 typedef struct stream Stream;
      4 struct stream {
      5 	char *base;
      6 	size_t len;
      7 	size_t cnt;
      8 };
      9 
     10 extern void doprnt(Stream *sp, const char *fmt, va_list va);