[BACK]Return to file.h CVS log [TXT][DIR] Up to [local] / src / usr.bin / sndiod

Diff for /src/usr.bin/sndiod/file.h between version 1.2 and 1.3

version 1.2, 2015/07/17 09:51:18 version 1.3, 2015/07/17 10:15:24
Line 47 
Line 47 
   
 struct file {  struct file {
         struct file *next;              /* next in file_list */          struct file *next;              /* next in file_list */
         struct pollfd *pfd;             /* arg to poll(2) syscall */  
         struct fileops *ops;            /* event handlers */          struct fileops *ops;            /* event handlers */
         void *arg;                      /* argument to event handlers */          void *arg;                      /* argument to event handlers */
 #define FILE_INIT       0               /* ready */  #define FILE_INIT       0               /* ready */
 #define FILE_ZOMB       1               /* closed, but not free()d yet */  #define FILE_ZOMB       1               /* closed, but not free()d yet */
         unsigned int state;             /* one of above */          unsigned int state;             /* one of above */
         unsigned int max_nfds;          /* max number of descriptors */          unsigned int max_nfds;          /* max number of descriptors */
           int nfds;                       /* number of descriptors polled */
         char *name;                     /* for debug purposes */          char *name;                     /* for debug purposes */
 };  };
   

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3