GRASS library exits.
greg at longs.lance.colostate.edu
Tue Mar 31 11:50:05 EST 1992
Yesterday I was able to figure out a trick to overcome the exits
present in GRASS:
I created my own function called exit() which does nothing, and when
the program is linked, this function is called, instead of the "real"
exit. In my program, I now use a call to another function (Exit())
which merely calls _exit() when I want to get out.
This gets around the calls to exit in the GRASS library, and still allows
my program to exit when it wants.
Thanks for the suggestions.
More information about the grass-dev