SCCS-vsn: sys/kern/subr_prf.c 6.13
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*
- * @(#)subr_prf.c 6.12 (Berkeley) %G%
+ * @(#)subr_prf.c 6.13 (Berkeley) %G%
for (i=0; i < MSG_BSIZE; i++)
msgbuf.msg_bufc[i] = 0;
}
for (i=0; i < MSG_BSIZE; i++)
msgbuf.msg_bufc[i] = 0;
}
+ msgbuf.msg_bufc[msgbuf.msg_bufx++] = c;
if (msgbuf.msg_bufx < 0 || msgbuf.msg_bufx >= MSG_BSIZE)
msgbuf.msg_bufx = 0;
if (msgbuf.msg_bufx < 0 || msgbuf.msg_bufx >= MSG_BSIZE)
msgbuf.msg_bufx = 0;
- msgbuf.msg_bufc[msgbuf.msg_bufx++] = c;
}
if ((flags & TOCONS) && c != '\0')
cnputc(c);
}
if ((flags & TOCONS) && c != '\0')
cnputc(c);