[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Mldonkey-commits] Changes to mldonkey/src/utils/lib/stubs_c.c
From: |
mldonkey-commits |
Subject: |
[Mldonkey-commits] Changes to mldonkey/src/utils/lib/stubs_c.c |
Date: |
Thu, 08 Sep 2005 08:44:57 -0400 |
Index: mldonkey/src/utils/lib/stubs_c.c
diff -u mldonkey/src/utils/lib/stubs_c.c:1.22
mldonkey/src/utils/lib/stubs_c.c:1.23
--- mldonkey/src/utils/lib/stubs_c.c:1.22 Fri Sep 2 22:39:59 2005
+++ mldonkey/src/utils/lib/stubs_c.c Thu Sep 8 12:44:53 2005
@@ -1198,3 +1198,11 @@
return Val_unit;
}
+
+value
+ml_uname(void) {
+ char buf[4096];
+ buf[0] = '\0';
+ os_uname(buf);
+ return caml_copy_string(buf);
+}