XForms: fl_finish; why not change it?

Dick Middleton (dick@sqf.hp.com)
Tue, 5 May 1998 11:36:00 +0100

# To subscribers of the xforms list from Dick Middleton <dick@sqf.hp.com> :

> # To subscribers of the xforms list from Vicentini Emanuele <vicentin@arena.sci.univr.it> :

> > The primary purpose of fl_finish() is to clean up any modifications
> > that XForms has made to the server defaults in the case of a callback
> > activated by a shortcut. The fl_finish() should be more or less
> > immediately followed by an exit(), since as a side effect the server
> > connection is also shut down.

> Well, why don't chage fl_finish to something like

> void fl_finish(short exit_value){

> /*
> * all the code necessary...
> */

> exit(exit_value);
> }

You might want to terminate the xforms/X server connection but continue the
program doing something else.

Dick

-------------------------- European Customer Support --------------------------
_
Dick Middleton / / Advanced Networks Division
HP Telnet: 313-2530 / /__ ______ South Queensferry
Phone: +44 131-331 7530 / __ / / ___ / Scotland UK
Fax: +44 131-331 7443 / / / / / /__/ /
email: dick@sqf.hp.com /_/ /_/ / _____/
/ / ( )
( ) /_/ ( )
( ) _______ ( )
( ) | . ~ ~ ~ ~~ .
. ~ ~ ~ ~~ . |
/O\
-------------------------------------( o )-------------------------------------
- I'd rather be soaring
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/