On Sunday, January 22, 2012 03:41:30 Jonathan M Davis wrote: > On Sunday, January 22, 2012 12:25:25 Alex Rønne Petersen wrote: > > I wasn't suggesting changing size_t, but rather ptrdiff_t which is much > > less commonly used. (Or alternatively, just adding a ptrdiff_t -> > > isize_t alias.) > > What you want is probably ssize_t. It's only defined for Posix at the moment > though (core.sys.posix.sys.types).
Actually, a better idea would be to just use c_long (which is what ssize_t is anyway), which is in core.stdc.config. It's available on all OSes. - Jonathan M Davis
