The vu8scanf_s function reads a formatted string from stdin, and writes to a list of arguments.
- Parameters
-
| [in] | fmt | format-control string. |
| [out] | ap | 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 |
| EOF | on error |
- See also
- u8scanf_s(), vscanf_s()