File: fdset.c

package info (click to toggle)
haskell-x11 1.4.2-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 568 kB
  • ctags: 53
  • sloc: haskell: 734; ansic: 108; makefile: 79; sh: 43
file content (6 lines) | stat: -rw-r--r-- 138 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
#include "HsXlib.h"

#include <string.h>

void fdZero(fd_set *set) { FD_ZERO(set); }
void fdSet(int fd, fd_set *set) { FD_SET(fd, set); }