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

/*
 * libc/sys/i386/time.c
 * Copyright (c) Bureau d'Etudes Ciaran O'Donnell,1987,1990,1991.
 * time() function recoded in C for sm90.
 */

#include <sys/types.h>

extern	time_t _time();

time_t
time(tloc) register long *tloc;
{
	register time_t tvec;

	if ((tvec = _time()) != (time_t)-1L && tloc != (char *)0)
		*tloc = tvec;
	return tvec;
}

/* end of libc/sys/i386/time.c */

unix.superglobalmegacorp.com

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