libbsd: add closefrom() and close_range()
Change-Id: I9c88948d6c4d5a32e3aa06cd696e2ce24c2d298f Reviewed-on: https://review.haiku-os.org/c/haiku/+/9334 Reviewed-by: waddlesplash <[email protected]> Tested-by: Commit checker robot <[email protected]>
This commit is contained in:
committed by
waddlesplash
parent
396ebbc16f
commit
23f923bcaf
@@ -28,6 +28,9 @@ char *getusershell(void);
|
||||
int issetugid(void);
|
||||
void setusershell(void);
|
||||
|
||||
int closefrom(int lowFd);
|
||||
int close_range(u_int minFd, u_int maxFd, int flags);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user