Performs a low-overhead write operation
#include <nwfileio.h> int qwrite ( int fildes, void *buffer, LONG len, LONG position);
(IN) Specifies the pertinent file handle.
(IN) Points to a buffer which contains the data.
(IN) Specifies the number of bytes to write.
(IN) Specifies the byte offset at which to start writing.
If successful, this function returns the number of bytes written. If an error occurs, it returns -1 (EFAILURE) and errno and/or NWErrno can be set to:
The qwrite function does not:
Perform parameter/context validation.
Maintain file position.
This function does not support:
O_APPEND
Standard I/O
Semaphore use of the handle
Streams
BSD Sockets