semctl: wrong type on semid_ds

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx
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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux