delorie.com/archives/browse.cgi | search |
> Date: Fri, 24 Jan 2003 19:59:08 +0000 > From: Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk> > > > > However, isn't ssize_t mandated by some standard? > > Yes, POSIX or SUS. However, it's not defined in <stdio.h>. <stdio.h> is > allowed to define anything that <stddef.h> does. But ssize_t is not in > <stddef.h>. It's defined in <sys/types.h> > > So we would pollute <stdio.h> with ssize_t, if FILE._cnt is an ssize_t. Shall > I revert FILE._cnt to a long? I'd go for having ssize_t in stdio.h regardless. IMHO, a typedef does not do any harm, unless the program which includes stdio.h defines its own type under the name ssize_t. But if others feel strongly against doing that, I guess we need to go back with FILE._cnt.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |