projects
/
unix-history
/ blame
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(incremental) |
history
|
HEAD
Bell 32V release
[unix-history]
/
usr
/
src
/
libc
/
stdio
/
putw.c
Commit
Line
Data
74cf4b4a
TL
1
#include <stdio.h>
2
3
putw(w, iop)
4
register FILE *iop;
5
{
6
register char *p;
7
register i;
8
9
p = (char *)&w;
10
for (i=sizeof(int); --i>=0;)
11
putc(*p++, iop);
12
return(ferror(iop));
13
}