Searched refs:shfile_open (Results 1 – 7 of 7) sorted by relevance
/dports/devel/kBuild/kBuild-0.1.9998/src/kash/ |
H A D | redir.c | 192 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 D | main.c | 323 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 D | shfile.h | 137 int shfile_open(shfdtab *, const char *, unsigned, mode_t);
|
H A D | jobs.c | 108 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 D | input.c | 439 if ((fd = shfile_open(&psh->fdtab, fname, O_RDONLY, 0)) < 0) in setinputfile()
|
H A D | show.c | 504 psh->tracefd = shfile_open(&psh->fdtab, s, O_APPEND | O_RDWR | O_CREAT, 0600); in opentrace()
|
H A D | shfile.c | 1060 int shfile_open(shfdtab *pfdtab, const char *name, unsigned flags, mode_t mode) in shfile_open() function
|