failed attempts to intercept copy command when the cursor is in the empty text field...
[LeanCalc.git] / help / rewind
1 NAME
2     rewind - set position at the beginning of some or all files
3
4 SYNOPSIS
5     rewind([f_1, f_2, ...])
6
7 TYPES
8     f_1, f_2, ...       open file streams
9
10     return              null value or error
11
12 DESCRIPTION
13     With one or more arguments f_1, ..., this function sets the
14     position for each f_i at the beginning.  With no argument,
15     this operation is applied to all user-opened files.
16
17 EXAMPLE
18     > f = fopen("curds","r");
19     > x = fgetc(f);
20     > rewind(f);
21     > y = fgetc(f);
22     > print x == y
23     1
24
25 LIMITS
26     none - XXX - is this correct?
27
28 LINK LIBRARY
29     none - XXX - is this correct?
30
31 SEE ALSO
32     errno, fclose, feof, ferror, fflush, fgetc, fgetline, fgets, files, fopen,
33     fprintf, fputc, fputs, fseek, fsize, ftell, isfile, printf, prompt
34