finding the largest process id

@

Write a system call, largest_process_id( ),  which a C program can invoke to print out the largest process id currently in the system.

@

ex.

main()

{

int max_process_id;

.....

max_process_id = largest_process_id();

printf("The largest process id currently in the system is %d", max_process_id);

...

}

@