Initial revision
[LeanCalc.git] / help / scanf
1 NAME
2     scanf - formatted scan of characters read from standard input
3
4 SYNOPSIS
5     scanf(fmt, x_1, x_2, ...)
6
7 TYPES
8     fmt                 string
9     x_1, x_2, ...       lvalues
10
11     return      null, nonnegative integer, or error value
12
13 DESCRIPTION
14     This does the same as fscanf(files(0), fmt, x_1, x_2, ...).
15     For details see fscanf.
16
17 EXAMPLE
18     > global a, b, c
19     > scanf("%5c", a)
20         1
21     > a
22         "Alpha"
23
24 LIMITS
25     none - XXX - is this correct?
26
27 LINK LIBRARY
28     none - XXX - is this correct?
29
30 SEE ALSO
31     scan, strscan, fscanf, strscanf, scanf, printf, fprintf
32