All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simone Piccardi <piccardi-TuvemuYfxVQ1GQ1Ptb7lUw@public.gmane.org>
To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Cc: linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: semctl: wrong type on semid_ds
Date: Sat, 04 May 2013 20:27:50 +0200	[thread overview]
Message-ID: <51855326.2070406@truelite.it> (raw)

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

             reply	other threads:[~2013-05-04 18:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-04 18:27 Simone Piccardi [this message]
     [not found] ` <51855326.2070406-TuvemuYfxVQ1GQ1Ptb7lUw@public.gmane.org>
2013-06-03 16:47   ` semctl: wrong type on semid_ds Michael Kerrisk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51855326.2070406@truelite.it \
    --to=piccardi-tuvemuyfxvq1gq1ptb7luw@public.gmane.org \
    --cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.