stream_status_t stream_flush(stream_t *s);
Flush pending output associated with the stream port.
s != NULL, s must denote a valid stream_t handle created by stream_create().s must not be NULL.When s != NULL and s->backend != NULL:
flush callback stored in the stream handle.flush callback.s == NULL, returns STREAM_STATUS_INVALID.s != NULL but s->backend == NULL, returns STREAM_STATUS_NO_BACKEND.stream_flush() does not call the borrower-facing read, write, or close callbacks.stream_create().