projects
/
unix-history
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
be43614
)
Bell 32V development
author
Tom London
<tbl@research.uucp>
Tue, 23 Jan 1979 00:18:10 +0000
(19:18 -0500)
committer
Tom London
<tbl@research.uucp>
Tue, 23 Jan 1979 00:18:10 +0000
(19:18 -0500)
Work on file usr/src/libc/stdio/putw.c
Co-Authored-By: John Reiser <jfr@research.uucp>
Synthesized-from: 32v
usr/src/libc/stdio/putw.c
[new file with mode: 0644]
patch
|
blob
diff --git a/usr/src/libc/stdio/putw.c
b/usr/src/libc/stdio/putw.c
new file mode 100644
(file)
index 0000000..
b775413
--- /dev/null
+++ b/
usr/src/libc/stdio/putw.c
@@ -0,0
+1,13
@@
+#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));
+}