Home
last modified time | relevance | path

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

/external/toybox/toys/other/
Dfsync.c31 loopfiles_rw(toys.optargs, O_RDONLY|O_NOATIME|O_NOCTTY|O_CLOEXEC|WARN_ONLY, in fsync_main()
Dtruncate.c63 loopfiles_rw(toys.optargs, O_WRONLY|O_CLOEXEC|(cr ? O_CREAT|WARN_ONLY : 0), in truncate_main()
/external/toybox/toys/posix/
Dtee.c52 O_RDWR|O_CREAT|WARN_ONLY|((toys.optflags & FLAG_a)?O_APPEND:O_TRUNC), in tee_main()
Dcmp.c83 loopfiles_rw(toys.optargs, O_CLOEXEC|(WARN_ONLY*!(toys.optflags&FLAG_s)), 0, in cmp_main()
Dtail.c245 loopfiles_rw(args, O_RDONLY|WARN_ONLY|(O_CLOEXEC*!(toys.optflags&FLAG_f)), in tail_main()
Dgrep.c366 } else loopfiles_rw(ss, O_RDONLY|WARN_ONLY, 0, do_grep); in grep_main()
Dsed.c1028 loopfiles_rw(args, O_RDONLY|WARN_ONLY, 0, do_sed); in sed_main()
/external/toybox/lib/
Dxwrap.c325 int fd = open(path, (flags^O_CLOEXEC)&~WARN_ONLY, mode); in xcreate_stdio()
327 if (fd == -1) ((mode&WARN_ONLY) ? perror_msg_raw : perror_exit_raw)(path); in xcreate_stdio()
390 return xopen(path, flags^WARN_ONLY); in openro()
396 return openro(path, O_RDONLY|WARN_ONLY); in xopenro()
Dlib.c561 int fd, failok = !(flags&WARN_ONLY); in loopfiles_rw()
563 flags &= ~WARN_ONLY; in loopfiles_rw()
584 loopfiles_rw(argv, O_RDONLY|O_CLOEXEC|WARN_ONLY, 0, function); in loopfiles()
Dlib.h111 #define WARN_ONLY (1<<31) macro