nuttx-apps/nshlib
wangjianyu3 b3e1077f87 nsh: Using sizeof() to get string length of char array
Changed from calling `strlen()` at runtime to using `sizeof()` at compile time.

Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>
2024-11-11 10:36:46 +08:00
..
CMakeLists.txt nsh:support wait command to wait task exit. 2024-10-02 21:13:54 +08:00
Kconfig nsh: Add pipeline support for nsh commandline 2024-11-11 10:36:46 +08:00
Make.defs Make.defs: Change "ifeq ($(XXX),y)" to "ifneq ($(XXX),) 2022-10-16 14:59:08 +02:00
Makefile nsh:support wait command to wait task exit. 2024-10-02 21:13:54 +08:00
nsh.h Pack parameters of nsh_execute() as struct nsh_exec_param_s 2024-11-11 10:36:46 +08:00
nsh_alias.c toolchain/ghs: Fix green hills toolchain build Vela warnings 2024-09-28 10:47:32 +08:00
nsh_altconsole.c feat(nsh): input (stdin) redirection 2024-08-08 19:19:18 -03:00
nsh_builtin.c Pack parameters of nsh_execute() as struct nsh_exec_param_s 2024-11-11 10:36:46 +08:00
nsh_codeccmd.c Update nshlib/nsh_codeccmd.c 2023-09-21 10:48:29 +08:00
nsh_command.c nshlib/dd: Add support for reading from/writing to standard input/output 2024-10-19 14:07:32 +08:00
nsh_console.c nshlib/console: fix compile error when open CONFIG_NSH_ALTCONDEV 2024-10-29 23:43:04 +08:00
nsh_console.h nshlib: Fix stack-buffer-overflow of nsh_redirect() 2024-10-13 15:48:57 +08:00
nsh_consolemain.c nshlib/nsh_consolemain: detect null pointer 2023-08-29 03:11:28 +08:00
nsh_dbgcmds.c nshlib: disable nsh error print if NSH_DISABLE_ERROR_PRINT enabled 2023-06-12 13:37:27 +08:00
nsh_ddcmd.c nshlib/cmd_dd: Retry if read() was interrupted 2024-11-11 10:36:23 +08:00
nsh_envcmds.c nshlib: add print negative number support for echo command 2023-07-31 07:58:41 -07:00
nsh_fileapps.c nsh: Add pipeline support for nsh commandline 2024-11-11 10:36:46 +08:00
nsh_fscmds.c nshlib/cmd_cat: Retry if nsh_read was interrupted by a signal 2024-11-10 22:03:07 +08:00
nsh_fsutils.c apps/nshlib/cmd_cd: Modify the logic of cd 2024-10-17 18:06:48 +08:00
nsh_init.c nshlib/prompt: extend NSH prompt string management 2024-02-25 00:55:47 -08:00
nsh_login.c Replace all strncpy with strlcpy 2023-05-08 21:35:16 +03:00
nsh_mmcmds.c nsh_mmcmds: support "memdump -h/help" to show usage and sequence number 2024-01-06 04:34:27 -08:00
nsh_mntcmds.c apps/nshlib: add the missing FAR macro for all source files 2022-09-22 14:22:13 +08:00
nsh_modcmds.c nshlib: Remove the remaining CONFIG_FILE_STREAM dependence 2023-02-24 17:38:19 +08:00
nsh_netcmds.c nsh_netcmds.c: handle the ENETUNREACH error number 2024-10-29 12:27:16 +08:00
nsh_parse.c nsh: Using sizeof() to get string length of char array 2024-11-11 10:36:46 +08:00
nsh_passwdcmds.c apps/nshlib: add the missing FAR macro for all source files 2022-09-22 14:22:13 +08:00
nsh_printf.c nshlib: Remove the remaining CONFIG_FILE_STREAM dependence 2023-02-24 17:38:19 +08:00
nsh_proccmds.c nshlib: fix top command sorting result error 2024-10-17 00:00:51 +08:00
nsh_prompt.c nshlib/prompt: extend NSH prompt string management 2024-02-25 00:55:47 -08:00
nsh_routecmds.c netlib/setroute: fix dhcpd stack-overflow when calls netlib_set_dripv4addr with debug info-level 2024-08-26 01:54:46 +08:00
nsh_script.c nshlib: enable O_CLOEXEC explicit to avoid potential fd leak 2024-09-23 08:34:16 +08:00
nsh_session.c nshlib/prompt: extend NSH prompt string management 2024-02-25 00:55:47 -08:00
nsh_syscmds.c nsh_syscmds/rpmsg: include <nuttx/rpmsg/rpmsg.h> to fix compile error 2024-10-11 14:59:22 +08:00
nsh_system.c nshlib: Remove the remaining CONFIG_FILE_STREAM dependence 2023-02-24 17:38:19 +08:00
nsh_telnetd.c netutils: Support telnetd in the kernel mode 2022-11-07 15:24:08 +09:00
nsh_telnetlogin.c Replace all strncpy with strlcpy 2023-05-08 21:35:16 +03:00
nsh_test.c nshlib: add negative number logical judgement support for test and [ command 2023-07-30 22:20:02 -07:00
nsh_timcmds.c nsh: support watch command 2024-10-17 18:06:32 +08:00
nsh_usbconsole.c nsh_usbconsole.c: add support for NSH console over a composite device 2023-06-15 03:23:04 +08:00
nsh_usbtrace.c nshlib: Remove the remaining CONFIG_FILE_STREAM dependence 2023-02-24 17:38:19 +08:00
nsh_vars.c nsh_vars: Remove rogue sched_unlock() 2024-11-06 01:35:42 +08:00
nsh_wait.c nsh:support wait command to wait task exit. 2024-10-02 21:13:54 +08:00
rc.sysinit.template nsh/script: support rc.sysinit script 2022-04-21 12:54:24 +03:00
rcS.template nsh/script: support rc.sysinit script 2022-04-21 12:54:24 +03:00