mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-11-01 15:33:50 +00:00
Added support for setrlimit(2)
This commit is contained in:
@@ -124,5 +124,8 @@ void FATAL(const char *msg);
|
||||
void usage(void);
|
||||
void daemonize(const char* path);
|
||||
char *ss_strndup(const char *s, size_t n);
|
||||
#ifdef HAVE_SETRLIMIT
|
||||
int set_nofile(int nofile);
|
||||
#endif
|
||||
|
||||
#endif // _UTILS_H
|
||||
|
||||
Reference in New Issue
Block a user