Changeset 809813d in mainline for uspace/app/bdsh/cmds/modules/cat
- Timestamp:
- 2008-09-14T15:43:22Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6279151
- Parents:
- 211b0c13
- Location:
- uspace/app/bdsh/cmds/modules/cat
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/cmds/modules/cat/cat.c
r211b0c13 r809813d 60 60 61 61 /* Dispays help for cat in various levels */ 62 void *help_cmd_cat(unsigned int level)62 void help_cmd_cat(unsigned int level) 63 63 { 64 64 if (level == HELP_SHORT) { … … 79 79 } 80 80 81 return CMD_VOID;81 return; 82 82 } 83 83 … … 128 128 129 129 /* Main entry point for cat, accepts an array of arguments */ 130 int *cmd_cat(char **argv)130 int cmd_cat(char **argv) 131 131 { 132 132 unsigned int argc, i, ret = 0, buffer = 0; -
uspace/app/bdsh/cmds/modules/cat/entry.h
r211b0c13 r809813d 3 3 4 4 /* Entry points for the cat command */ 5 extern int *cmd_cat(char **);6 extern void *help_cmd_cat(unsigned int);5 extern int cmd_cat(char **); 6 extern void help_cmd_cat(unsigned int); 7 7 8 8 #endif /* CAT_ENTRY_H */
Note:
See TracChangeset
for help on using the changeset viewer.
