bug-gnulib
[Top][All Lists]
Advanced

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

Re: [PATCH 0/5] obstacks again


From: Paul Eggert
Subject: Re: [PATCH 0/5] obstacks again
Date: Fri, 31 Oct 2014 15:24:13 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]