[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
Function setcdevicemoderaw - set character device mode
Syntax int setcdevicemoderaw(int handle, boolean setraw);
Prototype in doshhk.h
Remarks setcdevicemoderaw() sets the mode for a character
device associated with handle to "cooked" or "raw"
mode. In cooked mode, DOS performs some translation
of characters, while in raw mode no translation is
performed.
Return value setcdevicemoderaw returns the device's original
mode settings as follows:
1: raw mode
0: cooked mode
-1: error
If there was an error, Borland's variable errno
will contain the error code as follows:
1 function number invalid
4 no handle available
5 access denied
6 handle invalid or not open
13 data invalid
See also iscdevicemoderaw(), isdrivelocal(), ishandlelocal(),
isRedirectStdin(), isRedirectStdout(),
isremoveable()
See Also:
iscdevicemoderaw()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson