summaryrefslogtreecommitdiff
path: root/bsd-misc.h
diff options
context:
space:
mode:
Diffstat (limited to 'bsd-misc.h')
-rw-r--r--bsd-misc.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/bsd-misc.h b/bsd-misc.h
index 990dd408e..fabaa00b3 100644
--- a/bsd-misc.h
+++ b/bsd-misc.h
@@ -51,4 +51,17 @@ void setproctitle(const char *fmt, ...);
51int setenv(const char *name, const char *value, int overwrite); 51int setenv(const char *name, const char *value, int overwrite);
52#endif /* !HAVE_SETENV */ 52#endif /* !HAVE_SETENV */
53 53
54#ifndef HAVE_SETLOGIN
55int setlogin(const char *name);
56#endif /* !HAVE_SETLOGIN */
57
58#ifndef HAVE_INNETGR
59int innetgr(const char *netgroup, const char *host,
60 const char *user, const char *domain);
61#endif /* HAVE_INNETGR */
62
63#if !defined(HAVE_SETEUID) && defined(HAVE_SETREUID)
64int seteuid(uid_t euid);
65#endif /* !defined(HAVE_SETEUID) && defined(HAVE_SETREUID) */
66
54#endif /* _BSD_MISC_H */ 67#endif /* _BSD_MISC_H */