search for: channel_zero_set

Displaying 1 result from an estimated 1 matches for "channel_zero_set".

2001 Aug 02
0
patch: properly zeroing fd_set in clientloop
...- next part -------------- --- channels.h~ Wed Jun 13 15:18:05 2001 +++ channels.h Thu Jul 12 08:31:58 2001 @@ -168,6 +168,13 @@ void channel_free(int channel); /* + * Zero out a select file-descriptor set. Analogous to the FD_ZERO + * macro, but works with different-sized sets. + */ +void +channel_zero_set(fd_set *setp, int maxfdp); + +/* * Allocate/update select bitmasks and add any bits relevant to channels in * select bitmasks. */ --- channels.c~ Wed Jun 13 15:18:05 2001 +++ channels.c Thu Jul 12 08:32:53 2001 @@ -1160,6 +1160,14 @@ } void +channel_zero_set(fd_set *setp, int maxfdp) +{ +...