Changeset dedc4cd in mainline for uspace/app/bdsh/cmds/modules/module_aliases.h
- Timestamp:
- 2019-01-28T16:08:24Z (5 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d4f9a2a
- Parents:
- 8d2289c
- git-author:
- Jiri Svoboda <jiri@…> (2018-01-28 08:08:18)
- git-committer:
- Jiri Svoboda <jiri@…> (2019-01-28 16:08:24)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/cmds/modules/module_aliases.h
r8d2289c rdedc4cd 30 30 #define MODULE_ALIASES_H 31 31 32 /* 33 * Modules that declare multiple names for themselves but use the 34 * same entry functions are aliases. This array helps to determine if 35 * a module is an alias, as such it can be invoked differently. 36 * format is alias , real_name 37 */ 38 39 /* 40 * So far, this is only used in the help display but could be used to 41 * handle a module differently even prior to reaching its entry code. 42 * For instance, 'exit' could behave differently than 'quit', prior to 43 * the entry point being reached. 44 */ 45 46 const char *mod_aliases[] = { 47 "ren", "mv", 48 "umount", "unmount", 49 NULL, NULL 50 }; 32 extern const char *mod_aliases[]; 51 33 52 34 #endif
Note:
See TracChangeset
for help on using the changeset viewer.