|
|
1.1 root 1: /*
2: * libc/sys/i386/time.c
3: * Copyright (c) Bureau d'Etudes Ciaran O'Donnell,1987,1990,1991.
4: * time() function recoded in C for sm90.
5: */
6:
7: #include <sys/types.h>
8:
9: extern time_t _time();
10:
11: time_t
12: time(tloc) register long *tloc;
13: {
14: register time_t tvec;
15:
16: if ((tvec = _time()) != (time_t)-1L && tloc != (char *)0)
17: *tloc = tvec;
18: return tvec;
19: }
20:
21: /* end of libc/sys/i386/time.c */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.