Contenu | Menu

One problem with ANSI C is the lack of a safe version of sprintf(), adressed by C99 with snprintf(). I need it because:

So, as a workaround, we use an "ANSI C implementation of snprintf()". Various implementations exist, such as:

For the moment, we use the latter one, because it's more compact.

Bad news : none of these implementations are free of splint or gcc warnings... so they have to be excluded from our code quality tests.