File:  [MW Coherent from dump] / coherent / b / bin / c / common / iget.c
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:37 2019 UTC (7 years, 2 months ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
coherent

/*
 * Standard stream library for the
 * C compiler and other compilers that use
 * C compiler factilities.
 * Input an ival_t.
 */
#include <stdio.h>
#ifdef   vax
#include "INC$LIB:mch.h"
#else
#include "mch.h"
#endif

ival_t
iget()
{
	register char *p;
	register n;
	ival_t   i;

	p = &i;
	n = sizeof(ival_t);
	do {
		*p++ = bget();
	} while (--n);
	return (i);
}

unix.superglobalmegacorp.com

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