File: fdset.c

package info (click to toggle)
haskell-x11 1.10.3-3
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 1,392 kB
  • sloc: haskell: 761; ansic: 160; makefile: 2
file content (6 lines) | stat: -rw-r--r-- 138 bytes parent folder | download | duplicates (9)
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); }