MCPcopy Create free account
hub / github.com/crownengine/crown / set_fds

Method set_fds

src/device/main_linux.cpp:407–417  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

405 }
406
407 int set_fds(fd_set *fdset, int max_fd)
408 {
409 for (int i = 0; i < CROWN_MAX_JOYPADS; ++i) {
410 if (_fd[i] != -1) {
411 FD_SET(_fd[i], fdset);
412 max_fd = max(max_fd, _fd[i]);
413 }
414 }
415
416 return max_fd;
417 }
418
419 void update(fd_set *fdset)
420 {

Callers 1

runMethod · 0.45

Calls 1

maxFunction · 0.50

Tested by

no test coverage detected