in reply to Detecting fork events in a module?

When a user of the module forks, I want to... . Is there an easy way to detect forks?

No, there isn't. Your module could offer a forking method (or function) that registers the fork, for instance by storing the PID somewhere. Tell your users to use that instead of forking directly.

Anno