Ignore:
Timestamp:
2011-03-30T17:24:01Z (13 years ago)
Author:
Jerome Portal <jeromeportal1@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
beb6b3d
Parents:
99b65d2
Message:

improve ls sorting, and add -h and -u options

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/bdsh/cmds/modules/ls/ls.h

    r99b65d2 re3a3e3ad  
    77#define LS_DIR   2
    88
    9 static void ls_sort_dir(const char *, char **, int);
    10 static void ls_scan_dir(const char *, DIR *);
     9static void ls_scan_dir(const char *, DIR *, int);
    1110static void ls_print(const char *, const char *);
     11
     12/** Structure to represent a directory entry.
     13 *
     14 * Useful to keep together important informations
     15 * for sorting directory entries.
     16 */
     17struct dir_elem_t {
     18        char * name;
     19        int isdir;
     20};
    1221
    1322#endif /* LS_H */
Note: See TracChangeset for help on using the changeset viewer.