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]

Re: [PATCH 0/5] obstacks again


Eric Blake wrote:
Can we use ssize_t instead of size_t for obstack_blank_fast?

Not portably, no.  ssize_t need not be the same width as size_t.

As I understand it, ssize_t was partly invented to support platforms where 'read' took a 64-bit size_t argument and returned a 32-bit signed result -- and ssize_t is therefore best avoided except when dealing directly with system calls that return ssize_t.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]