/* -*-C-*-
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/Attic/posixtyp.h,v 1.3 1990/12/11 04:16:23 cph Rel $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/Attic/posixtyp.h,v 1.4 1991/09/25 20:37:24 cph Exp $
-Copyright (c) 1990 Massachusetts Institute of Technology
+Copyright (c) 1990-91 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
#define _NLINK_T
#define _PID_T
#define _CLOCK_T
+#define _TIME_T
#define _SIZE_T
#define _CC_T
#endif
+#ifdef apollo
+#define _MODE_T
+#define _NLINK_T
+#define _PID_T
+#endif
+
#endif
#ifndef _MODE_T
typedef unsigned long clock_t;
#endif
+#ifndef _TIME_T
+#define _TIME_T
+typedef long time_t;
+#endif
+
#ifndef _SIZE_T
#define _SIZE_T
typedef unsigned int size_t;
/* -*-C-*-
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/pruxenv.c,v 1.3 1991/08/13 05:46:06 jinx Exp $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/pruxenv.c,v 1.4 1991/09/25 20:37:33 cph Exp $
-Copyright (c) 1990 Massachusetts Institute of Technology
+Copyright (c) 1990-91 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
PRIMITIVE_HEADER (1);
CHECK_ARG (1, INTEGER_P);
{
- long clock = (arg_integer (1));
+ time_t clock = (arg_integer (1));
char * time_string = (UX_ctime (&clock));
(time_string[24]) = '\0';
PRIMITIVE_RETURN (char_pointer_to_string (time_string));