previous | start | next

Adding code to the pm

To add code to the pm, it can be placed in one of the .c files that are compiled and linked into the pm executable such as misc.c.

As noted this requires no adjustment to the compilation process; in particular no change needs to be made to makefiles.

However, a header file,

 proto.h

will need to be modified so that the compiler will see the prototype of the new function being called.



previous | start | next