diff trunk/bcd/sys/times.d @ 0:4b2e8e8a633e

Repository setup.
author revcompgeek
date Mon, 03 Mar 2008 19:28:10 -0700
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/trunk/bcd/sys/times.d	Mon Mar 03 19:28:10 2008 -0700
@@ -0,0 +1,17 @@
+/* THIS FILE GENERATED BY bcd.gen */
+module bcd.sys.times;
+align(4):
+//public import bcd.sys._types;
+alias uint clock_t;
+extern (C) uint times(tms *);
+struct tms {
+uint tms_utime;
+uint tms_stime;
+uint tms_cutime;
+uint tms_cstime;
+}
+long iutime(){
+	tms t;
+	times(&t);
+	return t.tms_utime;
+}