File: wnwtok.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 (80 lines) | stat: -rw-r--r-- 1,637 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
NAME
     wnwtok -- write stuff

SYNOPSIS
     #include "wncstr.h"

     wn_write_empty(stream)
     wn_cstream stream;

     wn_write_eos(stream)
     wn_cstream stream;

     wn_write_char(stream,c)
     wn_cstream stream;
     char c;

     wn_write_literal_char(stream,c)
     wn_cstream stream;
     char c;

     wn_write_blanks(stream,num)
     wn_cstream stream;
     int num;

     wn_write_blanks_until_column(stream,col)
     wn_cstream stream;
     int col;

     wn_write_linefeed(stream)
     wn_cstream stream;

     wn_write_literal(stream,literal)
     wn_cstream stream;
     char literal[];

     wn_write_id(stream,id)
     wn_cstream stream;
     char id[];

     wn_write_int(stream,i)
     wn_cstream stream;
     int i;

     wn_write_double(stream,f)
     wn_cstream stream;
     double f;

     wn_write_quoted_string(stream,start_char,string,fin_char)
     wn_cstream stream;
     char start_char,fin_char;
     char string[];

     wn_write_literal_n_times(stream,literal,n)
     wn_cstream stream;
     char literal[];
     int n;

DESCRIPTION
     These routines write the indicated object to the cstream "stream".
     The meaning of the other arguments is the same as in wnptok.

     "wn_write_linefeed" writes a linefeed to "stream" and makes a 
     note of the linefeed's mark.  This is NOT the same as 
     issuing a
       
       wn_write_char(stream,'\n');

     "wn_write_char" makes no note of the linefeed's mark; thus the
     line length and column number will still be computed from the
     last "wn_write_linefeed".

BUGS

SEE ALSO
     wnptok, wnwtokp, wncstr

AUTHOR
     Will Naylor