summaryrefslogtreecommitdiff
path: root/src/sysdeps/trysizeofgid.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sysdeps/trysizeofgid.c')
-rw-r--r--src/sysdeps/trysizeofgid.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/sysdeps/trysizeofgid.c b/src/sysdeps/trysizeofgid.c
new file mode 100644
index 0000000..75eeb2c
--- /dev/null
+++ b/src/sysdeps/trysizeofgid.c
@@ -0,0 +1,8 @@
+#include <sys/types.h>
+#include <stdio.h>
+
+int main (void)
+{
+ printf("%u\n", (unsigned int)sizeof(gid_t)) ;
+ return 0 ;
+}