Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/brenns10/lsh
/ functions
Functions
10 in github.com/brenns10/lsh
⨍
Functions
10
◇
Types & classes
0
↓ 2 callers
Function
lsh_num_builtins
src/main.c:42
↓ 1 callers
Function
lsh_execute
@brief Execute shell built-in or launch program. @param args Null terminated list of arguments. @return 1 if the shell should continue running,
src/main.c:132
↓ 1 callers
Function
lsh_launch
@brief Launch a program and wait for it to terminate. @param args Null terminated list of arguments (including program). @return Always returns 1,
src/main.c:102
↓ 1 callers
Function
lsh_loop
@brief Loop getting input and executing it. */
src/main.c:250
↓ 1 callers
Function
lsh_read_line
@brief Read a line of input from stdin. @return The line from stdin. */
src/main.c:154
↓ 1 callers
Function
lsh_split_line
@brief Split a line into tokens (very naively). @param line The line. @return Null-terminated array of tokens. */
src/main.c:214
Function
lsh_cd
@brief Builtin command: change directory. @param args List of args. args[0] is "cd". args[1] is the directory. @return Always returns 1, to co
src/main.c:55
Function
lsh_exit
@brief Builtin command: exit. @param args List of args. Not examined. @return Always returns 0, to terminate execution. */
src/main.c:92
Function
lsh_help
@brief Builtin command: print help. @param args List of args. Not examined. @return Always returns 1, to continue executing. */
src/main.c:72
Function
main
@brief Main entry point. @param argc Argument count. @param argv Argument vector. @return status code */
src/main.c:273