Home
last modified time | relevance | path

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

/third_party/toybox/toys/pending/
Dbootchartd.c138 int proc_stat_fd = xcreate("proc_stat.log", in start_logging()
140 int proc_diskstats_fd = xcreate("proc_diskstats.log", in start_logging()
147 int kp_fd = xcreate("kernel_procs_acct", O_WRONLY | O_CREAT | O_TRUNC,0666); in start_logging()
Dwget.c329 fd = xcreate(TT.filename, (O_WRONLY|O_CREAT|O_TRUNC), 0644); in wget_main()
Dcrontab.c237 fdout = xcreate(toybuf, O_WRONLY|O_CREAT|O_TRUNC, 0600); in update_crontab()
Ddd.c194 } else TT.out.fd = xcreate(TT.out.name, in dd_main()
Dtftp.c277 fd = xcreate(TT.local_file, O_WRONLY | O_CREAT | O_TRUNC, 0666); in file_get()
Dmke2fs.c564 TT.fsfd = xcreate(*toys.optargs, temp, 0777); in mke2fs_main()
Dsh.c443 if (-1 == (fd = xcreate(sss, fd|WARN_ONLY, 777)) || hfd != dup2(fd, hfd)) { in run_command()
/third_party/toybox/toys/other/
Dfallocate.c28 int fd = xcreate(*toys.optargs, O_RDWR | O_CREAT, 0644);
/third_party/toybox/toys/posix/
Dnohup.c34 xcreate(temp, O_CREAT|O_APPEND|O_WRONLY, 0600); in nohup_main()
Duudecode.c49 else ofd = xcreate(TT.o ? TT.o : line+idx, O_WRONLY|O_CREAT|O_TRUNC,
Dsplit.c72 outfd = xcreate(TT.outfile, O_RDWR|O_CREAT|O_TRUNC, st.st_mode & 0777);
Dcpio.c104 afd = xcreate(TT.F, perm, 0644); in cpio_main()
Dpatch.c421 TT.filein = xcreate(name, O_CREAT|O_EXCL|O_RDWR, 0666); in patch_main()
Dsort.c395 if (TT.o) fd = xcreate(TT.o, O_CREAT|O_TRUNC|O_WRONLY, 0666); in sort_main()
Dtar.c491 int fd = xcreate(name, O_WRONLY|O_CREAT|(FLAG(overwrite)?O_TRUNC:O_EXCL), in extract_to_disk()
814 TT.fd = xcreate(TT.f, TT.fd*(O_WRONLY|O_CREAT|O_TRUNC), 0666); in tar_main()
Dsed.c932 fd = xcreate(line, O_WRONLY|O_CREAT|O_TRUNC, 0644); in parse_pattern()
/third_party/toybox/toys/example/
Dlogwrapper.c51 i = xcreate(log, O_RDWR|O_CREAT|O_APPEND, 0644); in logwrapper_main()
/third_party/toybox/toys/lsb/
Dgzip.c137 ofd = xcreate(out, O_CREAT|O_WRONLY|WARN_ONLY|(O_EXCL*!FLAG(f)),sb.st_mode); in do_gzip()
/third_party/toybox/toys/net/
Dftpget.c232 ii = xcreate(toys.optargs[1], in ftpget_main()
/third_party/toybox/porting/liteos_a/lib/
Dlib.h149 int xcreate(char *path, int flags, int mode);
/third_party/toybox/lib/
Dlib.h154 int xcreate(char *path, int flags, int mode);
Dxwrap.c438 int xcreate(char *path, int flags, int mode) in xcreate() function