Flush output stream for notifications
Created by: joerg-krause
fprintf()
does buffered I/O. Without flushing the stdout
stream a parent process (in my example a Node.js application) using swupdate
as a child will not receive a notification until the buffer is full or swupdate exits.
My editor automatically removed a trailing whitespace.