SYS_ENQ_lockf man page on DigitalUNIX

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
DigitalUNIX logo
[printable version]

SYS$ENQ (OpenVMS)					     SYS$ENQ (OpenVMS)

NAME
       fcntl - control open file descriptors

       SYS$ENQ - Queue lock request

EXPLAINATION
       The  Digital  UNIX  fcntl system call provides functionality similar to
       the OpenVMS SYS$ENQ system service in that it allows the calling	 func‐
       tion  to	 set  a	 lock on a portion of a file.  UNIX files are not con‐
       structed of records so it is only possible to lock sequential  sections
       of  a  file.   Locking  can  be effected by calling fcntl with the file
       descriptor of the file to lock, a command of F_SETLK and a flock struc‐
       ture  indicating what section of the file to lock.  If fcntl was unable
       to obtain the lock an error is returned.	 However, no (callback) AST is
       queued  and the lock must be retried manually.  The lockf function is a
       front end to the fcntl system call.

RELATED INFORMATION
       Digital UNIX Functions:

	   fcntl(2), open(2), lockf(3), semget(2) delim off

							     SYS$ENQ (OpenVMS)
[top]

List of man pages available for DigitalUNIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net