Bell 32V release
[unix-history] / usr / src / libc / stdio / putw.c
#include <stdio.h>
putw(w, iop)
register FILE *iop;
{
register char *p;
register i;
p = (char *)&w;
for (i=sizeof(int); --i>=0;)
putc(*p++, iop);
return(ferror(iop));
}