Searched refs:tmp_fd (Results 1 - 4 of 4) sorted by relevance

/osnet-11/usr/src/lib/libwrap/
H A Dshell_cmd.c77 int tmp_fd; local
88 for (tmp_fd = 0; tmp_fd < 3; tmp_fd++)
89 (void) close(tmp_fd);
/osnet-11/usr/src/lib/cfgadm_plugins/fp/common/
H A Dcfga_rep.c161 if (tmp_fd != -1) { \
162 close(tmp_fd); \
221 int fd, copy_fd, tmp_fd, new_file_flag = 0; local
230 fd = copy_fd = tmp_fd = -1;
441 if ((tmp_fd = open(tmp_rep, O_RDWR|O_CREAT|O_TRUNC,
447 if (lseek(tmp_fd, size - 1, SEEK_SET) == -1) {
452 if (write(tmp_fd, "", 1) != 1) {
458 MAP_SHARED, tmp_fd, 0)) == MAP_FAILED) {
489 if (fchmod(tmp_fd, S_IRUSR | S_IRGRP | S_IROTH) < 0) {
495 close(tmp_fd); tmp_f
[all...]
/osnet-11/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftKeystoreUtil.c737 int version, tmp_fd; local
742 tmp_fd = open_nointr(tmp_fname,
744 if (tmp_fd < 0) {
759 if (writen_nointr(tmp_fd, buf, KS_PKCS11_VER_SIZE) !=
776 if (writen_nointr(tmp_fd, (void *)&version, KS_VER_SIZE)
784 if (writen_nointr(tmp_fd, buf, nread) != nread) {
790 (void) close(tmp_fd);
794 (void) close(tmp_fd);
2480 int fd, ks_fd, tmp_fd, version; local
2538 tmp_fd
[all...]
/osnet-11/usr/src/lib/libnsl/nss/
H A Dnetdir_inet_sundry.c650 int tmp_fd; local
675 tmp_fd = _so_socket(family, SOCK_DGRAM, 0, NULL, SOV_SOCKBSD);
676 if (tmp_fd < 0) {
682 if (_so_connect(tmp_fd, sock, sock_len, SOV_SOCKBSD) < 0) {
700 (void) close(tmp_fd);
706 if (_so_getsockname(tmp_fd, sock, &sock_len, SOV_DEFAULT) < 0) {
708 (void) close(tmp_fd);
723 (void) close(tmp_fd);

Completed in 30 milliseconds