1/* 2 * Copyright (c)1996-2002 by Hartmut Brandt 3 * All rights reserved. 4 * 5 * Author: Hartmut Brandt 6 * 7 * Redistribution of this software and documentation and use in source and 8 * binary forms, with or without modification, are permitted provided that --- 29 unchanged lines hidden (view full) --- 38 39typedef void (*poll_f)(int fd, int mask, void *arg); 40typedef void (*timer_f)(int, void *); 41 42int poll_register(int fd, poll_f func, void *arg, int mask); 43void poll_unregister(int); 44void poll_dispatch(int wait); 45int poll_start_timer(u_int msecs, int repeat, timer_f func, void *arg); |
46int poll_start_utimer(unsigned long long usecs, int repeat, timer_f func, 47 void *arg); |
48void poll_stop_timer(int); 49 50# if defined(POLL_IN) 51# undef POLL_IN 52# endif 53# if defined(POLL_OUT) 54# undef POLL_OUT 55# endif --- 13 unchanged lines hidden --- |