Return NULL if there is nothing more to read or an error occurs. :

Your philo executable must:

You will be asked to manipulate char * arrays. You must be comfortable with: