diff options
| author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2023-10-15 22:07:33 +0200 |
|---|---|---|
| committer | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2023-10-15 22:07:33 +0200 |
| commit | 685c2931dfc3cb67b7605eba143598512a66c037 (patch) | |
| tree | 4d73bf71eb19e7c63f3d649fa969c63104a4b456 /lib/maxfd.h | |
| parent | 0875351a8385d6587133c2af541d102f31c17a46 (diff) | |
| parent | bf70f5f847e3407af572d1768cca747af270b993 (diff) | |
| download | monitoring-plugins-685c293.tar.gz | |
Merge branch 'master' into dev/check_ssh-patches
Diffstat (limited to 'lib/maxfd.h')
| -rw-r--r-- | lib/maxfd.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/maxfd.h b/lib/maxfd.h new file mode 100644 index 00000000..45218d0f --- /dev/null +++ b/lib/maxfd.h | |||
| @@ -0,0 +1,9 @@ | |||
| 1 | #ifndef _MAXFD_ | ||
| 2 | #define _MAXFD_ | ||
| 3 | |||
| 4 | #define DEFAULT_MAXFD 256 /* fallback value if no max open files value is set */ | ||
| 5 | #define MAXFD_LIMIT 8192 /* upper limit of open files */ | ||
| 6 | |||
| 7 | long mp_open_max (void); | ||
| 8 | |||
| 9 | #endif // _MAXFD_ | ||
