Searched defs:fd1 (Results 1 - 7 of 7) sorted by relevance
/osnet-11/usr/src/lib/libfedfs/common/ |
H A D | get_rp_data.c | 62 int fd1, fd2; local 64 fd1 = open(path, O_RDONLY); 65 if (fd1 == -1) 67 fd2 = openat(fd1, REFERRAL_EA, O_RDONLY | O_XATTR); 68 (void) close(fd1);
|
/osnet-11/usr/src/lib/libc/port/sys/ |
H A D | link.c | 34 linkat(int fd1, const char *path1, int fd2, const char *path2, int flag) argument 36 return (syscall(SYS_linkat, fd1, path1, fd2, path2, flag));
|
/osnet-11/usr/src/lib/libsocket/socket/ |
H A D | socketpair.c | 91 int fd1, fd2; local 97 fd1 = _socket_create(family, type, protocol, version); 98 if (fd1 < 0) 104 (void) close(fd1); 108 sv[0] = fd1; 114 (void) close(fd1); 125 if (sv[0] != fd1) 126 (void) close(fd1);
|
/osnet-11/usr/src/lib/libcmdutils/common/ |
H A D | process_xattrs.c | 38 int fd1; local 43 if ((fd1 = attropen(attrfile, ".", O_RDONLY)) == -1) { 48 *sfd = fd1;
|
/osnet-11/usr/src/lib/libshell/common/bltins/ |
H A D | mkservice.c | 155 static int fdnotify(int fd1, int fd2) argument 159 (*covered_fdnotify)(fd1, fd2); 163 service_list[fd2] = service_list[fd1]; 164 service_list[fd1] = 0; 167 if(file_list[i]==fd1) 174 else if(sp = service_list[fd1]) 176 fdclose(sp,fd1);
|
/osnet-11/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_check.c | 522 int fd1 = -1; local 634 if ((fd1 = open(name1, O_RDONLY | O_NDELAY)) < 0) { 637 rc1 = devid_get(fd1, &devid1); 638 (void) close(fd1);
|
/osnet-11/usr/src/lib/libpkg/common/ |
H A D | keystore.c | 1325 int fd1, fd2, len; local 1340 if (((fd1 = open(storepath, O_NONBLOCK|O_RDONLY)) == -1) || 1341 (fstat(fd1, &buf) == -1) || 1373 if (fd1 != -1) 1374 (void) close(fd1); 1378 if (((fd1 = open(keystore_file, 1380 (fstat(fd1, &buf) != -1) && 1388 if (fd1 != -1) 1389 (void) close(fd1);
|
Completed in 46 milliseconds