/usr/include/lib.h defines or includes headers that define:
- MM (This is defined as PM_PROC_NR and identifies the receiver process as the pm).
- MYGETPID, etc., defines for the number of each system call.
(These are not defined directly in lib.h, but lib.h includes minix/callnr.h where they are defined.
So in general, you don't change lib.h, but you will need to change callnr.h when adding a new system call to Minix.
- _syscall prototype (defined in lib.h)
- message (This is defined in minix/ipc.h which is included by lib.h)