carta
wn_make_file_parse_cstream(3)

wn_make_file_parse_cstream3

Make various kinds of cstreams

Part of wncstl(3).

Usage

wn_cstream stream;

wn_file f;

wn_cstream stream;

wn_file f;

wn_cstream stream;

char *string;

void wn_file_parse_move_block(block,pactually_moved,request_moved,pf)

char block [] ;

int *pactually_moved,request_moved;

wn_file *pf;

void wn_file_write_move_block(block,pactually_moved,request_moved,pf)

char block [] ;

int *pactually_moved,request_moved;

wn_file *pf;

void wn_string_parse_move_block(block,pactually_moved,request_moved,

char block [] ;

int *pactually_moved,request_moved;

char **pstring;

Overview

These routines are helpful in making various kinds of cstreams.

wn_make_file_parse_cstream makes a parse cstream using the file f. f must already be opened for read. f must be closed after the parse is complete.

wn_make_file_write_cstream makes a write cstream using the file f. f must already be opened for write. f must be closed after the write is complete.

wn_make_string_parse_cstream make a parse cstream using the string string.

wn_file_parse_move_block, wn_file_write_move_block, and wn_string_parse_move_block may be used to help build more complicated cstream's for files and strings.

Author

Will Naylor

From libwn-dev 6.0-17 in Debian 4.0 (Etch). Parsed by carta from the page's man source.