daemon(int nochdir, int noclose) is marked as discouraged.
Will it work in straight unix ported code that doesn't use Apple libraries?
I wrestled with this discouragement in a previous life where I had to gradually shift calls to CF to one side of deamon or the other in order to prevent catastrophe.
The cost of moving to launchd as is non-trivial in this instance and I'd like to be sure it is going to be necessary before going farther down this path.
Will it work in straight unix ported code that doesn't use Apple libraries?
I wrestled with this discouragement in a previous life where I had to gradually shift calls to CF to one side of deamon or the other in order to prevent catastrophe.
The cost of moving to launchd as is non-trivial in this instance and I'd like to be sure it is going to be necessary before going farther down this path.