int process_id; process_id = proc(); //Note that the proc process returns it's ID when the first frame //statement in the process is reached. If the process returns a //value, process_id will hold that returned value and not the ID.