All of lore.kernel.org
 help / color / mirror / Atom feed
* semctl: wrong type on semid_ds
@ 2013-05-04 18:27 Simone Piccardi
       [not found] ` <51855326.2070406-TuvemuYfxVQ1GQ1Ptb7lUw@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Simone Piccardi @ 2013-05-04 18:27 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA

Hi,

in the semctl(2) man page (2012-05-31 version) I found a definitions of
semid_ds with:

...
unsigned short  sem_nsems; /* No. of semaphores in set */
...

but that's defined as:

  unsigned long int sem_nsems;          /* number of semaphores in set */

in /usr/include/bits/sem.h (at least in my debian)

I also found it defined as:

int                     sem_nsems;      /* no. of semaphores in array */


in /usr/src/linux-3.7.6/include/linux/sem.h

Regards
Simone
-- 
Simone Piccardi - KeyID:2A972F9D - JabberID:piccardi-TuvemuYfxVQ1GQ1Ptb7lUw@public.gmane.org
http://piccardi.gnulinux.it - http://www.fountainpen.it
Prima ti ignorano, poi ti deridono, poi ti combattono.  Poi vinci.
                                                 M. K. Ghandi
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-06-03 16:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-04 18:27 semctl: wrong type on semid_ds Simone Piccardi
     [not found] ` <51855326.2070406-TuvemuYfxVQ1GQ1Ptb7lUw@public.gmane.org>
2013-06-03 16:47   ` Michael Kerrisk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.