www.delorie.com/gnu/docs/glibc/libc_230.html   search  
 
Buy the book!


The GNU C Library

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

12.21.3 Programming Your Own Custom Streams

This section describes how you can make a stream that gets input from an arbitrary data source or writes output to an arbitrary data sink programmed by you. We call these custom streams. The functions and types described here are all GNU extensions.

12.21.3.1 Custom Streams and Cookies  The cookie records where to fetch or store data that is read or written.
12.21.3.2 Custom Stream Hook Functions  How you should define the four hook functions that a custom stream needs.


  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003