File: sprintf-source.c

package info (click to toggle)
glibc 2.36-9%2Bdeb12u10
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bookworm-backports
  • size: 299,916 kB
  • sloc: ansic: 1,055,590; asm: 324,891; makefile: 15,194; python: 12,603; sh: 10,884; cpp: 5,685; awk: 1,883; perl: 518; yacc: 292; pascal: 182; sed: 39
file content (6 lines) | stat: -rw-r--r-- 326 bytes parent folder | download | duplicates (28)
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];