safec 3.15
Safe C Library - ISO TR24731 Bounds Checking Interface
Loading...
Searching...
No Matches
u8scanf_s.c File Reference
#include "safe_u8_lib.h"
Include dependency graph for u8scanf_s.c:

Functions

EXPORT int u8scanf_s (const char *restrict fmt,...)
 The u8scanf_s function reads a formatted string from stdin, and writes to a list of arguments.

Function Documentation

◆ u8scanf_s()

EXPORT int u8scanf_s ( const char *restrict fmt,
... )

The u8scanf_s function reads a formatted string from stdin, and writes to a list of arguments.

Parameters
[in]fmtformat-control string.
[out]...arguments to write to
Precondition
fmt shall not be a null pointer.
fmt shall not contain the conversion specifier n
Returns
Number of receiving arguments successfully assigned, or EOF if read failure occurs before the first receiving argument was assigned or if there is a runtime constraint violation.
Return values
>0 on success, the number of arguments assigned
EOFon error
See also
vu8scanf_s(), scanf_s()