httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Manoj Kasichainula <man...@raleigh.ibm.com>
Subject ssize_t vs. size_t
Date Tue, 26 Oct 1999 23:15:45 GMT
According to Single Unix, size_t is "Used for sizes of objects" while
ssize_t is "Used for a count of bytes or an error indication." I take
this to mean that size_t can be unsigned and ssize_t is signed.  But,
since APR does its errors completely differently, ssize_t is
unnecessary. Should/Can I just replace the ap_ssize_t's with
ap_size_t's?

And yeah, all this ap_size_t stuff is pedantic, but I figure it'll be
useful once we're doing 64-bit I/O.

-- 
Manoj Kasichainula - manojk@raleigh.ibm.com
IBM, Apache Development

Mime
View raw message