I am writing a shell in C that does a basic job control. My observations from the bash shell are that when the fg [%]id command is run, it can bring two types of jo
fg [%]id