Home
last modified time | relevance | path

Searched refs:outfd (Results 1 – 2 of 2) sorted by relevance

/tools/firmware/
Dihex2fw.c55 static int output_records(int outfd);
74 int infd, outfd; in main() local
118 outfd = 1; in main()
120 outfd = open(argv[optind+1], O_TRUNC|O_CREAT|O_WRONLY, 0644); in main()
121 if (outfd == -1) { in main()
129 return output_records(outfd); in main()
270 static int output_records(int outfd) in output_records() argument
280 if (write(outfd, &p->addr, writelen) != writelen) in output_records()
286 if (write(outfd, zeroes, 6) != 6) in output_records()
/tools/io_uring/
Dio_uring-cp.c25 static int infd, outfd; variable
79 io_uring_prep_writev(sqe, outfd, &data->iov, 1, data->offset); in queue_prepped()
243 outfd = open(argv[2], O_WRONLY | O_CREAT | O_TRUNC, 0644); in main()
244 if (outfd < 0) { in main()
257 close(outfd); in main()