+.ta 2n
+.B "enum {"
+.B " SEL_READ = ...,"
+.B " SEL_WRITE = ...,"
+.B " SEL_EXC = ...,"
+.B " SEL_MODES = ..."
+.B "};"
+
+.B "typedef struct { ...\& } sel_state;"
+.B "typedef struct { ...\& } sel_timer;"
+.B "typedef struct { ...\& } sel_hook;"
+
+.B "typedef struct {"
+.B " int fd;"
+.B " ..."
+.B "} sel_file;"
+
+.B "typedef struct {"
+.B " int maxfd;"
+.B " fd_set fd[SEL_MODES];"
+.B " struct timeval tv, *tvp;"
+.B " struct timeval now;"
+.B "} sel_args;"
+
+.BI "typedef void (*sel_hookfn)(sel_state *" s ", sel_args *" a ", void *" p );
+