Re: XForms: Forking Behaviour

Steve Lamont (
Tue, 20 May 97 15:01:17 PDT

To subscribers of the xforms list from (Steve Lamont) :

> Is there a way to close this file descriptor in a child process? The
> child processes I'm starting don't need to have any access to graphics at
> all, but *do* need to be started after the fl_initialize routine is
> called.

I guess first off I'd have to ask myself if this *is* absolutely
necessary and redesign the code if it was not.

> Is some permutation on
> close (ConnectionNumber(XtDisplay(widget)));
> what I want to be happening? If so, how do I get the ConnectionNumber
> for the XForms windows?

I suppose

close( ConnectionNumber( fl_get_display() ) );

should work -- assuming it works at all. :-)

To unsubscribe, send the message "unsubscribe" to or see
Xforms Home Page:
List Archive: