Write the specified buffer, containing the specified numBytes, to the file descriptor starting at the current position. Return 0 on success, and a non-zero value otherwise. The behavior is undefined unless 0 <= numBytes. Note that on Windows in text mode, a ` ` is written as `\r ` and counts as one character.
Declared in <bdls_fdstreambuf.h>
int
write(
char const* buffer,
int numBytes);