CATCHSIG.C in net104_program_code.


IEC104 program source code element to the main station in a number of tested. In...Original Link
    Sponsored links

			
/*******************************************************************************
* This is the skeleton for the signal handling shutdown function - to set up   *
* signal handling for SIGUSR1, just call:                                      *
*                                                                              *
*     init_sighandler( &appl_data );                                           *
*                                                                              *
*  where "appl_data" is a buffer/struct containing data that sighandler()      *
*  can use when it is cleaning up prior to exiting - it is OK for              *
*  you to call init_sighandler() with a NULL pointer - if you do, then         *
*  "static_pappl_data" will be NULL.                                           *
*                                                                              *
*  Add whatever code you want to the sighandler() function to perform          *
*  your application-specific shudown - if you were talking over the            *
*  network (your process called ms			

			...
			...
			... to be continued.

  This is a preview. To get the complete source file, 
  please click here to download the whole source code package.

			
			


Project Files

    Sponsored links
NameSizeDate
 .make.state27.00 B10-03-03 13:13
 104DEF.H5.45 kB10-03-03 13:13
 104DRV.C4.23 kB10-03-03 13:13
 104LIB.C53.88 kB10-03-03 13:13
 104RD.C2.21 kB10-03-03 13:13
 104ZRG.TXT2.51 kB10-03-03 13:13
 CATCHSIG.C2.12 kB10-03-03 13:13
 catchsig1.c348.00 B10-03-03 13:13
 DD.DB16.83 kB10-03-03 13:13
 IPDEF.H460.00 B10-03-03 13:13
 MAKE.BAT45.00 B10-03-03 13:13
 MAKE.SCO1.61 kB10-03-03 13:13
 MAKE.SUN1.67 kB10-03-03 13:13
 MAKE.TST1.58 kB10-03-03 13:13
 MKRD.SCO1.58 kB10-03-03 13:13
 README5.00 kB10-03-03 13:13
 TEST.C7.85 kB10-03-03 13:13
 <net104drv>0.00 B10-07-07 16:54
...

Related Items

    Sponsored links