--- Net2/sys/select.h 2018/04/24 18:10:46 1.1 +++ Net2/sys/select.h 2018/04/24 18:17:02 1.1.1.2 @@ -24,7 +24,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * select.h,v 1.5 1993/05/20 16:23:02 cgd Exp + * select.h,v 1.5 1993/05/20 16:23:02 cgd Exp */ #ifndef _SYS_SELECT_H_ @@ -33,16 +33,18 @@ /* definiton of info needed to do select on behalf of a device */ struct selinfo { - pid_t si_pid; /* process id to be awakened */ - int si_coll; /* collision? */ + pid_t si_pid; /* process id to be awakened */ + int si_coll; /* collision? */ }; #ifdef KERNEL struct proc; /* record a select request */ -void selrecord __P((struct proc *, struct selinfo *)); +void selrecord __P((struct proc *, struct selinfo *)); +/* wakeup a selecting proc */ +void selwakeup __P((struct selinfo *)); #endif /* KERNEL */ #endif /* !_SYS_SELECT_H_ */