miva_lockfile()#
Syntax
miva_lockfile( path, location )
Returns#
Returns 1 if sucessful, -1 if fails
Parameters#
Parameter | Description |
---|---|
path |
fully qualified path to the file |
location |
location of the file - ‘data’ or ‘script’ |
Use fdelete() or sdelete() to delete the lockfile. |