HPlogo 900 Series HP 3000 Computer Systems: MPE/iX Intrinsics Reference Manual > Chapter 4 Command Definitions

FUNLOCK

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

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)

Feedback to webmaster