What should sscanf("x", "%*c%c", &(char){0}) return?
The libraries that Apple and Godbolt are using return −1, which is their EOF. However, C 2018 7.21.6.7 3 tells us sscanf returns “EOF if an input failure occurs before the first conversion (if any) has completed.” %*c is a conversion specification with assignment suppressed. It completes, and then input failure (end of string) occurs before the %c completes. Then sscanf should return “the number of input items assigned,” which is zero.
Is there any text in the standard that would tell us %*c is to be regarded as not a conversion?