Skip to content
ProcWriteToStdinFmt

ProcWriteToStdinFmt

Description

Format a message with StrAppendFmt and write the result to the child’s stdin. Convenience wrapper for the common “build a line, then push it” pattern; the intermediate Str is owned by the macro and released before return.

Parameters

Name Direction Description
p in Process whose stdin should receive the formatted bytes.

Success

Returns to the caller. The formatted bytes were assembled in a transient Str, handed to ProcWriteToStdin, and the transient buffer has been freed.

Failure

Returns to the caller. Underlying format/write errors are logged by the wrapped calls; the transient buffer is freed on every path.

Usage example (Cross-references)

Usage examples (Cross-references)
No external code usages found in the scanned files.
Last updated on