char *shmaddr;
const void *shmaddr;
shmat (shmid, shmaddr, shmflg)     int shmid;     char *shmaddr;     int shmflg;{  int retval;  unsigned long raddr;  retval = __ipc (IPCOP_shmat, shmid, shmflg, (int) &raddr, shmaddr);  return retval < 0 ? (char *) retval : (char *) raddr;}