shared memory under SysV

William E. Davidsen Jr davidsen at steinmetz.ge.com
Tue May 17 06:18:53 AEST 1988


  I think this is a major conflict with ANSI C. The procedure must
return either an int or a pointer, but it can't portably do both, since
some systems don't represent the two types remotely the same way. This
works on the nice machine on which SysV was developed, but you better
hope that what's really returned for an error is "(char *) -1".
-- 
	bill davidsen		(wedu at ge-crd.arpa)
  {uunet | philabs | seismo}!steinmetz!crdos1!davidsen
"Stupidity, like virtue, is its own reward" -me



More information about the Comp.unix.wizards mailing list