
dump_file_descriptors(3L)PC Library Functiondsump_file_descriptors(3)

NNAAMMEE
       dump_file_descriptors()  -  dump  the  Majik  process file
       descriptor table

SSYYNNOOPPSSIISS
       void dump_file_descriptors( void );

DDEESSCCRRIIPPTTIIOONN
       This function is provided to assist in debugging the Majik
       driver and helps overcome deficiencies in some UN*X imple       mentations which do not  provide  equivalent  or  superior
       debugging  facilities  as  part  of  the  operating system
       itself.  The interpretation of the output is very  system-
       dependent.   Each  file descriptor is checked to determine
       whether it refers to an open file.  If so, information  is
       displayed  from  the  "stat  structure"  returned  by  the
       fstat() system call.

       The following output was produced on Lambda Realms running
       on a Sequent DYNIX/ptx system:

       Fd  Device Number  Inode   Mode    Uid    Gid      Size
       --  -------------  -----  ------  -----  -----  ----------
        0     3      2    10319  c  666      0      3           0
        1    79      7   164598  f  644   2862      1      789522
        2    79      7   164598  f  644   2862      1      789522
        3    40    33b     6925  c    0   2862      1           0
        4    40    2a4     6943  c    0   2862      1           0
        5    79      7   164599  f  600   2862      1       44784
        6    40    2e2   145996  c    0   2862      1           0
        7    79      7   164601  f  644   2862      1         506

SSEEEE AALLSSOO
       dump_socket_status(3)

Majik                      26 Jul 1997                          1

