Home
last modified time | relevance | path

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

/busybox-1.35.0/shell/
Dhush.c7871 static int save_fd_on_redirect(int fd, int avoid_fd, struct squirrel **sqp) in save_fd_on_redirect() argument
7889 if (sqp == NULL) { in save_fd_on_redirect()
7929 if (sqp == ERR_PTR) { in save_fd_on_redirect()
7936 *sqp = add_squirrel(*sqp, fd, avoid_fd); in save_fd_on_redirect()
8009 static int setup_redirects(struct command *prog, struct squirrel **sqp) in setup_redirects() argument
8019 save_fd_on_redirect(redir->rd_fd, /*avoid:*/ 0, sqp); in setup_redirects()
8054 if (newfd == redir->rd_fd && sqp) { in setup_redirects()
8060 *sqp = add_squirrel_closed(*sqp, newfd); in setup_redirects()
8075 closed = save_fd_on_redirect(redir->rd_fd, /*avoid:*/ newfd, sqp); in setup_redirects()
8090 if (internally_opened_fd(newfd, sqp && sqp != ERR_PTR ? *sqp : NULL)) { in setup_redirects()
[all …]