Write up to n bytes from buf to the output-oriented standard stream wrapped by the stdio_stream backend.
backend != NULL, backend must point to a valid stdio_stream_t.n > 0, buf must designate at least n readable bytes.backend must not be NULL.n > 0, buf must not be NULL.st != NULL, stores STREAM_STATUS_OK in *st.n == 0, returns 0 and, if st != NULL, stores STREAM_STATUS_OK in *st.0 and, if st != NULL, stores STREAM_STATUS_INVALID for invalid arguments.0 and, if st != NULL, stores STREAM_STATUS_IO_ERROR when the wrapped standard stream does not support writing.stream_write() operation.osal_stdio_ops_t::write callback bound in the backend handle.backend or buf.stdoutstderrstdin is rejected by contract.