Useful functions developed by both Finit and the OpenBSD project
