Home
last modified time | relevance | path

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

/dports/devel/kBuild/kBuild-0.1.9998/src/kash/
H A Dredir.c192 if ((f = shfile_open(&psh->fdtab, fname, O_RDONLY|eflags, 0)) < 0) in openredirect()
199 if ((f = shfile_open(&psh->fdtab, fname, O_RDWR|O_CREAT|O_TRUNC, 0666)) < 0) in openredirect()
208 if ((f = shfile_open(&psh->fdtab, fname, oflags, 0666)) < 0) in openredirect()
213 if ((f = shfile_open(&psh->fdtab, fname, O_WRONLY|O_CREAT|O_APPEND, 0666)) < 0) in openredirect()
H A Dmain.c323 if ((fd = shfile_open(&psh->fdtab, name, O_RDONLY, 0)) >= 0) in read_profile()
357 if ((fd = shfile_open(&psh->fdtab, name, O_RDONLY, 0)) >= 0) in readcmdfile()
H A Dshfile.h137 int shfile_open(shfdtab *, const char *, unsigned, mode_t);
H A Djobs.c108 if ((psh->ttyfd = shfile_open(&psh->fdtab, "/dev/tty", O_RDWR, 0)) == -1) { in setjobctl()
866 if (shfile_open(&psh->fdtab, devnull, O_RDONLY, 0) != 0) in forkchild()
877 if (shfile_open(&psh->fdtab, devnull, O_RDONLY, 0) != 0) in forkchild()
H A Dinput.c439 if ((fd = shfile_open(&psh->fdtab, fname, O_RDONLY, 0)) < 0) in setinputfile()
H A Dshow.c504 psh->tracefd = shfile_open(&psh->fdtab, s, O_APPEND | O_RDWR | O_CREAT, 0600); in opentrace()
H A Dshfile.c1060 int shfile_open(shfdtab *pfdtab, const char *name, unsigned flags, mode_t mode) in shfile_open() function