All the source code for the IPW commands and library functions, as well as their documentation (i.e., manual pages), resides in IPW's source directory.
$IPW/ | +- src/ source directory | +- bin/ user commands | +- lib/ libraries and shell support commands | +- sbin/ system commandsIPW commands are divided into two groups or types of commands: user commands and system commands. System commands are those commands used by programmers to administer IPW software as well as develop new software.
Source Directories for Commands
The source directories for both types of IPW commands have the same structure. Each command category has its own subdirectory which contains separate subdirectories for each command in that category. To illustrate this structure, here is a diagram of the source directory for user commands:
$IPW/ | +- src/ source directory | +- bin/ user commands | +- cat/ command category | | | +- cmd/ command's source directory | | | +- cmd/ command's source directory | | | ... | +- cat/ command category | | | +- cmd/ command's source directory | | | +- cmd/ command's source directory | | | ... | ...
Source Directories for Libraries
The source directories for IPW libraries are similiar in structure to the source directories for commands. The functions in a library are grouped into categories, with each category having its own subdirectory.
$IPW/ | +- src/ source directory | +- lib/ libraries | +- libX/ library X | | | +- cat/ function category | | | | | +- Man/ source directory for the | | | functions' manual pages | | | | | +- func.c library function | | | | | +- func.c library function | | | | | ... | | | +- cat/ function category | | | | | ... | | | ... | +- libY/ library Y | ...