/illumos-gate/usr/src/cmd/ipf/lib/common/ |
H A D | ipft_hx.c | 50 int cfd = tfd; local 53 return close(cfd);
|
H A D | ipft_tx.c | 142 int cfd = tfd; local 145 return close(cfd);
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | uuglist.c | 129 FILE *cfd; local 134 cfd = fopen(GRADES, "r"); 136 while (rdfulline(cfd, line, BUFSIZ) != 0) { 142 (void) fclose(cfd); 149 FILE *cfd; local 154 cfd = fopen(GRADES, "r"); 156 while (rdfulline(cfd, line, BUFSIZ) != 0) { 164 (void) fclose(cfd);
|
H A D | grades.c | 138 FILE *cfd; local 152 cfd = fopen(GRADES, "r"); 156 while (rdfulline(cfd, line, BUFSIZ) != 0) { 165 (void) fclose(cfd); 171 (void) fclose(cfd); 194 FILE *cfd; local 200 cfd = fopen(GRADES, "r"); 204 for (; rdfulline(cfd, line, BUFSIZ) != 0;) { 221 (void) fclose(cfd); 229 (void) fclose(cfd); 597 FILE *cfd; local [all...] |
/illumos-gate/usr/src/lib/libcontract/common/ |
H A D | libcontract_priv.c | 63 int cfd, r; local 67 if ((cfd = open64(CTFS_ROOT "/process/latest", O_RDONLY)) == -1) 70 if ((r = ct_status_read(cfd, CTD_COMMON, &st)) != 0) { 71 (void) close(cfd); 77 (void) close(cfd);
|
H A D | libcontract.c | 198 ct_ctl_newct(int cfd, ctevid_t evid, int tfd) argument 200 if (ioctl(cfd, CT_CNEWCT, tfd) == -1)
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | _xftw.c | 277 int fd, cfd; local 298 if ((cfd = openat(fd, token, O_RDONLY)) < 0) { 305 fd = cfd; 324 int fd, cfd; local 347 if ((cfd = openat(fd, token, O_RDONLY)) < 0) { 354 fd = cfd;
|
H A D | nftw.c | 691 int fd, cfd; local 707 if ((cfd = openat(fd, token, O_RDONLY)) < 0) { 714 fd = cfd;
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | syncloop.c | 63 static int cfd, dfd; /* control and data descriptors */ variable 208 cfd = dlpi_fd(dh); 214 if (ioctl(cfd, I_STR, &sioc) < 0) { 277 if (ioctl(cfd, I_STR, &sioc) < 0) { 290 if (ioctl(cfd, I_STR, &sioc) < 0) { 360 if (ioctl(cfd, I_STR, &sioc) < 0) { 401 if (ioctl(cfd, I_STR, &sioc) < 0) { 429 if (ioctl(cfd, I_STR, &sioc) < 0) { 516 if (ioctl(cfd, I_STR, &sioc) < 0) {
|
/illumos-gate/usr/src/cmd/logadm/ |
H A D | conf.c | 453 int cfd, tfd; local 481 if ((cfd = mkstemp(cuname)) == -1) 486 if (fchmod(cfd, 0644) == -1) 488 if ((cfp = fdopen(cfd, "w")) == NULL)
|
/illumos-gate/usr/src/cmd/syslogd/ |
H A D | syslogd.c | 2388 int cfd, modes; local 2409 if (((cfd = open(sysmsg, modes)) >= 0) || 2410 ((cfd = open(ctty, modes)) >= 0)) { 2413 if (write(cfd, tmpbuf, len) != len) { 2416 (void) close(cfd);
|
/illumos-gate/usr/src/lib/libscf/common/ |
H A D | lowlevel.c | 616 int cfd = arg.desc_ptr->d_data.d_desc.d_id; local 617 (void) close(cfd); 696 int cfd = local 698 (void) close(cfd);
|
/illumos-gate/usr/src/cmd/zonestat/zonestatd/ |
H A D | zonestatd.c | 668 int cfd, r; local 672 if ((cfd = open64(CTFS_ROOT "/process/latest", O_RDONLY)) == -1) 675 if ((r = ct_status_read(cfd, CTD_COMMON, &st)) != 0) { 676 (void) close(cfd); 682 (void) close(cfd);
|