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

/macosx-10.10.1/cxxfilt-11/cxxfilt/binutils/
H A Drename.c52 int fromfd, tofd, nread; local
60 tofd = open (to, O_CREAT | O_WRONLY | O_TRUNC | O_BINARY, 0777);
62 tofd = creat (to, 0777);
64 if (tofd < 0)
73 if (write (tofd, buf, nread) != nread)
77 close (tofd);
84 close (tofd);
/macosx-10.10.1/patch_cmds-17/patch/
H A Dutil.c157 int tofd, fromfd; local
160 tofd = open(to, O_CREAT|O_TRUNC|O_WRONLY, 0666);
161 if (tofd < 0)
167 if (write(tofd, buf, i) != i)
170 close(tofd);
/macosx-10.10.1/gpatch-3/patch/
H A Dutil.c211 int tofd; local
217 tofd = create_file (to, O_WRONLY | O_BINARY | to_flags, mode);
222 if (write (tofd, buf, i) != i)
227 if (close (tofd) != 0)
/macosx-10.10.1/xnu-2782.1.97/bsd/vfs/
H A Dvfs_syscalls.c6580 int tofd, user_addr_t to, int segflg, vfs_rename_flags_t flags)
6639 if ( (error = nameiat(tond, tofd)) ) {
7121 uap->tofd, uap->to, UIO_USERSPACE, 0));
6579 renameat_internal(vfs_context_t ctx, int fromfd, user_addr_t from, int tofd, user_addr_t to, int segflg, vfs_rename_flags_t flags) argument

Completed in 114 milliseconds