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

/freebsd-9.3-release/contrib/openbsm/bin/auditdistd/
H A Drenameat.h39 renameat(int fromfd, const char *from, int tofd, const char *to) argument
43 if (fromfd != tofd) {
/freebsd-9.3-release/contrib/binutils/binutils/
H A Drename.c53 int fromfd, tofd, nread; local
61 tofd = open (to, O_CREAT | O_WRONLY | O_TRUNC | O_BINARY, 0777);
63 tofd = creat (to, 0777);
65 if (tofd < 0)
74 if (write (tofd, buf, nread) != nread)
78 close (tofd);
85 close (tofd);
/freebsd-9.3-release/gnu/usr.bin/patch/
H A Dutil.c118 Reg4 int tofd; local
120 tofd = creat(to, 0666);
121 if (tofd < 0) {
130 if (write(tofd, buf, i) != i)
133 Close(tofd);
145 Reg3 int tofd; local
149 tofd = creat(to, 0666);
150 if (tofd < 0)
156 if (write(tofd, buf, i) != i)
159 Close(tofd);
[all...]
/freebsd-9.3-release/contrib/cvs/src/
H A Dclient.c3717 make_bufs_from_fds (tofd, fromfd, child_pid, to_server, from_server, is_sock)
3718 int tofd;
3731 assert (tofd == fromfd);
3732 *to_server = socket_buffer_initialize (tofd, 0,
3734 *from_server = socket_buffer_initialize (tofd, 1,
3741 close_on_exec (tofd);
3747 if (tofd == fromfd)
3749 fromfd = dup (tofd);
3760 to_server_fp = fdopen (tofd, FOPEN_BINARY_WRITE);
3762 error (1, errno, "cannot fdopen %d for write", tofd);
4030 int tofd, fromfd; local
4369 int tofd, fromfd; local
4806 int tofd, fromfd; local
[all...]

Completed in 120 milliseconds