FreeBSD/sys/kern/subr_msgbuf.c
/*
 * Append a character to a message buffer.
 */
Append a character to a message buffer.
Append a character to a message buffer .
void
msgbuf_addchar(struct msgbuf *mbp, int c)
{
	mtx_lock_spin(&mbp->msg_lock);
	msgbuf_do_addchar(mbp, &mbp->msg_wseq, c);
	mtx_unlock_spin(&mbp->msg_lock);
}
void msgbuf_addchar ( struct msgbuf * mbp , int c ) { mtx_lock_spin ( & mbp -> msg_lock ) ; msgbuf_do_addchar ( mbp , & mbp -> msg_wseq , c ) ; mtx_unlock_spin ( & mbp -> msg_lock ) ; }
Append a character to a message buffer.
Append a character to a message buffer .