Searched refs:outfd (Results 1 - 10 of 10) sorted by relevance

/external/elfutils/tests/
H A Darextract.c81 int outfd; local
94 outfd = open (argv[3], O_CREAT | O_TRUNC | O_RDWR, 0666);
95 if (outfd == -1)
110 if (write (outfd, buf, n) != n)
134 close (outfd);
H A Decp.c38 int outfd = creat (argv[2], 0666); local
39 if (outfd == -1)
42 Elf *outelf = elf_begin (outfd, ELF_C_WRITE, NULL);
85 close (outfd);
/external/bluetooth/glib/tests/
H A Dspawn-test-win32-gui.c46 int outfd = atoi (__argv[3]); local
49 if (infd < 0 || outfd < 0)
60 if (write (outfd, &n, sizeof (n)) == -1 ||
61 write (outfd, "Hello there", n) == -1)
96 if (write (outfd, &n, sizeof (n)) == -1 ||
97 write (outfd, "See ya", n) == -1)
/external/iproute2/misc/
H A Dlnstat.h40 int lnstat_dump(FILE *outfd, struct lnstat_file *lnstat_files);
H A Dlnstat_util.c278 int lnstat_dump(FILE *outfd, struct lnstat_file *lnstat_files) argument
285 fprintf(outfd, "%s:\n", lf->path);
288 fprintf(outfd, "\t%2u: %s\n", i+1, lf->fields[i].name);
/external/e2fsprogs/misc/
H A Dlogsave.c29 int outfd = -1; variable
57 if (outfd > 0)
58 write(outfd, buffer, c);
212 outfd = open(outfn, openflags, 0644);
252 while (outfd < 0) {
253 outfd = open(outfn, openflags, 0644);
256 write(outfd, outbuf, outbufsize);
259 close(outfd);
/external/ppp/pppd/
H A Dmain.c1510 safe_fork(int infd, int outfd, int errfd) argument
1546 /* make sure infd, outfd and errfd won't get tromped on below */
1549 if (outfd == 0 || outfd == 2)
1550 outfd = dup(outfd);
1557 if (outfd != 1)
1558 dup2(outfd, 1);
1575 if (outfd != 1)
1576 close(outfd);
[all...]
/external/elfutils/src/
H A Dld.h757 int outfd; member in struct:ld_state
H A Dldgeneric.c2476 ld_state.outfd = fd;
6239 if (fstat (ld_state.outfd, &temp_st) != 0)
6261 (void) close (ld_state.outfd);
/external/bluetooth/glib/glib/
H A Dgtestutils.c1493 int outfd,
1500 r = write (outfd, gstring->str + *stringpos, gstring->len - *stringpos);
1492 g_string_write_out(GString *gstring, int outfd, int *stringpos) argument

Completed in 94 milliseconds