Purpose
Removes the tag name on an Oracle ACFS file.
Syntax
sb8 acfsremovetag(const oratext *path, const oratext *tagname, ub4 flags);
Table 18-5 contains the options available with the acfsremovetag
command.
Table 18-5 Options for the acfsremovetag command
Option | Description |
---|---|
|
Specifies a pointer to a file or directory path name. |
|
Specifies a pointer to a NULL-terminated Oracle ACFS tag name in the format of a valid tag name for regular files and directories. |
|
Reserved for future use. Must be set to |
Description
The acfsremovetag
library call removes a tag name on an Oracle ACFS file. The return value is ACFS_TAG_SUCCESS
or ACFS_TAG_FAIL
. For information about operating system-specific extended error information values that may be obtained when an ACFS_TAG_FAIL
is returned, refer to "Oracle ACFS Tagging Error Values".
Examples
Example 18-5 is an example of the use of the acfsremovetag
function call.
Example 18-5 Removing file tags
sb8 rc; const oratext *path= "/mnt/dir1/dir2/file2"; const oratext *tagname = "patch_set_11_1"; rc = acfsremovetag (path, tagname, 0); If (rc == ACFS_TAG_FAIL) /* check errno or GetLastError() to process error returns */