Asynchronous Communications Using select and poll
By Sean Eric Fagan
Dr. Dobb's Journal September 1998
struct procfs_event { unsigned int p_stops; /* event bitmask */ unsigned int p_stype; /* What stopped the proc. */ char p_step; /* flag indicating proc is stopped */ unsigned char p_pfsflags; /* procfs flags */ struct selinfo p_sel; /* for select/poll */ };
Example 2: procfs-related structure.
Copyright © 1998, Dr. Dobb's Journal