nuttx-apps/nshlib
chao an 05ffbabca7 nsh/uname: improve compatibility for non-GNU compilers
The alloca() function is machine- and compiler-dependent.  For certain
applications, its use can improve efficiency compared to the use of
malloc(3) plus free(3).  In certain cases, it can also simplify memory
deallocation in applications that use longjmp(3) or siglongjmp(3).
Otherwise, its use is discouraged.

Signed-off-by: chao an <anchao@lixiang.com>
2024-02-19 03:49:22 -08:00
..
CMakeLists.txt nshlib: move etc romfs mount from nsh to nuttx 2024-01-09 21:25:19 -08:00
Kconfig nsh_syscmds: update rptun_ping to rpmsg_ping, add cmd_rpmsg. 2024-01-30 20:42:49 -08:00
Make.defs Make.defs: Change "ifeq ($(XXX),y)" to "ifneq ($(XXX),) 2022-10-16 14:59:08 +02:00
Makefile nshlib: move etc romfs mount from nsh to nuttx 2024-01-09 21:25:19 -08:00
nsh_alias.c nsh_alias.c: unalias -a command does not work correctly 2023-09-25 21:05:37 +08:00
nsh_altconsole.c Fix nsh_altconsole.c:152:41: error: implicit declaration of function 'strlen' 2023-09-26 00:31:09 +08:00
nsh_builtin.c Fix nsh_builtin.c:91:22: error: 'SA_NOCLDWAIT' undeclared 2023-02-26 19:02:28 +02:00
nsh_codeccmd.c Update nshlib/nsh_codeccmd.c 2023-09-21 10:48:29 +08:00
nsh_command.c nsh_syscmds: update rptun_ping to rpmsg_ping, add cmd_rpmsg. 2024-01-30 20:42:49 -08:00
nsh_console.c nshlib: disable nsh error print if NSH_DISABLE_ERROR_PRINT enabled 2023-06-12 13:37:27 +08:00
nsh_console.h nshlib/nsh_console.h: Add nsh_none, where any empty output can be forwarded 2023-08-25 17:18:35 +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: fix build break if CONFIG_CPP_HAVE_VARARGS if undefined 2024-01-30 20:44:05 -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 nshlib/nsh_fileapps.c: Remove sched_lock() from nsh_fileapp() 2023-10-26 00:24:58 +08:00
nsh_fscmds.c nsh_fscmds.c: Fix CONFIG_FS_SHM -> CONFIG_FS_SHMFS 2024-01-31 08:52:05 -08:00
nsh_fsutils.c nshlib: Fix static scanning errors 2023-09-08 18:49:31 +08:00
nsh_init.c nshlib: move etc romfs mount from nsh to nuttx 2024-01-09 21:25:19 -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 nshlib/ifconfig: Let "dns" option depends on CONFIG_NETDB_DNSCLIENT 2023-12-30 01:40:05 -08:00
nsh_parse.c nsh/alias: Fix compiler warning 2023-08-01 08:13:23 -07: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 apps/nshlib: Add the pidof command and API nsh_getpid 2023-08-29 02:58:45 +08:00
nsh_routecmds.c fsutils/examples: Include unistd.h explicitly 2023-02-05 08:46:59 +02:00
nsh_script.c nshlib: move etc romfs mount from nsh to nuttx 2024-01-09 21:25:19 -08:00
nsh_session.c Indent the define statement by two spaces 2023-05-22 11:57:40 +02:00
nsh_syscmds.c nsh/uname: improve compatibility for non-GNU compilers 2024-02-19 03:49: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_timcmds: display date using set format 2024-01-26 19:13:25 -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 Replace all sprintf with snprintf 2023-05-08 21:35:16 +03:00
nsh.h nsh_syscmds: update rptun_ping to rpmsg_ping, add cmd_rpmsg. 2024-01-30 20:42:49 -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