[Univ of Cambridge] [Dept of Engineering]
next up previous contents
Next: Input Up: Interactive Previous: Interactive

Output

For efficiency, writing to files under Unix is usually buffered, so printf(....) might not immediately produce bytes at stdout. Should your program crash soon after a printf() command you might never see the output. If you want to force synchronous output you can



Tim Love
1999-10-06