Skip to content

Conversation

@trygvis
Copy link

@trygvis trygvis commented Apr 14, 2017

…arnings from the compiler.

trygvis added 6 commits April 14, 2017 18:15
o Adding test cases.
This allows %*s where the leading padding is taken from an extra
argument so that this:

    char buf[] = "0123456789";
    printf("%*s", 5, &buf[5]);

yields

    56789
@trygvis trygvis force-pushed the master branch 2 times, most recently from 30ae4f4 to eef97ea Compare February 23, 2018 13:57
This allows %*s where the leading padding is taken from an extra
argument so that this:

    char buf[] = "0123456789";
    printf("'%*s'", 5, &buf[5]);

yields

    '56789'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant