HP 3000 Manuals

FUNLOCK [ MPE/iX Intrinsics Reference Manual ] MPE/iX 5.0 Documentation


MPE/iX Intrinsics Reference Manual

FUNLOCK 

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            None

Commands              None

Manuals               Resource Management Programmer's Guide 
                      (32650-90024)



MPE/iX 5.0 Documentation