Read up to n bytes from the input-oriented standard stream wrapped by the stdio_stream backend into buf.
backend != NULL, backend must point to a valid stdio_stream_t.n > 0, buf must designate at least n writable 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 reading.stream_read() operation.osal_stdio_ops_t::read callback bound in the backend handle.backend or buf.stdinstdoutstderr