about summary refs log tree commit diff stats
path: root/doc/manual.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/manual.html')
-rw-r--r--doc/manual.html19
1 files changed, 10 insertions, 9 deletions
diff --git a/doc/manual.html b/doc/manual.html
index 01c00db..5721704 100644
--- a/doc/manual.html
+++ b/doc/manual.html
@@ -3602,7 +3602,8 @@ idiomatic Teliva uses some slightly different primitives.
 <p>
 This function opens a file exclusively for reading, and returns a
 <code>channel</code> (NOT a file as in Lua) or <b>nil</b> on error.
-<code>recv()</code> from the channel to read a line at a time from the file.
+<a href='#pdf-channel:recv'><code>recv</code></a> from the channel to read a
+line at a time from the file.
 
 <p>
 (The <code>fs</code> parameter is currently unused. It will be used to pass in
@@ -3612,11 +3613,11 @@ fake file systems for tests.)
 <hr><h3><a name="pdf-character_by_character"><code>character_by_character(chanin, chanout)</code></a></h3>
 
 <p>
-This function converts a channel that can <code>recv()</code> a line at a time
-from a file into a channel that can <code>recv()</code> a character at a time.
-Don't try to mix by-line reads with by-character reads. Once a channel is
-passed into <code>character_by_character</code>, calling code should stop trying
-to use it.
+This function converts a channel that can <a href='#pdf-channel:recv'><code>recv</code></a>
+a line at a time from a file into a channel that can <a href='#pdf-channel:recv'><code>recv</code></a>
+a character at a time. Don't try to mix by-line reads with by-character reads.
+Once a channel is passed into <code>character_by_character</code>, calling
+code should stop trying to use it.
 
 
 <p>
@@ -3625,9 +3626,9 @@ to use it.
 <p>
 This function opens a file exclusively for writing, and returns a
 <code>channel</code> (NOT a file as in Lua) or <b>nil</b> on error.
-<code>send()</code> to the channel will write to the file. <code>close()</code> on the
-channel will persist the changes and make them externally visible. All writes
-are hidden until <code>close()</code>.
+<a href='#pdf-channel:send'><code>send</code></a> to the channel to write to
+the file. <code>close</code> on the channel will persist the changes and make
+them externally visible. All writes are hidden until <code>close</code>.
 
 <p>
 (The <code>fs</code> parameter is currently unused. It will be used to pass in
3155d85f8a9841d108d17bdbfad'>^
7efed68b ^

ac32d9d1 ^
7efed68b ^




c1276048 ^
14b33e59 ^

























c1276048 ^
6bf34cf3 ^
2c9aa92f ^
a6eb8353 ^

f9ff24be ^
7efed68b ^
2c9aa92f ^

bc40cc49 ^
2c9aa92f ^
7efed68b ^
14b33e59 ^
7efed68b ^
0ca35d02 ^
d62cbbdc ^
8f9ec2fb ^
5b82e707 ^
d4b4d018 ^
14b33e59 ^

d4b4d018 ^


14b33e59 ^

d4b4d018 ^



14b33e59 ^
bc40cc49 ^
14b33e59 ^
797a46d5 ^
d4b4d018 ^
14b33e59 ^
bc40cc49 ^
d4b4d018 ^
bc40cc49 ^
14b33e59 ^
d4b4d018 ^


797a46d5 ^

d4b4d018 ^
797a46d5 ^

8f9ec2fb ^
d4b4d018 ^
14b33e59 ^
d4b4d018 ^




8f9ec2fb ^














0e465e41 ^
8f9ec2fb ^
































































d4b4d018 ^






8f9ec2fb ^



d4b4d018 ^



8f9ec2fb ^


a3c025c5 ^







14b33e59 ^

2c9aa92f ^
8f9ec2fb ^
797a46d5 ^


0ca35d02 ^
8f9ec2fb ^
d4b4d018 ^
797a46d5 ^
d4b4d018 ^
797a46d5 ^
d4b4d018 ^
797a46d5 ^



d4b4d018 ^


797a46d5 ^



d4b4d018 ^



797a46d5 ^






002cbf13 ^

7efed68b ^
4f9f75dd ^
bc40cc49 ^
002cbf13 ^



711dd36f ^
f192d655 ^
7efed68b ^
4f9f75dd ^
f192d655 ^












5860b661 ^

bc40cc49 ^
f192d655 ^











5860b661 ^


f192d655 ^

2c9aa92f ^

7efed68b ^
4f9f75dd ^
14b33e59 ^
bc40cc49 ^
14b33e59 ^
797a46d5 ^
12dd8fc0 ^
14b33e59 ^
797a46d5 ^
14b33e59 ^










6bf34cf3 ^
14b33e59 ^


7efed68b ^
14b33e59 ^

7efed68b ^

14b33e59 ^




7efed68b ^
14b33e59 ^
7efed68b ^
14b33e59 ^

7efed68b ^
14b33e59 ^





7efed68b ^
14b33e59 ^
7efed68b ^

14b33e59 ^



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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359