V7/usr/src/libc/stdio/putw.c

Compare this file to the similar file:
Show the results in this format:

#include	<stdio.h>

putw(i, iop)
register i;
register struct _iobuf *iop;
{
	putc(i, iop);
	putc(i>>8, iop);
}