HPlogo MPE/iX Intrinsics Reference Manual > Chapter 6 Command Definitions (FLUSHLOG-GETUSERMODE)

FUNLOCK

MPE documents

Complete PDF
Table of Contents
Index

Edition 7 E0701 ♥
Edition 7 E0300
Edition 6 E0195

NM and CM callable.

Dynamically unlocks a file's global resource identification number (RIN) that was locked with the FLOCK intrinsic.

Syntax



           I16V
  FUNLOCK (filenum);

Parameters


filenum

16-bit signed integer by value (required)

Passes the file number of the file whose global RIN is to be unlocked.

Condition Codes


CCE (2)Request granted.
CCG (0)Request denied. The calling process did not lock the file.
CCL (1)Request denied. The file was not opened with the dynamic locking aoption of the FOPEN/HPFOPEN intrinsic, or the filenum parameter is invalid.

Related Information


Intrinsics FLOCK
Manuals Resource Management Programmer's Guide




FSPACE


FUPDATE