ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/util/netproc.c
(Generate patch)

Comparing ray/src/util/netproc.c (file contents):
Revision 2.6 by gregl, Thu Sep 18 16:10:19 1997 UTC vs.
Revision 2.8 by gregl, Tue Oct 28 14:01:39 1997 UTC

# Line 9 | Line 9 | static char SCCSid[] = "$SunId$ LBL";
9   */
10  
11   #include <stdio.h>
12 #include <sys/types.h>
13 #include <sys/select.h>
12   #include <signal.h>
13   #include <fcntl.h>
14 + #include "selcall.h"
15   #include "netproc.h"
16   #include "paths.h"
17   #include "vfork.h"
19                                        /* select call compatibility stuff */
20 #ifndef FD_SETSIZE
21 #include <sys/param.h>
22 #define FD_SETSIZE      NOFILE          /* maximum # select file descriptors */
23 #endif
24 #ifndef FD_SET
25 #ifndef NFDBITS
26 #define NFDBITS         (8*sizeof(int)) /* number of bits per fd_mask */
27 #endif
28 #define FD_SET(n, p)    ((p)->fds_bits[(n)/NFDBITS] |= (1 << ((n) % NFDBITS)))
29 #define FD_CLR(n, p)    ((p)->fds_bits[(n)/NFDBITS] &= ~(1 << ((n) % NFDBITS)))
30 #define FD_ISSET(n, p)  ((p)->fds_bits[(n)/NFDBITS] & (1 << ((n) % NFDBITS)))
31 #ifndef BSD
32 #define bzero(d,n)      (void)memset(d,0,n)
33 #endif
34 #define FD_ZERO(p)      bzero((char *)(p), sizeof(*(p)))
35 #endif
18  
19   PSERVER *pslist = NULL;         /* global process server list */
20  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines