reading with timeout?

Robert Olsson datoravd, EMC tfn 018-672581 robert at eva.slu.se
Sun Jun 4 01:51:56 AEST 1989


	Is there a way of reading with timeout in C, without using the 
	vendor-specific routines? I would like something like this:

	timeout = settimeout( 5 );
	fscanf (.......
	.
	if ( timeout ) {
	.

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Swedish University of Agricultural Sciences
Dept. of Statistics, Data Processing and Agricultural Extension
Computer Section EMC, Box 7072, 750 07  UPPSALA,  SWEDEN   Tel +46 18 672407
E-mail robert at eva.slu.se, SUNET eva::robert, FAX +46 18 302876



More information about the Comp.lang.c mailing list