File: wncstl.man

package info (click to toggle)
libwn6 6.0-3
  • links: PTS
  • area: main
  • in suites: potato
  • size: 5,996 kB
  • ctags: 3,938
  • sloc: ansic: 45,083; makefile: 926; csh: 274; sh: 12
file content (61 lines) | stat: -rw-r--r-- 1,615 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
NAME
     wncstl -- make various kinds of cstreams

SYNOPSIS
     #include "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.

BUGS

SEE ALSO
     wncstr

AUTHOR
     Will Naylor