DragonFlyBSD PID_MAX is 999999.

See DragonFlyBSD source "sys/sys/proc.h".

Fixes #646
This commit is contained in:
Explorer09 2017-07-07 20:38:04 +08:00
parent 71785e2ded
commit e70f447d54
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ int Platform_getMaxPid() {
size_t size = sizeof(maxPid);
int err = sysctlbyname("kern.pid_max", &maxPid, &size, NULL, 0);
if (err) {
return 99999;
return 999999;
}
return maxPid;
}