Searched defs:cfd (Results 1 - 13 of 13) sorted by relevance

/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dipft_hx.c50 int cfd = tfd; local
53 return close(cfd);
H A Dipft_tx.c142 int cfd = tfd; local
145 return close(cfd);
/illumos-gate/usr/src/cmd/bnu/
H A Duuglist.c129 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 Dgrades.c138 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 Dlibcontract_priv.c63 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 Dlibcontract.c198 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.c277 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 Dnftw.c691 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 Dsyncloop.c63 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 Dconf.c453 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 Dsyslogd.c2388 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 Dlowlevel.c616 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 Dzonestatd.c668 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);

Completed in 97 milliseconds