Re: linux man pages: pthread_create(3): oddball comment

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

 



On 05/24/13 06:58, Anthony Foiani wrote:
> Greetings.
> 
> The man page for pthread_create:
> 
> http://man7.org/linux/man-pages/man3/pthread_create.3.html
> 
> Has some example code at the bottom; one of the invocations includes
> this bit of commentary:
> 
>            8192            # The stack size limit is 8 MB (0x80000 bytes)
> 
> I had to stare at that a bit; I believe it should actually be 0x800000
> (note 5 zeros, not 4).

Yes, of course you are right! I'll fix. Thanks for reporting the problem.

> (I do wish that we -- the computing community -- had managed to come
> up with a sane digits separator for hex, but oh well.  0x80_0000
> maybe?  0x80'0000?  just 0x80,0000?)

Actually, D get's this right -- it allows free use of underscores 
in numeric literals.

Cheers,

Michael

--
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