I'm in the process of coding my own OS and right now I'm working on a stdio lib but was just wondering about fputs and how it should write to the screen, which would be a better approach? Making stdout a file descriptor and having puts call fputs with the file descriptor, or should I have stdout as a flag and an if statement in fputs to catch stdout and call puts?
Trivial question really, but I just wonder what would be the preferred approach I guess.