Why? If I was writing this I would write it for my OS.
Why would I write it for anything else?
I assume that’s what the author did.