previous | start | next

Need a "User Lib" function

To make calling the new system call look just like calling any other function, we need to write a user level "library" function that starts the system call.

Define two files mygetpid.c and the associated header file myunistd.h:



previous | start | next