>>-v_open--vntoken--accessintent--denyvalue--opentoken---------><
Function
v_open opens an existing file and optionally establishes
share reservations on the file.
Parameters
- vntoken
- A variable name that contains the vnode token for the directory
of the file that is to be opened.
- accessintent
- A number used to specify the intended access mode, read, write,
or both. You can specify one of the predefined variables to set the
value:
- denyvalue
- A number used to specify access modes to be denied, read, write,
or both. You can specify one of the predefined variables to set the
value:
- opentoken
- A variable name that will contain the open token on successful
completion of the service. The open token can be used on v_close,
v_read, _setattro, and v_write services to perform the operation under
context of this open.
Example
Open a file represented by vntok for read and deny opens for write:
""v_open vntok" o_rdonly o_wronly "otok"