#include
#include
#include
#include
#include
int main(void)
{
pid_t Checksu
Remember that output through printf
(to stdout
) is normally line buffered. That means the output-buffer gets flushed on newline. As you don't have a newline after the string you want to print, the output-buffer will not be flushed.
Either add a newline last in the string, or manually flush the buffers with fflush.