stdio.h defines BUFSIZ
[unix-history] / usr / src / usr.bin / f77 / libU77 / ltime_.c
CommitLineData
110c9d10 1/*
161423a6
RE
2 * Copyright (c) 1980 Regents of the University of California.
3 * All rights reserved. The Berkeley software License Agreement
4 * specifies the terms and conditions for redistribution.
110c9d10 5 *
161423a6
RE
6 * @(#)ltime_.c 5.1 %G%
7 */
8
9/*
110c9d10
DW
10 * return broken down time
11 *
12 * calling sequence:
13 * integer time, t[9]
14 * call ltime(time, t)
15 * where:
16 * time is a system time. (see time(3F))
17 * t will receive the broken down time corrected for local timezone.
18 * (see ctime(3))
19 */
20
21int *localtime();
22
23ltime_(clock, t)
24long *clock; long *t;
25{
26 int i;
27 int *l;
28
29 l = localtime(clock);
30 for (i=0; i<9; i++)
31 *t++ = *l++;
32}