Skip to content
ProcWriteToStdinFmtLn

ProcWriteToStdinFmtLn

Description

Like ProcWriteToStdinFmt, but appends a trailing newline before writing. Convenience wrapper for line-oriented child stdin protocols.

Parameters

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

Success

Returns to the caller. The formatted bytes plus a '\n' terminator 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