On Tue, Jun 15, 2010 at 7:27 PM, Manish Regmi <regmi.manish@xxxxxxxxx> wrote:
On Tue, Jun 15, 2010 at 8:00 AM, Siddu <siddu.sjce@xxxxxxxxx> wrote:it always adds up to 128 bytes both on 32 and 64 bit machines.
> Hello all,
>
> I came across an article (http://www.linuxjournal.com/article/6483) about
> signals . Its a very nice article
>
> It says and also i verified that the size of sigset_t showing 128 bytes ?
>
> while code from /* /usr/include/bits/sigset.h */
>
> "Maybe this is not the right place to ask this .... Sorry, Hoping someone
> would be knowing the answer "
>
> # define _SIGSET_NWORDS (1024 / (8 * sizeof (unsigned long int)))
> typedef struct
> {
> unsigned long int __val[_SIGSET_NWORDS];
> } __sigset_t;
>
> typedef __sigset_t sigset_t;
>
> which is definitely not 128 bytes .
Haan that's right .... my bad :(
---------------------------------------------------------------
regards
Manish Regmi
http://manish-cs.blogspot.com
http://ext2read.sf.net
--
Regards,
~Sid~
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gazing through the window at the world outside,
Wondering will mother earth survive ?
Hoping that the mankind will stop abusing her
Sometime !
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -