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:
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: