pmmsg
struct pmmsg Pmmsg; /* to respond to SAC */
struct pmmsg pmmsg; /* incoming message */
struct pmmsg *pp = &pmmsg; /* and a pointer to it */
if (read(Sfd, pp, sizeof (pmmsg)) < 0) {
struct pmmsg pmmsg;
pmmsg.pm_size = 0;
(void) strcpy(pmmsg.pm_tag, Tag);
pmmsg.pm_maxclass = TM_MAXCLASS;
pmmsg.pm_type = PM_STATUS;
pmmsg.pm_type = PM_UNKNOWN;
pmmsg.pm_state = State;
while (write(Sfd, &pmmsg, sizeof (pmmsg)) !=
sizeof (pmmsg)) {