>>-v_rmdir--vntoken--dirname-----------------------------------><
Function
v_rmdir invokes the v_rmdir callable service to remove
an empty directory.
Parameters
- vntoken
- A variable name that contains the vnode token for the directory
from which dirname is to be removed.
- dirname
- The name of the empty directory to be removed.
Usage notes
- The directory specified by dirname must be empty.
- If the directory is successfully removed, the change and modification
times for the parent directory are updated.
- If any process has the directory open when it is removed, the
directory itself is not removed until the last process closes the
directory. New files cannot be created under a directory that is removed,
even if the directory is still open.
Example
In the following example, assume that
dirtok and
dirname were
assigned values earlier in the exec:
"v_rmdir dirtok (dirname)"