This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On 09/12/2016 06:48 AM, Florian Weimer wrote:
+int getrandom (void *__buffer, size_t __length, unsigned int __flags) + __wur;
In looking into implementing a Gnulib approximation to or wrapper for the getrandom proposal, I noticed that the most recent (Sept. 12) version the proposed getrandom returns int (like Solaris 11), whereas the previous version (Sept. 8) returned ssize_t (like 'read'). From the GNU point of view ssize_t makes more sense, as it avoids an arbitrary 2 GiB limit on 64-bit hosts. I don't recall this change being discussed so I thought I'd ask what's up.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |