rawarc
MAXARCS * sizeof(struct rawarc);
struct rawarc rawarc;
rawarc.raw_frompc = frompc;
rawarc.raw_selfpc = p->tos[toindex].selfpc;
rawarc.raw_count = p->tos[toindex].count;
memcpy(&p->rawarcs[totarc * sizeof(struct rawarc)],
&rawarc, sizeof rawarc);
hdr->totarc = totarc * sizeof(struct rawarc);
struct rawarc arc;
tally(struct rawarc *rawp)
struct rawarc arc;
void tally(struct rawarc *);
struct rawarc rawarc;
rawarc.raw_frompc = frompc;
rawarc.raw_selfpc = (u_long)tos[toindex].selfpc;
rawarc.raw_count = tos[toindex].count;
fwrite((char *)&rawarc, sizeof(rawarc), 1, fp);