Changeset 69145dae in mainline
- Timestamp:
- 2008-08-28T02:51:25Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 88944695
- Parents:
- 79872cd
- Location:
- uspace/app/bdsh
- Files:
-
- 3 edited
- 4 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/Makefile
r79872cd r69145dae 64 64 cmds/modules/touch/ \ 65 65 cmds/modules/ls/ \ 66 cmds/modules/pwd/ \ 66 67 cmds/builtins/ \ 67 cmds/builtins/pwd/ \68 68 cmds/builtins/cd/ \ 69 69 lib/ … … 77 77 cmds/modules/touch/touch.c \ 78 78 cmds/modules/ls/ls.c \ 79 cmds/ builtins/pwd/pwd.c \79 cmds/modules/pwd/pwd.c \ 80 80 cmds/builtins/cd/cd.c \ 81 81 cmds/mod_cmds.c \ -
uspace/app/bdsh/cmds/builtins/builtins.h
r79872cd r69145dae 4 4 #include "config.h" 5 5 6 #include "pwd/entry.h"7 6 #include "cd/entry.h" 8 7 9 8 builtin_t builtins[] = { 10 #include "pwd/pwd.def"11 9 #include "cd/cd.def" 12 10 {NULL, NULL, NULL, NULL} -
uspace/app/bdsh/cmds/modules/modules.h
r79872cd r69145dae 25 25 #include "touch/entry.h" 26 26 #include "ls/entry.h" 27 #include "pwd/entry.h" 27 28 28 29 /* Each .def function fills the module_t struct with the individual name, entry … … 38 39 #include "touch/touch.def" 39 40 #include "ls/ls.def" 41 #include "pwd/pwd.def" 40 42 {NULL, NULL, NULL, NULL} 41 43 }; -
uspace/app/bdsh/cmds/modules/pwd/entry.h
r79872cd r69145dae 6 6 /* Entry points for the pwd command */ 7 7 extern void * help_cmd_pwd(unsigned int); 8 extern int * cmd_pwd(char * [], cliuser_t*);8 extern int * cmd_pwd(char **); 9 9 10 10 #endif -
uspace/app/bdsh/cmds/modules/pwd/pwd.c
r79872cd r69145dae 45 45 return CMD_VOID; 46 46 } 47 48 int * cmd_pwd(char *argv[] , cliuser_t *usr)47 48 int * cmd_pwd(char *argv[]) 49 49 { 50 50 char *buff;
Note:
See TracChangeset
for help on using the changeset viewer.