fd2 671 examples/libsmbclient/smbwrapper/smbw.c int fd2; fd2 673 examples/libsmbclient/smbwrapper/smbw.c fd2 = (smbw_libc.dup)(smbw_fd); fd2 674 examples/libsmbclient/smbwrapper/smbw.c if (fd2 == -1) { fd2 678 examples/libsmbclient/smbwrapper/smbw.c smbw_fd_map[fd2] = smbw_fd_map[smbw_fd]; fd2 680 examples/libsmbclient/smbwrapper/smbw.c return fd2; fd2 687 examples/libsmbclient/smbwrapper/smbw.c int smbw_dup2(int smbw_fd, int fd2) fd2 689 examples/libsmbclient/smbwrapper/smbw.c if ((* smbw_libc.dup2)(smbw_fd, fd2) != fd2) { fd2 693 examples/libsmbclient/smbwrapper/smbw.c smbw_fd_map[fd2] = smbw_fd_map[smbw_fd]; fd2 695 examples/libsmbclient/smbwrapper/smbw.c return fd2; fd2 90 examples/libsmbclient/smbwrapper/smbw.h int smbw_dup2(int fd, int fd2); fd2 139 source3/nmbd/asyncdns.c int fd1[2], fd2[2]; fd2 143 source3/nmbd/asyncdns.c if (pipe(fd1) || pipe(fd2)) { fd2 152 source3/nmbd/asyncdns.c fd_out = fd2[1]; fd2 154 source3/nmbd/asyncdns.c close(fd2[0]); fd2 159 source3/nmbd/asyncdns.c fd_in = fd2[0]; fd2 864 source4/heimdal/lib/krb5/fcache.c int fd1, fd2; fd2 873 source4/heimdal/lib/krb5/fcache.c ret = fcc_open(context, to, &fd2, fd2 879 source4/heimdal/lib/krb5/fcache.c sz2 = write(fd2, buf, sz1); fd2 896 source4/heimdal/lib/krb5/fcache.c fcc_unlock(context, fd2); fd2 897 source4/heimdal/lib/krb5/fcache.c close(fd2); fd2 92 source4/ntvfs/posix/pvfs_util.c int fd1, fd2; fd2 108 source4/ntvfs/posix/pvfs_util.c fd2 = open(name2->full_name, O_CREAT|O_EXCL|O_WRONLY, 0); fd2 109 source4/ntvfs/posix/pvfs_util.c if (fd2 == -1) { fd2 123 source4/ntvfs/posix/pvfs_util.c ret2 = write(fd2, buf, ret); fd2 131 source4/ntvfs/posix/pvfs_util.c close(fd2); fd2 145 source4/ntvfs/posix/pvfs_util.c if (fchmod(fd2, mode) == -1) { fd2 147 source4/ntvfs/posix/pvfs_util.c close(fd2); fd2 155 source4/ntvfs/posix/pvfs_util.c status = pvfs_dosattrib_save(pvfs, name2, fd2); fd2 157 source4/ntvfs/posix/pvfs_util.c close(fd2); fd2 162 source4/ntvfs/posix/pvfs_util.c close(fd2);