---
name: "wncstl"
section: "3"
platform: "linux"
package: "libwn-dev"
version: "6.0-17"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/wncstl"
---

# wncstl(3)

make various kinds of cstreams

## NAME

wn\_make\_file\_parse\_cstream, wn\_make\_file\_write\_cstream, wn\_make\_string\_parse\_cstream, wn\_file\_parse\_move\_block, wn\_file\_write\_move\_block, wn\_string\_parse\_move\_block - make various kinds of cstreams

## SYNOPSIS

```
#include <wn/wncstr.h>

wn_make_file_parse_cstream(&stream,f)
wn_cstream stream;
wn_file f;

wn_make_file_write_cstream(&stream,f)
wn_cstream stream;
wn_file f;

wn_make_string_parse_cstream(&stream,string)
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,
pstring)
char block[];
int *pactually_moved,request_moved;
char **pstring;
```

## DESCRIPTION

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.

## SEE ALSO

wncstr

## AUTHOR

Will Naylor
