HOMEWORK 4 FAQ (Thu Oct 4, 0955 HOURS) ERRATA ------ Problem 1 --------- Problem 2 --------- Q2-1) When I run npipe it just hangs and there is no output. What do I do? A2-1) Did you supply it with input? The comments in do_plumbing() suggest that each process reads from stdin and writes to stdout. So, you either have to give it input from the keyboard or run it like this: npipe < xxx where xxx is a file that you created with some number of lines of text. Q2-2) I get a "floating point exception". What's that about? A2-2) There are NO floating point operations in npipe. Typically, that means that you either have a bad pointer that has destroyed something or you are passing a function a bad argument ... maybe an index out of range of an array or a bad pointer. You will have to first locate the area in the code causing the problem and then either run a debugger or insert calls to "fprintf(stderr,...)" to display the values of the parameters that are suspect. Problem 3 ---------