Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ dg_lock_kill(2) — DG/UX 5.4.2A

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

fcntl(2)

lockf(3C)

fcntl(5)



dg_lock_kill(2)                  DG/UX 5.4.2                 dg_lock_kill(2)


NAME
       dglockkill - remove locks held by remote lock clients

SYNOPSIS
       #include <sys/fcntl.h>
       #include <sys/nfs.h>

       int   dglockkill (count, clientidlistptr)
       int   count;
       int * clientidlistptr;

   where:
       count               Count of client id's in the list
       clientidlistptr  A list of client id's to free

DESCRIPTION
       Remove all locks and lock requests owned by the client in
       clientlistptr.  count gives the number of entries in the list.

       The only process that uses this function is the network lock server,
       rpc.lockd.

ACCESS CONTROL
       The caller must be super-user.

RETURN VALUE
       0      The dglockkill operation was successful.

       -1     An error occurred.  errno indicates the error.

DIAGNOSTICS
       Errno may be set to one of the following error codes:

       EPERM     Must be super-user to use this system call.

       EINVAL    Count is less than or equal to zero.

       ENOMEM    There is not enough memory to process the request.

       EFAULT    One of the arguments points outside of the process's
                 readable address space.

       EINTR     The process received a signal while processing the request.

       ENOLOCK   The command can not be satisfied because there are no more
                 record locks available.

SEE ALSO
       fcntl(2), dglcntl(2), dglockreset(2), dglockwait(2), lockf(3C),
       fcntl(5).







Licensed material--property of copyright holder(s)                         1


Typewritten Software • bear@typewritten.org • Edmonds, WA 98026