~ubuntu-branches/ubuntu/intrepid/mit-scheme/intrepid-updates

« back to all changes in this revision

Viewing changes to src/microcode/osenv.h

  • Committer: Bazaar Package Importer
  • Author(s): Chris Hanson
  • Date: 2002-03-14 17:04:07 UTC
  • Revision ID: james.westby@ubuntu.com-20020314170407-m5lg1d6bdsl9lv0s
Tags: upstream-7.7.0
ImportĀ upstreamĀ versionĀ 7.7.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* -*-C-*-
 
2
 
 
3
$Id: osenv.h,v 1.10 2000/12/05 21:23:47 cph Exp $
 
4
 
 
5
Copyright (c) 1990-2000 Massachusetts Institute of Technology
 
6
 
 
7
This program is free software; you can redistribute it and/or modify
 
8
it under the terms of the GNU General Public License as published by
 
9
the Free Software Foundation; either version 2 of the License, or (at
 
10
your option) any later version.
 
11
 
 
12
This program is distributed in the hope that it will be useful, but
 
13
WITHOUT ANY WARRANTY; without even the implied warranty of
 
14
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
15
General Public License for more details.
 
16
 
 
17
You should have received a copy of the GNU General Public License
 
18
along with this program; if not, write to the Free Software
 
19
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
20
*/
 
21
 
 
22
#ifndef SCM_OSENV_H
 
23
#define SCM_OSENV_H
 
24
 
 
25
#include "os.h"
 
26
 
 
27
struct time_structure
 
28
{
 
29
  unsigned int year;
 
30
  unsigned int month;
 
31
  unsigned int day;
 
32
  unsigned int hour;
 
33
  unsigned int minute;
 
34
  unsigned int second;
 
35
  unsigned int day_of_week;
 
36
  int daylight_savings_time;
 
37
  int time_zone;
 
38
};
 
39
 
 
40
extern time_t EXFUN (OS_encoded_time, (void));
 
41
extern void EXFUN (OS_decode_time, (time_t, struct time_structure *));
 
42
extern void EXFUN (OS_decode_utc, (time_t, struct time_structure *));
 
43
extern time_t EXFUN (OS_encode_time, (struct time_structure *));
 
44
extern double EXFUN (OS_process_clock, (void));
 
45
extern double EXFUN (OS_real_time_clock, (void));
 
46
extern void EXFUN (OS_process_timer_set, (clock_t, clock_t));
 
47
extern void EXFUN (OS_process_timer_clear, (void));
 
48
extern void EXFUN (OS_profile_timer_set, (clock_t, clock_t));
 
49
extern void EXFUN (OS_profile_timer_clear, (void));
 
50
extern void EXFUN (OS_real_timer_set, (clock_t, clock_t));
 
51
extern void EXFUN (OS_real_timer_clear, (void));
 
52
extern CONST char * EXFUN (OS_working_dir_pathname, (void));
 
53
extern void EXFUN (OS_set_working_dir_pathname, (CONST char *));
 
54
 
 
55
#endif /* SCM_OSENV_H */