File: sprintf-source.c

package info (click to toggle)
glibc 2.43-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 319,788 kB
  • sloc: ansic: 1,066,750; asm: 238,025; makefile: 21,369; python: 13,638; sh: 11,921; cpp: 5,188; awk: 1,794; perl: 317; yacc: 292; pascal: 182; sed: 19
file content (6 lines) | stat: -rw-r--r-- 326 bytes parent folder | download | duplicates (32)
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];