From 13c27199231cbc2cc83969ada741b95be1cca4d3 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Wed, 10 Nov 2004 19:04:29 +0000 Subject: Import Trio 1.10 into fetchmail's trunk. svn path=/trunk/; revision=3995 --- trio/html/group___scanf.html | 145 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 trio/html/group___scanf.html (limited to 'trio/html/group___scanf.html') diff --git a/trio/html/group___scanf.html b/trio/html/group___scanf.html new file mode 100644 index 00000000..0c8d9d2b --- /dev/null +++ b/trio/html/group___scanf.html @@ -0,0 +1,145 @@ + + + + + TRIO + + + + +
+Main Page   Modules  
+

Formatted Scanning Functions.

Variations of formatted scanning functions. +More... + + + +

Functions

int trio_scanf (const char *format,...)
 Scan characters from standard input stream. More...

+

Detailed Description

+Variations of formatted scanning functions. +

+SYNOPSIS +

+

+cc ... -ltrio -lm
+
+#include <trio.h>
+
+

+DESCRIPTION +

+This documentation is incomplete. The documentation of the scanf family in [C99] and [UNIX98] also applies to the trio counterparts. +

+SCANNING +

+The scanning is controlled by the format string. The format string can contain normal text and conversion indicators. The normal text can be any character except the nil character (\000) and the percent character (\045 = '%'). Conversion indicators consists of an indication character (%), followed by zero or more conversion modifiers, and exactly one conversion specifier. +

+Modifiers +

+Positional ( 9$ ) [UNIX98] +

+See trio_printf. +

+Specifiers +

+Percent ( % ) +

+Character ( c ) +

+Decimal ( d ) +

+Floating-point ( a, A, e, E, f, F, g, G ) +

+Integer ( i ) +

+Count ( n ) +

+Octal ( o ) +

+Pointer ( p ) +

+String ( s ) +

+Unsigned ( u ) +

+Hex ( x, X ) +

+Scanlist ( [] ) +

+Scanlist Exclusion (^ ) +

+Scanlist Range ( - ) [TRIO] +

+

+Scanlist Equivalence Class Expression ( [= =] ) [TRIO] +

+Locale dependent (LC_COLLATE). Only one expression can appear inside the delimiters.

+Scanlist Character Class Expression ( [: :]) [TRIO] Locale dependent (LC_CTYPE). Only one expression can appear inside the delimiters. +RETURN VALUES +

+SEE ALSO +

+trio_printf


Function Documentation

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
int trio_scanf const char *   format,
...  
+
+ + + + + +
+   + + +

+Scan characters from standard input stream. +

+

+Parameters:
+ + + +
format  +Formatting string.
...  +Arguments.
+
+Returns:
+Number of scanned characters.
+


+ + + -- cgit v1.2.3