Home > Net >  What does __isoc99_sscanf() do?
What does __isoc99_sscanf() do?

Time:11-05

Here's the lines of code in C:

void func_g(undefined4 pmt1)
{
    int amt, elmt1;
    uint elmt3[3];

    amt = __isoc99_sscanf(pmt1, "%d %d", elmt1, &elmt3);
    return;
}

What __isoc99_sscanf trying to do?

CodePudding user response:

isoc99_sscanf (and other related functions) were introduced in 2007 for compliance with the C99 standard. As part of the introduction of the C99 support, "sscanf" is redirected to "__isoc99_sscanf".it is compiler specific syntax gcc uses it.

This function return the number of input items successfully matched and assigned, which can be fewer than provided for, or even zero in the event of an early matching failure.

  • Related