I am currently thinking of implementing a syscall in some BSD flavours in order to close a given file descriptor. The file descriptor would be defined as a pair of PID and file descriptor number. It will be useful in order to test/debug a program or others strange purposes.
I think that I will do it anyway, you know, for learning purpose. What I'm asking here is: can it be useful to someone somehow ? Can I publish my work and maintain it ?
I don't think any operating system will accept my code if there's no need for the end users or programmers.
Thanks for your advices.