#include #include #include int glob = 6; char buf[] = "a write to standard output\n"; int main( void ) { int var = 88; /* local variable on the stack */ pid_t pid; if ( write( STDOUT_FILENO, buf, sizeof (buf) - 1 ) != sizeof( buf ) - 1 ) { fprintf( stderr, "write error" ); exit( 1 ); }