Searched refs:cfd (Results 1 - 11 of 11) sorted by relevance
/freebsd-10.2-release/contrib/openbsm/bin/auditdistd/ |
H A D | faccessat.h | 42 int cfd, error, ret; local 49 cfd = open(".", O_RDONLY | O_DIRECTORY); 50 if (cfd == -1) 55 (void)close(cfd); 63 (void)fchdir(cfd); 64 (void)close(cfd);
|
H A D | fstatat.h | 44 int cfd, error, ret; local 46 cfd = open(".", O_RDONLY | O_DIRECTORY); 47 if (cfd == -1) 52 (void)close(cfd); 63 (void)fchdir(cfd); 64 (void)close(cfd);
|
H A D | renameat.h | 41 int cfd, error, ret; local 48 cfd = open(".", O_RDONLY | O_DIRECTORY); 49 if (cfd == -1) 54 (void)close(cfd); 62 (void)fchdir(cfd); 63 (void)close(cfd);
|
H A D | unlinkat.h | 43 int cfd, error, ret; local 45 cfd = open(".", O_RDONLY | O_DIRECTORY); 46 if (cfd == -1) 51 (void)close(cfd); 62 (void)fchdir(cfd); 63 (void)close(cfd);
|
H A D | openat.h | 42 int cfd, ffd, error; local 44 cfd = open(".", O_RDONLY | O_DIRECTORY); 45 if (cfd == -1) 50 (void)close(cfd); 69 (void)fchdir(cfd); 70 (void)close(cfd);
|
/freebsd-10.2-release/usr.sbin/bluetooth/sdpd/ |
H A D | server.c | 293 int32_t cfd, priv; local 298 cfd = accept(fd, NULL, NULL); 299 } while (cfd < 0 && errno == EINTR); 301 if (cfd < 0) { 308 assert(!FD_ISSET(cfd, &srv->fdset)); 309 assert(!srv->fdidx[cfd].valid); 316 if (getsockname(cfd,(struct sockaddr*)&srv->req_sa,&size) < 0) { 319 close(cfd); 325 if (getsockopt(cfd,SOL_L2CAP,SO_L2CAP_OMTU,&omtu,&size) < 0) { 328 close(cfd); [all...] |
/freebsd-10.2-release/contrib/ipfilter/lib/ |
H A D | ipft_hx.c | 52 int cfd = tfd; local 55 return close(cfd);
|
H A D | ipft_tx.c | 109 int cfd = tfd; local 112 return close(cfd);
|
/freebsd-10.2-release/contrib/netbsd-tests/lib/libc/ttyio/ |
H A D | t_ptm.c | 86 REQUIRE_ERRNO(fstat(ptm.cfd, &stm), -1); 102 (void)close(ptm.cfd);
|
/freebsd-10.2-release/usr.sbin/moused/ |
H A D | moused.c | 409 int cfd; /* /dev/consolectl file descriptor */ member in struct:rodentparam 436 .cfd = -1, 939 if (rodent.cfd != -1) 940 close(rodent.cfd); 941 rodent.mfd = rodent.cfd = -1; 1026 if ((rodent.cfd = open("/dev/consolectl", O_RDWR, 0)) == -1) 1066 extioctl = (ioctl(rodent.cfd, CONS_MOUSECTL, &mouse) == 0); 1298 ioctl(rodent.cfd, CONS_MOUSECTL, &mouse); 1314 ioctl(rodent.cfd, CONS_MOUSECTL, &mouse); 1337 ioctl(rodent.cfd, CONS_MOUSECT [all...] |
/freebsd-10.2-release/usr.sbin/pmcstat/ |
H A D | pmcstat_log.c | 1772 int error, fd, cfd; local 1830 cfd = accept(fd, NULL, NULL); 1832 if (cfd < 0) { 1837 fd = cfd;
|
Completed in 138 milliseconds