Search Contact information
University of Cambridge Home Department of Engineering
University of Cambridge >  Engineering Department >  computing help
next up previous contents
Next: Input Up: Interactive Previous: Interactive   Contents

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 2010-04-27