function copy_fds

[edit]
static void copy_fds(fd_set *dst, fd_set *src, int max)

fd_set src を dst にコピーします。 max は select(2) の第一引数と同じ意味です。