This repository has been archived on 2024-12-16. You can view files and clone it, but cannot push or open issues or pull requests.
CodeBlocksPortable/WATCOM/samples/clibexam/breakoff.c

19 lines
307 B
C

#include <stdio.h>
#include <stdlib.h>
void main()
{
long i;
FILE *tmpf;
tmpf = tmpfile();
if( tmpf != NULL ) {
printf( "Start\n" );
break_off();
for( i = 1; i < 100000; i++ )
fprintf( tmpf, "%ld\n", i );
break_on();
printf( "Finish\n" );
}
}