aboutsummaryrefslogtreecommitdiffstats
path: root/guts/getpwent_r.c
diff options
context:
space:
mode:
Diffstat (limited to 'guts/getpwent_r.c')
-rw-r--r--guts/getpwent_r.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/guts/getpwent_r.c b/guts/getpwent_r.c
new file mode 100644
index 0000000..2bf1db2
--- /dev/null
+++ b/guts/getpwent_r.c
@@ -0,0 +1,14 @@
+/*
+ * static int
+ * wrap_getpwent_r(struct passwd *pwbuf, char *buf, size_t buflen, struct passwd **pwbufp) {
+ * int rc = -1;
+ */
+
+ /* note that we don't wrap fgetpwent_r, since there's no path
+ * references in it.
+ */
+ return fgetpwent_r(pseudo_pwd, pwbuf, buf, buflen, pwbufp);
+
+/* return rc;
+ * }
+ */