~ubuntu-branches/ubuntu/hoary/scilab/hoary

« back to all changes in this revision

Viewing changes to man/fileio/fscanf.man

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2005-01-09 22:58:21 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050109225821-473xr8vhgugxxx5j
Tags: 3.0-12
changed configure.in to build scilab's own malloc.o, closes: #255869

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
.TH fscanf 1 "May 1994" "Scilab Group" "Scilab Function"
2
 
.so ../sci.an
3
 
.SH NAME
4
 
fscanf  - Converts formatted input read on a file
5
 
.SH CALLING SEQUENCE
6
 
.nf
7
 
 [v_1,...v_n]=fscanf (file,format)
8
 
.fi
9
 
.SH PARAMETERS
10
 
.TP 7
11
 
format
12
 
:Specifies the format conversion.
13
 
.TP
14
 
file
15
 
:Specifies the input file name or file number.
16
 
.SH DESCRIPTION
17
 
The fscanf functions read character data on the file specified by the
18
 
\fVfile\fR argument , interpret it according
19
 
to a format, and returns the converted results.
20
 
 
21
 
The format parameter contains conversion specifications
22
 
used to interpret the input.
23
 
.PP
24
 
The format parameter can contain
25
 
white-space characters (blanks, tabs, newline, or formfeed)
26
 
that, except in the following two cases, read the input up to the
27
 
next nonwhite-space character. Unless there is a match in the control
28
 
string, trailing white space (including a newline character) is not
29
 
read.
30
 
.TP 4
31
 
-
32
 
Any character except % (percent sign), which must match the next character
33
 
of the input stream.
34
 
.TP  
35
 
-
36
 
A conversion specification that directs the conversion of the
37
 
next input field. see \fVscanf_conversion\fR for details.
38
 
 
39
 
.SH SEE ALSO
40
 
printf, read, scanf, sscanf