[Previous]
[Contents]
[Next]

setmode()

set the translation mode (not useful under QNX)

Synopsis:

#include <unistd.h>
#include <fcntl.h>
int setmode( int filedes, int mode );

Description:

The setmode() is provided for compatibility with other systems. setmode() performs no useful action under QNX.

Returns:

setmode() always returns O_BINARY under QNX. This manifest is defined in the <fcntl.h> header file.

Classification:

WATCOM

Safety:
Interrupt handler No
Signal handler No
Thread Yes

See also:

chsize(), close(), creat(), dup(), dup2(), eof(), exec... functions, fcntl(), filelength(), fileno(), fstat(), isatty(), lseek(), open(), read(), sopen(), stat(), tell(), umask(), write()


[Previous]
[Contents]
[Next]