bug-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cleanup_register() uses its argument in contradictory ways


From: Terrence Enger
Subject: Re: cleanup_register() uses its argument in contradictory ways
Date: Fri, 10 Oct 2003 15:32:42 -0400

At 14:13 2003-10-10 -0400, you wrote:
>Greetings,
>
>I notice that cleanup_register() in src/exithandle.c calls
>both signals_register() and atexit() with its argument.  But
>signals_register() takes in effect void(*)(void), while
                                            ^^^^  
of course, I meant ...              void(*)(int)

Please accept my apologies.

Smart comments about me having a void in my mind may be directed 
to /dev/null.

>atexit() takes void(*)(void).  I wonder how you can use one
>function in both calls.  Can anybody here help me
>understand?
>
>FWIW, the functions passed to cleanup_register() are
>  SYSTEM_CLEANUP
>  server_cleanup
>  Lock_Cleanup
>  rcs_cleanup
>The three of these take a void argument lists, and I wrote a
>SYSTEM_CLEANUP like that, too.
>
>Thank you, all, for your attention.
>
>Terry.
>Available for contract programming.
>
>
>
>
>_______________________________________________
>Bug-cvs mailing list
>Bug-cvs@gnu.org
>http://mail.gnu.org/mailman/listinfo/bug-cvs
>
>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]