mirror of
https://github.com/labwc/labwc.git
synced 2025-11-03 09:01:51 -05:00
common: Add helpers for raising/lowering FD limit
Signed-off-by: Joshua Ashton <joshua@froggi.es>
This commit is contained in:
parent
fd7ec0ab95
commit
6c2bbb42ea
3 changed files with 48 additions and 0 deletions
8
include/common/fd_util.h
Normal file
8
include/common/fd_util.h
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
#ifndef __LABWC_FD_UTIL_H
|
||||
#define __LABWC_FD_UTIL_H
|
||||
|
||||
void increase_nofile_limit(void);
|
||||
void restore_nofile_limit(void);
|
||||
|
||||
#endif /* __LABWC_FD_UTIL_H */
|
||||
Loading…
Add table
Add a link
Reference in a new issue