On Tue, Jun 15, 2010 at 8:00 AM, Siddu <siddu.sjce@xxxxxxxxx> wrote: > 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 . it always adds up to 128 bytes both on 32 and 64 bit machines. --------------------------------------------------------------- regards Manish Regmi http://manish-cs.blogspot.com http://ext2read.sf.net -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ