Programmatically clears the I/O file object current I/O and write options and sets new permission.
This method does not perform error checking.
fixOptns(int opt);
Argument |
Description |
---|---|
opt |
The mnemonic associated with the option being set. For any mnemonic not passed in the argument, the option is set to off. To alter multiple options, place a pipe symbol ( | ) between each mnemonic. See Table 5-1 for a list of mnemonics. |
None.
Table 5-1 lists available mnemonics for the opt argument. Each description corresponds to an option on the user interface screens.
Mnemonic |
Description |
---|---|
RDONLY |
Read Only |
WRONLY |
Write Only |
RDWR |
Read and Write Only |
APPEND |
Append |
TRUNC |
Truncate |
CREAT |
Create |
EXCL |
Exclusive |
Pointer to object |
Object |
---|---|
|
|
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |