Searched refs:cfd (Results 1 - 10 of 10) sorted by relevance

/freebsd-10.1-release/contrib/openbsm/bin/auditdistd/
H A Dfaccessat.h42 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 Dfstatat.h44 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 Drenameat.h41 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 Dunlinkat.h43 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 Dopenat.h42 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.1-release/usr.sbin/bluetooth/sdpd/
H A Dserver.c293 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.1-release/contrib/ipfilter/lib/
H A Dipft_hx.c52 int cfd = tfd; local
55 return close(cfd);
H A Dipft_tx.c109 int cfd = tfd; local
112 return close(cfd);
/freebsd-10.1-release/usr.sbin/moused/
H A Dmoused.c409 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.1-release/usr.sbin/pmcstat/
H A Dpmcstat_log.c1771 int error, fd, cfd; local
1829 cfd = accept(fd, NULL, NULL);
1831 if (cfd < 0) {
1836 fd = cfd;

Completed in 69 milliseconds