have more overhead than writing that function? I see that they are both Windows specific, i've always been under the impression that making specific calls the to system should be avoided if possible, as if it resource intensive. Which would make using your own function the logical choice.
Others have erroneously deduced from this that you are using Windows. You may not be. The above bad idea is used by DOS programmers and OS/2 programmers, too, both of which have CLS commands in their command interpreters.