set the translation mode (not useful under QNX)
#include <unistd.h> #include <fcntl.h> int setmode( int filedes, int mode );
The setmode() is provided for compatibility with other systems. setmode() performs no useful action under QNX.
setmode() always returns O_BINARY under QNX. This manifest is defined in the <fcntl.h> header file.
WATCOM
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | Yes |
chsize(), close(), creat(), dup(), dup2(), eof(), exec... functions, fcntl(), filelength(), fileno(), fstat(), isatty(), lseek(), open(), read(), sopen(), stat(), tell(), umask(), write()