ReadFmt

Table of Contents

ReadFmt

Description

Read formatted input from the standard input stream (stdin). This is a convenience macro calling FReadFmt with stdin.

Parameters

NameDirectionDescription
fmtstrinFormat string to be used for reading. This must exactly describe the expected input format from stdin. argument should be a modifiable l-value wrapped with &variable.

Success

Attempts to match fmtstr with the input from stdin and reads values into the provided arguments wrapped with ``.

Failure

Failure occurs within FReadFmtInternal. Refer to its documentation for details on failure behavior (logs error message and returns, may rollback read data, or abort in unexpected situations).

Usage example (Cross-references)

No external code usages found in the scanned files.

Share :

Related Posts

FWriteFmtLn

FWriteFmtLn Description Write formatted output to a file stream followed by a newline character. This macro internally uses StrWriteFmtInternal to format the string and then writes it to the stream followed by a newline.

Read More

FReadFmt

FReadFmt Description Read formatted data from a file stream. This is a macro wrapper around FReadFmtInternal.

Read More

WriteFmt

WriteFmt Description Write formatted output to the standard output stream (stdout). This is a convenience macro calling FWriteFmt with stdout.

Read More