Mercurial > projects > aid
comparison trunk/bcd/sys/times.d @ 0:4b2e8e8a633e
Repository setup.
author | revcompgeek |
---|---|
date | Mon, 03 Mar 2008 19:28:10 -0700 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:4b2e8e8a633e |
---|---|
1 /* THIS FILE GENERATED BY bcd.gen */ | |
2 module bcd.sys.times; | |
3 align(4): | |
4 //public import bcd.sys._types; | |
5 alias uint clock_t; | |
6 extern (C) uint times(tms *); | |
7 struct tms { | |
8 uint tms_utime; | |
9 uint tms_stime; | |
10 uint tms_cutime; | |
11 uint tms_cstime; | |
12 } | |
13 long iutime(){ | |
14 tms t; | |
15 times(&t); | |
16 return t.tms_utime; | |
17 } |