To make calling the new system call look just like calling any other function, we need to write a user level function that can be that starts the system call.
Define two files mygetpid.c and the associated header file mygetpid.h:
To make calling the new system call look just like calling any other function, we need to write a user level function that can be that starts the system call.
Define two files mygetpid.c and the associated header file mygetpid.h: