Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/io/ltp-aiodio/
Daiocp.c54 static int dstfd = -1; // destination file descriptor variable
214 if (dstfd > 0) in io_error()
215 close(dstfd); in io_error()
269 fd = dstfd; in rd_done()
420 if ((dstfd = open(dstname = *argv, dest_open_flag, 0666)) < 0) { in main()
429 if (fstat(dstfd, &st) < 0) { in main()
514 io_prep_pwrite(io, dstfd, io->u.c.buf, in main()
582 if (dstfd != -1) in main()
583 close(dstfd); in main()