Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ dg_lock_kill(2) — DG/UX 4.30

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

fcntl(2)

dg_lcntl(2)

dg_lock_reset(2)

dg_lock_wait(2)

lockf(3)

fcntl(5)



     dglockkill(2)            DG/UX 4.30             dglockkill(2)



     NAME
          dg_lock_kill - Remove locks held by remote lock clients.

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

          int     dg_lock_kill    (count, client_id_list_ptr)
          int             count;
          int *           client_id_list_ptr;

     PARAMETERS
          count          Count of client id's in the list.


          client_id_list_ptr
                         A list of client id's to free.

     DESCRIPTION
          Remove all locks and lock requests owned by the client in
          <client_list_ptr>.  <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 dg_lock_kill operation was successful.


          -1             An error occurred.  Errno indicates the
                         error.

     EXCEPTIONS
          Errno may be set to one of the following error codes
          regardless of the value of <command>:


          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



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





     dglockkill(2)            DG/UX 4.30             dglockkill(2)



                         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
          The related manual sections:  fcntl(2), dg_lcntl(2),
          dg_lock_reset(2), dg_lock_wait(2),
          lockf(3),
          fcntl(5)








































     Licensed material--property of copyright holder(s)         Page 2



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