Re: getrandom(2): return type mismatch for getrandom()

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

 



Dear Michael,

I'm sorry for the late response, I didn't notice when the commit made it
in.  It seems like your fix just introduced another, though more minor
issue unless I misunderstand something.

The man page now says the return type is "ssize" instead of "ssize_t".
Is that really what you meant to write?

I apologize for any confusion I may have caused.

Sincerely,

Fabio

On 09/10/2017 07:44 AM, Michael Kerrisk (man-pages) wrote:
> Hello Fabio,
> 
> On 9 September 2017 at 13:42, Fabio Scotoni <fabio@xxxxxxx> wrote:
>> The getrandom(2) page claims that getrandom() returns int.  It actually
>> returns ssize_t according to sysdeps/unix/sysv/linux/getrandom.c in
>> glibc and drivers/char/random.c in Linux.
> 
> Thanks. Fixed!
> 
> 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