Need Non-Blocking Terminal Input Fun

Doug Gwyn <gwyn> gwyn at brl-tgr.ARPA
Tue Jan 28 07:45:47 AEST 1986


How many times have you seen something like the following?

> 	tim.tv_sec = (argc>1)?atoi(argv[1]):3; 	/* wait for argv[1] seconds */
> 						/* default is 9		    */

Moral:  Don't believe comments; check the code anyway.



More information about the Comp.lang.c mailing list