File: scanf.man

package info (click to toggle)
scilab 2.4-1
  • links: PTS
  • area: non-free
  • in suites: potato, slink
  • size: 55,196 kB
  • ctags: 38,019
  • sloc: ansic: 231,970; fortran: 148,976; tcl: 7,099; makefile: 4,585; sh: 2,978; csh: 154; cpp: 101; asm: 39; sed: 5
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