]> git.armaanb.net Git - opendoas.git/blobdiff - libopenbsd/openbsd.h
Add closefrom(2) from openssh-portable
[opendoas.git] / libopenbsd / openbsd.h
index 05868444a8c9d1847e7a353f97657b854293f941..d9d3c99bfa7b69d2cbb18393b6a3d86966db68ac 100644 (file)
@@ -41,6 +41,9 @@ int setresuid(uid_t, uid_t, uid_t);
 #ifndef HAVE_PLEDGE
 int pledge(const char *promises, const char *paths[]);
 #endif /* !HAVE_PLEDGE */
+#ifndef HAVE_CLOSEFROM
+void closefrom(int);
+#endif /* !HAVE_CLOSEFROM */
 
 /* err.h */
 #ifndef HAVE_VERRC