Searched defs:srcfd (Results 1 - 3 of 3) sorted by relevance

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

Completed in 218 milliseconds