Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/io/ltp-aiodio/
Daiocp.c52 static int srcfd; // source fd variable
268 if (iocb->aio_fildes == srcfd) in rd_done()
399 if ((srcfd = open(srcname = *argv, source_open_flag)) < 0) { in main()
405 if (fstat(srcfd, &st) < 0) { in main()
518 io_prep_pread(io, srcfd, io->u.c.buf, in main()
580 if (srcfd != -1) in main()
581 close(srcfd); in main()
/external/toybox/toys/pending/
Dcrontab.c267 int srcfd, destfd, status; in do_edit() local
279 srcfd = xopenro(toybuf); in do_edit()
280 xsendfile(srcfd, destfd); in do_edit()
281 xclose(srcfd); in do_edit()
/external/mksh/src/
Dhistrap.c719 hist_persist_back(int srcfd) in hist_persist_back() argument
727 if ((tot = lseek(srcfd, (off_t)0, SEEK_END)) < 0 || in hist_persist_back()
728 lseek(srcfd, (off_t)0, SEEK_SET) < 0 || in hist_persist_back()
737 if ((n = blocking_read(srcfd, (cp = buf), in hist_persist_back()