|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T p
Length: 1166 (0x48e) Types: TextFile Names: »patches01«
└─⟦b20c6495f⟧ Bits:30007238 EUUGD18: Wien-båndet, efterår 1987 └─⟦this⟧ »EUUGD18/General/Tt/patches01«
*** tt.h.orig Wed Jun 21 06:46:22 1989 --- tt.h Fri Jun 23 17:17:31 1989 *************** *** 133,135 **** --- 133,154 ---- extern void signal_die (); /* When CTRL-C etc. is pressed */ /*-------------------------------------------------------------------------*/ + /***************************************************************************\ + |* *| + |* The following macros will be defined if FD_ZERO is not defined by *| + |* the system. They simulate the behaviour of 4.3bsd's FD_ macros for *| + |* 4.2bsd machines, (ie. those running Berkeley UNIX, but of earlier *| + |* issue than 4.3; also SunOS, issues earlier than 4.0. *| + |* *| + |* This section added Fri Jun 23 20:18:20 BST 1989 *| + |* Written by Mike Taylor (mirk@uk.ac.warwick.cs) *| + |* *| + \***************************************************************************/ + + #ifndef FD_ZERO + # define fd_set long int + # define FD_ZERO(fds_ptr) *(fds_ptr) = 0 + # define FD_SET(fd, fds_ptr) *(fds_ptr) |= (1<<(fd)) + #endif /* FD_ZERO */ + + /*-------------------------------------------------------------------------*/