File: sprintf-source.c

package info (click to toggle)
glibc 2.31-11
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 278,120 kB
  • sloc: ansic: 1,025,323; asm: 256,790; makefile: 12,093; sh: 10,570; python: 9,618; cpp: 5,233; awk: 1,956; perl: 514; yacc: 290; pascal: 182; sed: 73
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];