Initial revision

This commit is contained in:
ceriel
1987-03-03 09:37:26 +00:00
parent 1194f5f28c
commit c32da75ccd
154 changed files with 1313 additions and 0 deletions

12
mach/sun2/libsys/time.c Normal file
View File

@@ -0,0 +1,12 @@
long
time(loc)
long *loc;
{
struct { long l1,l2; } t1;
if (gettimeofday(&t1, (char *) 0) < 0) {
return -1;
}
if (loc) *loc = t1.l1;
return t1.l1;
}