Searched refs:tmpfd (Results 1 – 3 of 3) sorted by relevance
67 int fd, tmpfd, i; in uu_lock() local78 if ((tmpfd = open(lcktmpname, O_CREAT | O_TRUNC | O_WRONLY | O_CLOEXEC, in uu_lock()107 if (!put_pid (tmpfd, pid)) in uu_lock()120 (void)close(tmpfd); in uu_lock()
50 set tmpfd [open $tmp "w"]51 puts -nonewline $tmpfd $contents52 close $tmpfd
786 int tmpfd, err; in zfs_ioc_input_tests() local806 tmpfd = mkstemp(filepath); in zfs_ioc_input_tests()807 if (tmpfd < 0) { in zfs_ioc_input_tests()829 test_send_new(snapshot, tmpfd); in zfs_ioc_input_tests()830 test_recv_new(backup, tmpfd); in zfs_ioc_input_tests()880 (void) close(tmpfd); in zfs_ioc_input_tests()