Declaration define external function FS_DeleteFile
value stream currentpath
status modifiable stream statusvalue
Purpose
The omfsys library has been deprecated and will be removed from a future version of the language. Use omvfs instead.
This function will remove a specified file from the file system.
Input argument:
- "currentpath" is the name and location of the file to delete. If "currentpath" refers to a link, the link entry is removed.
Output argument:
- "statusvalue". This contains either a zero length string when the function succeeds, or one of the following error codes:
- "EACCES" -- no search permission on a component of the path name
- "EBUSY" -- the file or link is the mount point for the file system
- "EINTR" -- a signal was caught while the function was executing
- "ELOOP" -- (UNIX only) a link recursion was detected
- "EMULTIHOP" -- (UNIX only) remote machine access is required, but not allowed
- "ENAMETOOLONG" -- the path name exceeds system limits
- "ENOENT" -- the specified path or file does not exist
- "ENOLINK" -- (UNIX only) a required link to a remote machine is inactive
- "ENOTDIR" -- the path name is not a valid directory
- "EPERM" -- the user does not have the required permission
- "EROFS" -- the files resides on a read-only file system
Note that "currentpath" must be a valid file name, and the user must have sufficient permissions on the files and directories involved.
|
Related Topics
|
Other Library Functions
|
OmniMark 9.1.0 Documentation Generated: September 2, 2010 at 1:38:10 pm
If you have any comments about this section of the documentation, please use this form.
Copyright © Stilo International plc, 1988-2010.