And finally a helper (wrapped in a macro retrieving an array-length) iterates over the given handlers (originating from a global) to very-carefully register each (via another helper in turn) into an atomic small-int-map. Or upon failure it unregisters them all.
3.5/3.5 Fin for today! Tomorrow: VFS caching, & maybe more!