If in output mode, flush the buffer to the associated file descriptor; otherwise do nothing. Return 0 on success, -1 otherwise.
Declared in <bdls_fdstreambuf.h>
<bdls_fdstreambuf.h>
virtual int sync() override;