https://bugs.openldap.org/show_bug.cgi?id=9847
--- Comment #10 from Howard Chu hyc@openldap.org --- For future reference: ran this test program on MacOSX
### #include <unistd.h> # include <sys/types.h> # include <sys/event.h> # include <sys/time.h>
int main() { int pfd[2]; int fd = kqueue(); pipe(pfd); fork(); sleep(3600); } ###
and ran lsof on parent and child processes. Confirmed that it behaves the same as the other OSs, descriptor is not inherited.