Add support for the field width to be specified as an argument by using
the '*' modifier. See the POSIX.1 specification for more details on
conformance at
http://pubs.opengroup.org/onlinepubs/9699919799/functions/printf.html

This change make the following calls equivalent:

printf("%6s\n", "test");
printf("%*s\n", 6, "test");

Signed-off-by: Doug Goldstein <car...@cardoe.com>
You can view, comment on, or merge this pull request online at:

  https://github.com/ipxe/ipxe/pull/60

-- Commit Summary --

  * printf: add support for field width as an argument

-- File Changes --

    M src/core/vsprintf.c (4)

-- Patch Links --

https://github.com/ipxe/ipxe/pull/60.patch
https://github.com/ipxe/ipxe/pull/60.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/ipxe/ipxe/pull/60
_______________________________________________
ipxe-devel mailing list
ipxe-devel@lists.ipxe.org
https://lists.ipxe.org/mailman/listinfo.cgi/ipxe-devel

Reply via email to