Changeset b510d52 in mainline for uspace/app/bdsh/cmds/modules/ls/ls.c
- Timestamp:
- 2008-08-25T05:38:01Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e2ea8d7e
- Parents:
- 74965d2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/cmds/modules/ls/ls.c
r74965d2 rb510d52 51 51 static char *cmdname = "ls"; 52 52 53 unsigned int ls_scope(const char *path)53 static unsigned int ls_scope(const char *path) 54 54 { 55 55 int fd; … … 71 71 } 72 72 73 void ls_scan_dir(const char *d, DIR *dirp)73 static void ls_scan_dir(const char *d, DIR *dirp) 74 74 { 75 75 struct dirent *dp; … … 119 119 * Now we just print basic DOS style lists */ 120 120 121 void ls_print_dir(const char *d)121 static void ls_print_dir(const char *d) 122 122 { 123 123 printf("%-40s\t<DIR>\n", d); … … 126 126 } 127 127 128 void ls_print_file(const char *f)128 static void ls_print_file(const char *f) 129 129 { 130 130 printf("%-40s\n", f);
Note:
See TracChangeset
for help on using the changeset viewer.