C optimizer
Paul Gluckauf Haahr
haahr at phoenix.Princeton.EDU
Fri Feb 24 15:04:07 AEST 1989
In article <3121 at ficc.uu.net> peter at ficc.uu.net (Peter da Silva) writes:
> Can anyone think of any pure system calls? ioctl(fd, TCGETA, tbuf)?
trivial examples are getdtablesize() or getpagesize() from bsd,
at least in the absence of process migration for heterogenous
operating system versions (a safe assumption in 1989).
one might want to consider _exit() pure, as there can be no
second call, but it's largely irrelevant to optimization.
now, who cares?
More information about the Comp.lang.c
mailing list