On 06/09/16 at 10:11pm, Tobias Stöckmann wrote: > > > On June 9, 2016 at 7:31 PM Andrew Gregory <andrew.gregor...@gmail.com> > > wrote: > > I don't follow your logic. SSIZE_MAX is only guaranteed to be at > > least 32,767. PATH_MAX can easily be larger than that without coming > > close to exhausting my system's resources. > > > > apg > > If SSIZE_MAX is just 32,767, then SIZE_MAX is 65,535. With such a small amount > of addressable space, your resources are very quickly exhausted. Let alone > that > I don't remember a 16 bit memory operating system that is still supported.
SIZE_MAX is the maximum size of individual objects, not the entire addressable space.