summaryrefslogtreecommitdiffstats
path: root/otherlibs/unix/getegid.c
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/unix/getegid.c')
-rw-r--r--otherlibs/unix/getegid.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/otherlibs/unix/getegid.c b/otherlibs/unix/getegid.c
new file mode 100644
index 000000000..482177410
--- /dev/null
+++ b/otherlibs/unix/getegid.c
@@ -0,0 +1,7 @@
+#include <mlvalues.h>
+#include "unix.h"
+
+value unix_getegid() /* ML */
+{
+ return Val_int(getegid());
+}