fprintf really makes a lot more sense.

If the first parameter is a file descriptor, then it’s fprintf.