[Tfug] Felix the Screwup

Felix Tilley fetilley at earthlink.net
Sun Sep 9 21:48:42 MST 2007


I am self taught in C.  My only formal language training was in PDP-11 
assembly language, circa 1983, at Hughes in Canoga Park.



sync();        /* Force I/O to disk */


exit (0);


On my first try. I used


sync;        /* Force I/O to disk */


exit (0);


Note lack of parentheses on the first try.  No errors, no warnings.  It 
just compiled.
I am not aware of a sync command in C.  I didn't figure it out until I 
compiled with the -S option, and examined the assembly text.

Sorry to have left early on Thursday.  I had rocket ship diarrhea.  
That's where you hold on to the toilet seat to stay out of orbit.

gcc --version
gcc (GCC) 4.1.0 (SUSE Linux)










More information about the tfug mailing list