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/ign_hnd.c

15 lines
336 B
C

#define __STDC_WANT_LIB_EXT1__ 1
#include <stdlib.h>
#include <stdio.h>
void main( void )
{
constraint_handler_t old_handler;
old_handler = set_constraint_handler_s( ignore_handler_s );
if( getenv_s( NULL, NULL, 0, NULL ) ) {
printf( "getenv_s failed\n" );
}
set_constraint_handler_s( old_handler );
}