~ubuntu-branches/ubuntu/trusty/mit-scheme/trusty

« back to all changes in this revision

Viewing changes to src/microcode/osenv.h

  • Committer: Package Import Robot
  • Author(s): Chris Hanson
  • Date: 2011-10-15 03:08:33 UTC
  • mfrom: (1.1.8) (3.1.7 sid)
  • Revision ID: package-import@ubuntu.com-20111015030833-x7qc6yxuulvxbafv
Tags: 9.1-1
* New upstream.
* debian/control, debian/copyright, debian/mit-scheme-doc.*,
  debian/mit-scheme.install, debian/rules, Upstream has removed cover
  texts from documentation licenses, so merge packages mit-scheme and
  mit-scheme-doc back together.
* debian/compat: Bump to current version.
* debian/control: Bump standards-version to current and make
  necessary changes.
* debian/rules: Fix lintian warnings.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994,
4
4
    1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
5
 
    2006, 2007, 2008, 2009, 2010 Massachusetts Institute of Technology
 
5
    2006, 2007, 2008, 2009, 2010, 2011 Massachusetts Institute of
 
6
    Technology
6
7
 
7
8
This file is part of MIT/GNU Scheme.
8
9
 
41
42
  int time_zone;
42
43
};
43
44
 
 
45
struct scheme_nanotime
 
46
{
 
47
  intmax_t seconds;
 
48
  uint32_t nanoseconds;
 
49
};
 
50
 
 
51
#if 0
 
52
/* Any practical use?  */
 
53
 
 
54
struct scheme_attotime
 
55
{
 
56
  intmax_t seconds;
 
57
  uint64_t attoseconds;
 
58
};
 
59
#endif
 
60
 
 
61
extern void OS_nanotime_since_utc_epoch (struct scheme_nanotime *);
44
62
extern time_t OS_encoded_time (void);
45
63
extern void OS_decode_time (time_t, struct time_structure *);
46
64
extern void OS_decode_utc (time_t, struct time_structure *);