File:  [MW Coherent from dump] / coherent / b / lib / libc / stdio / pdp11 / putw.c
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:36 2019 UTC (7 years ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
coherent

/*
 * Standard I/O Library
 * Put word (int) to file
 * Routine instead of macro for the cheap and lazy
 */

#include <stdio.h>
#undef	putw

int
putw(w, fp)
int	w;
register FILE	*fp;
{
	putc(w, fp);
	putc(w>>8, fp);
	return (w);
}

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.