Pegasus InfoCorp: Web site design and web software development company

LAM_RFSTATE (2)

Report status of remote LAM file descriptors.

SYNOPSIS

    0 #include <freq.h> int lam_rfstate(int node, struct fstate *table, int maxsize); 1

DESCRIPTION

    The remote function lam_rfstate() accesses a remote LAM file daemon and returns status information on all file descriptors.

    The arguments to lam_rfstate() are: node , the target node identifier; table , an array of structures where status information will be stored; and maxsize , the number of elements in that array.

    The file status structure is defined in <freq.h>.

      1i 2i
      struct fstate {
              int     fs_tfd
              int     fs_tflags
              int     fs_flow
              int     fs_src_node
              int     fs_src_event
              int     fs_ncubix
              int     fs_nheard
              int     fs_req
              char    fs_name[24]
      };