diff lphobos/std/c/linux/linuxextern.d @ 1:c53b6e3fe49a trunk

[svn r5] Initial commit. Most things are very rough.
author lindquist
date Sat, 01 Sep 2007 21:43:27 +0200
parents
children 058d3925950e
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lphobos/std/c/linux/linuxextern.d	Sat Sep 01 21:43:27 2007 +0200
@@ -0,0 +1,25 @@
+
+/* Written by Walter Bright.
+ * www.digitalmars.com
+ * Placed into public domain.
+ * Linux(R) is the registered trademark of Linus Torvalds in the U.S. and other
+ * countries.
+ */
+
+/* These are all the globals defined by the linux C runtime library.
+ * Put them separate so they'll be externed - do not link in linuxextern.o
+ */
+
+module std.c.linux.linuxextern;
+
+extern (C)
+{
+    void* __libc_stack_end;
+    int __data_start;
+    int _end;
+    int timezone;
+
+    void *_deh_beg;
+    void *_deh_end;
+}
+