aboutsummaryrefslogtreecommitdiffstats
path: root/guts/getresgid.c
diff options
context:
space:
mode:
Diffstat (limited to 'guts/getresgid.c')
-rw-r--r--guts/getresgid.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/guts/getresgid.c b/guts/getresgid.c
deleted file mode 100644
index 13551a4..0000000
--- a/guts/getresgid.c
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- * Copyright (c) 2008-2010 Wind River Systems; see
- * guts/COPYRIGHT for information.
- *
- * static int
- * wrap_getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid) {
- * int rc = -1;
- */
- if (rgid)
- *rgid = pseudo_rgid;
- if (egid)
- *egid = pseudo_egid;
- if (sgid)
- *sgid = pseudo_sgid;
- if (rgid && egid && sgid) {
- rc = 0;
- } else {
- rc = -1;
- errno = EFAULT;
- }
-/* return rc;
- * }
- */