emacs-devel
[Top][All Lists]
Advanced

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

Re: Change to process.c


From: Nick Roberts
Subject: Re: Change to process.c
Date: Sun, 22 May 2005 16:33:32 +1200

 > What are the expansions of the macros that come into play here
 > (SIGTYPE, signal_handler_t), and what is the signature of sys_signal
 > on that machine?

   old_sigpipe = (SIGTYPE (*) ()) signal (SIGPIPE, send_process_trap)
expands to:
   old_sigpipe = (void (*) ()) sys_signal(13,send_process_trap)

signal (SIGPIPE, old_sigpipe)     expands to:       sys_signal(13,old_sigpipe)

What does "the signature of sys_signal" mean?

 > Also, what version of GCC is that?

nickrob/37 gcc --version
gcc (GCC) 3.2 (Mandrake Linux 9.0 3.2-1mdk)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


Nick




reply via email to

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