Full Disclosure mailing list archives
Re: linux type definitions
From: Thamer Al-Harbash <tmh () whitefang com>
Date: Mon, 14 Apr 2003 11:34:01 -0400 (EDT)
On Mon, 14 Apr 2003, Timo Sirainen wrote:
size_t is defined to be unsigned in C99 standard. Some implementations have defined it as signed, but I'd consider those to be broken. strlen() can't return a value out of range of size_t, or the implementation is broken (size_t should have been defined larger).
ssize_t is the counterpart of size_t which is signed. -- Thamer Al-Harbash http://www.whitefang.com/ (if (> pressure too-much-pressure) 'flame 'work) _______________________________________________ Full-Disclosure - We believe in it. Charter: http://lists.netsys.com/full-disclosure-charter.html
Current thread:
- linux type definitions n d (Apr 14)
- Re: linux type definitions Timo Sirainen (Apr 14)
- Re: linux type definitions Thamer Al-Harbash (Apr 14)
- Re: linux type definitions Timo Sirainen (Apr 14)