nsh_fileapp: handle input redirection

This commit is contained in:
Marco Casaroli
2024-08-08 19:06:52 +02:00
committed by Alan Carvalho de Assis
parent 8fba726a7d
commit e46347ec1b
3 changed files with 27 additions and 5 deletions

View File

@@ -859,7 +859,8 @@ int nsh_builtin(FAR struct nsh_vtbl_s *vtbl, FAR const char *cmd,
#ifdef CONFIG_NSH_FILE_APPS
int nsh_fileapp(FAR struct nsh_vtbl_s *vtbl, FAR const char *cmd,
FAR char **argv, FAR const char *redirfile, int oflags);
FAR char **argv, FAR const char *redirfile_in,
FAR const char *redirfile_out, int oflags);
#endif
#ifndef CONFIG_DISABLE_ENVIRON