Interprocess communication and the USER call

Tom Pancero postmaster at cobbinc.com
Thu May 26 05:04:20 PDT 2005


Dear list,

Filepro 5.0.11 and RH-8.

I am finishing an interface program, in C, that makes an address matching
engine communicate with Filepro processing tables.  The data flow is
bi-directional, 3 lines from Filepro and you get 'returns' from the 
engine in
groups of 5 lines.  This portion of the project is working well.

I need to handle the termination of the USER call gracefully in the 
interface
program.  Shared Memory, and Message Queues must be closed correctly
as there are limits to how many queues you may have active at any time.
I do not like to leave 'orphans' laying around.

I am using the SIGNAL() function, in C, to handle a <CTL>C if the
interface is invoked from the command line (Debug).  I wish to find out
the specific IP_Signal that the interface will receive when the USER call
is terminated by the Filepro processing completing its run.

I know that sending a <CTL>C generated a SIGINT signal.
Filepro, apparently, does not send a SIGINT signal. Nor does
it seem to send a SIGHUP or a SIGQUIT.

Can someone shed some light on this for me?

Thanks



More information about the Filepro-list mailing list