IBM / portlibfori

A set of APIs to enable applications to be more easily ported to PASE on IBM i
Other
8 stars 7 forks source link

add daemon() implementation #27

Open ThePrez opened 2 years ago

ThePrez commented 2 years ago

Based loosely on the doc at https://man7.org/linux/man-pages/man3/daemon.3.html

ThePrez commented 2 years ago

I guess I could have just taken the current BSD implementation: https://github.com/openssh/openssh-portable/blob/master/openbsd-compat/daemon.c :/

ThePrez commented 1 year ago

@kadler / @abmusse , any review comments?