This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: sig_t typedef
- From: Corinna Vinschen <vinschen at redhat dot com>
- To: newlib at sourceware dot org, newlib <newlib at sources dot redhat dot com>
- Date: Wed, 12 Jan 2011 12:49:40 +0100
- Subject: Re: sig_t typedef
- References: <1294794570.5696.46.camel@YAAKOV04>
- Reply-to: newlib at sourceware dot org
On Jan 11 19:09, Yaakov (Cygwin/X) wrote:
> BSD uses the name sig_t for the return type of signal()[1], and glibc
> provides this typedef alongside its own sighandler_t[2]. Patch
> attached.
>
>
> Yaakov
>
> [1] http://fuse4bsd.creo.hu/localcgi/man-cgi.cgi?signal+3
> [2] http://www.kernel.org/doc/man-pages/online/pages/man2/signal.2.html
>
> 2011-01-11 Yaakov Selkowitz
>
> * libc/include/linux/sys/signal.h (sig_t): Move from here...
> * libc/include/signal.h (sig_t): ...to here.
Thanks, applied.
Corinna
--
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat