HomeSort by relevance Sort by last modified time
    Searched refs:nullfd (Results 1 - 2 of 2) sorted by null

  /external/ltp/testcases/kernel/fs/fs-bench/
random-access.c 20 int nullfd; variable
45 if ((nullfd = open("/dev/null", O_WRONLY)) < 0) {
59 close(nullfd);
78 if (write(nullfd, buf, c) < 0) {
  /external/dnsmasq/src/
dnsmasq.c 298 int nullfd; local
368 nullfd = open("/dev/null", O_RDWR);
369 dup2(nullfd, STDOUT_FILENO);
370 dup2(nullfd, STDERR_FILENO);
371 dup2(nullfd, STDIN_FILENO);
372 close(nullfd);

Completed in 103 milliseconds