source: mainline/uspace/app/bdsh/cmds/builtins/README

Last change on this file was 3061bc1, checked in by Jiří Zárevúcky <zarevucky.jiri@…>, 7 years ago

style: Remove trailing whitespace on non-empty lines, remaining files.

  • Property mode set to 100644
File size: 765 bytes
Line 
1Commands that need to modify the running user structure defined in scli.h
2should reside here. They (will) have a slightly different prototype that
3allows passing the user structure to them for ease of modifications.
4
5Examples of what should be a built-in and not a module would be:
6
7cd (cliuser_t->cwd needs to be updated)
8
9In the future, more user preferences will be set via built-in commands,
10such as the formatting of the prompt string (HelenOS doesn't yet have
11an environment, much less PS*, even if it did we'd likely do it a little
12differently).
13
14.... etc.
15
16Anything that does _not_ need to use this structure should be included
17as a module, not a built in. If you want to include a new command, there
18is a 99% chance that you want it to be a module.
19
20
21
Note: See TracBrowser for help on using the repository browser.