File: sprintf-source.c

package info (click to toggle)
glibc 2.40-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 292,840 kB
  • sloc: ansic: 1,038,938; asm: 239,498; makefile: 19,481; python: 13,369; sh: 11,472; cpp: 5,147; awk: 1,723; perl: 317; yacc: 292; pascal: 182; sed: 19
file content (6 lines) | stat: -rw-r--r-- 326 bytes parent folder | download | duplicates (29)
1
2
3
4
5
6
/* A set of arbitrarily selected positional format specifiers.  */
#define FORMAT1 "   %1$d: %2$c%3$c%4$c%5$c%6$c %7$20s %8$f (%9$02x)\n"
/* A matching, but arbitrarily selected, set of non-positional format specifiers.  */
#define FORMAT2 "   %d: %c%c%c%c%c %20s %f (%02x)\n"
/* Sufficiently large buffer.  */
char buf[256];