/titanic_41/usr/src/cmd/bnu/ |
H A D | uuglist.c | 129 FILE *cfd; in rproc() local 134 cfd = fopen(GRADES, "r"); in rproc() 136 while (rdfulline(cfd, line, BUFSIZ) != 0) { in rproc() 142 (void) fclose(cfd); in rproc() 149 FILE *cfd; in uproc() local 154 cfd = fopen(GRADES, "r"); in uproc() 156 while (rdfulline(cfd, line, BUFSIZ) != 0) { in uproc() 164 (void) fclose(cfd); in uproc()
|
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; in fdgrade() local 200 cfd = fopen(GRADES, "r"); in fdgrade() 204 for (; rdfulline(cfd, line, BUFSIZ) != 0;) { in fdgrade() 221 (void) fclose(cfd); in fdgrade() 229 (void) fclose(cfd); in fdgrade() [all …]
|
/titanic_41/usr/src/lib/libcontract/common/ |
H A D | libcontract_priv.c | 63 int cfd, r; in contract_latest() local 67 if ((cfd = open64(CTFS_ROOT "/process/latest", O_RDONLY)) == -1) in contract_latest() 70 if ((r = ct_status_read(cfd, CTD_COMMON, &st)) != 0) { in contract_latest() 71 (void) close(cfd); in contract_latest() 77 (void) close(cfd); in contract_latest()
|
H A D | libcontract.c | 200 ct_ctl_newct(int cfd, ctevid_t evid, int tfd) in ct_ctl_newct() argument 202 if (ioctl(cfd, CT_CNEWCT, tfd) == -1) in ct_ctl_newct()
|
/titanic_41/usr/src/lib/libc/port/gen/ |
H A D | _xftw.c | 277 int fd, cfd; in nocdopendir() local 298 if ((cfd = openat(fd, token, O_RDONLY)) < 0) { in nocdopendir() 305 fd = cfd; in nocdopendir() 324 int fd, cfd; in nocdstat() local 347 if ((cfd = openat(fd, token, O_RDONLY)) < 0) { in nocdstat() 354 fd = cfd; in nocdstat()
|
H A D | nftw.c | 691 int fd, cfd; in nocdopendir() local 707 if ((cfd = openat(fd, token, O_RDONLY)) < 0) { in nocdopendir() 714 fd = cfd; in nocdopendir()
|
/titanic_41/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); in main() 214 if (ioctl(cfd, I_STR, &sioc) < 0) { in main() 277 if (ioctl(cfd, I_STR, &sioc) < 0) { in main() 290 if (ioctl(cfd, I_STR, &sioc) < 0) { in main() 360 if (ioctl(cfd, I_STR, &sioc) < 0) { in first_packet() 401 if (ioctl(cfd, I_STR, &sioc) < 0) { in first_packet() 429 if (ioctl(cfd, I_STR, &sioc) < 0) { in many_packets() 516 if (ioctl(cfd, I_STR, &sioc) < 0) { in many_packets()
|
/titanic_41/usr/src/cmd/ipf/lib/common/ |
H A D | ipft_hx.c | 50 int cfd = tfd; in hex_close() local 53 return close(cfd); in hex_close()
|
H A D | ipft_tx.c | 142 int cfd = tfd; in text_close() local 145 return close(cfd); in text_close()
|
/titanic_41/usr/src/cmd/logadm/ |
H A D | conf.c | 445 int cfd, tfd; in conf_close() local 473 if ((cfd = mkstemp(cuname)) == -1) in conf_close() 478 if (fchmod(cfd, 0644) == -1) in conf_close() 480 if ((cfp = fdopen(cfd, "w")) == NULL) in conf_close()
|
/titanic_41/usr/src/cmd/ssh/sshd/ |
H A D | sshd.c | 407 int cfd, n; in contracts_post_fork_parent() local 424 if ((cfd = open64(CTFS_ROOT "/process/latest", O_RDONLY)) == -1) { in contracts_post_fork_parent() 430 if ((errno = ct_status_read(cfd, CTD_COMMON, &st)) != 0) { in contracts_post_fork_parent() 433 (void) close(cfd); in contracts_post_fork_parent() 439 (void) close(cfd); in contracts_post_fork_parent() 449 if ((cfd = open64(path, O_WRONLY)) == -1) { in contracts_post_fork_parent() 455 if ((errno = ct_ctl_abandon(cfd))) in contracts_post_fork_parent() 461 (void) close(cfd); in contracts_post_fork_parent()
|
/titanic_41/usr/src/cmd/syslogd/ |
H A D | syslogd.c | 2388 int cfd, modes; in logerror_to_console() local 2409 if (((cfd = open(sysmsg, modes)) >= 0) || in logerror_to_console() 2410 ((cfd = open(ctty, modes)) >= 0)) { in logerror_to_console() 2413 if (write(cfd, tmpbuf, len) != len) { in logerror_to_console() 2416 (void) close(cfd); in logerror_to_console()
|
/titanic_41/usr/src/cmd/zonestat/zonestatd/ |
H A D | zonestatd.c | 668 int cfd, r; in contract_latest() local 672 if ((cfd = open64(CTFS_ROOT "/process/latest", O_RDONLY)) == -1) in contract_latest() 675 if ((r = ct_status_read(cfd, CTD_COMMON, &st)) != 0) { in contract_latest() 676 (void) close(cfd); in contract_latest() 682 (void) close(cfd); in contract_latest()
|
/titanic_41/usr/src/lib/libscf/common/ |
H A D | lowlevel.c | 616 int cfd = arg.desc_ptr->d_data.d_desc.d_id; in make_door_call() local 617 (void) close(cfd); in make_door_call() 696 int cfd = in make_door_call_retfd() local 698 (void) close(cfd); in make_door_call_retfd()
|
/titanic_41/usr/src/data/hwdata/ |
H A D | usb.ids | 17983 1cfd Flextronics Digital Design Japan, LTD.
|