It is actually the secure version that requires you to specify a buffer length of the old insecure ftab function that is in half a dozen standards that counted the lines indented by tabs in a file. Of course they didn’t change the fact that it just writes the result number as a string into an output buffer instead of returning an integer because that would make it less portable to operating systems which still use the insecure standard version.
It is actually the secure version that requires you to specify a buffer length of the old insecure ftab function that is in half a dozen standards that counted the lines indented by tabs in a file. Of course they didn’t change the fact that it just writes the result number as a string into an output buffer instead of returning an integer because that would make it less portable to operating systems which still use the insecure standard version.