Such as? (except the field width, which scanf can do, too)But it isn't. It performs additional security checks that scanf doesn't.
That is not true if you are actually using scanf_s's "security feature" of adding a field width for every %s. If you are just using it as scanf, might as well just use scanf.I suggest not changing it. For standards compliance, all they have to do is add #define scanf_s scanf.