Synopsis:
sys_fhunlock(file_handle,position)
Arguments:
file_handle - The file handle
position - The byte offset in the file to unlock
Description: This function allows a task to release a lock it previously obtained by a call to sys_fhlock(). The current task must have made a sucessful call to sys_fhlock() for a region starting at the same byte position.
Note that locks are automatically removed and files all closed if a task stops or is killed (including if it encounters a restart statement or chains to another task).
Return Value:
Returns 0 on sucess or a negative error code.