File: scanf.man

package info (click to toggle)
scilab 2.6-4
  • links: PTS
  • area: non-free
  • in suites: woody
  • size: 54,632 kB
  • ctags: 40,267
  • sloc: ansic: 267,851; fortran: 166,549; sh: 10,005; makefile: 4,119; tcl: 1,070; cpp: 233; csh: 143; asm: 135; perl: 130; java: 39
file content (36 lines) | stat: -rw-r--r-- 1,077 bytes parent folder | download | duplicates (2)
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
.TH scanf 1 "May 1994" "Scilab Group" "Scilab Function"
.so ../sci.an
.SH NAME
scanf  - Converts formatted input on standard input
.SH CALLING SEQUENCE
.nf
 [v_1,...v_n]=scanf (format);
.fi
.SH PARAMETERS
.TP 7
format
:Specifies the format conversion.
.SH DESCRIPTION
The scanf functions get character data on standard input (%io(1)), interpret it according
to a format, and returns the converted results.
.LP
The format parameter contains conversion specifications
used to interpret the input.
.PP
The format parameter can contain
white-space characters (blanks, tabs, newline, or formfeed)
that, except in the following two cases, read the input up to the
next nonwhite-space character. Unless there is a match in the control
string, trailing white space (including a newline character) is not
read.
.TP 4
-
Any character except % (percent sign), which must match the next character
of the input stream.
.TP  
-
A conversion specification that directs the conversion of the
next input field. see \fVscanf_conversion\fR for details.

.SH SEE ALSO
printf, read, fscanf, sscanf