Documentation Source Text

Check-in [5c4f29e7bd]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix a typo on the printf.html page.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 5c4f29e7bde9e08c5ade536ffc3802d67d5beab8bb73ea5cd61e3eef8025dc4b
User & Date: drh 2018-03-10 12:05:52.379
Context
2018-03-10
12:09
Fix a typo in the zipfile.html document. (check-in: 7accc324d8 user: drh tags: trunk)
12:05
Fix a typo on the printf.html page. (check-in: 5c4f29e7bd user: drh tags: trunk)
2018-03-09
18:11
Merge search box fixes from the 3.22.0 branch. (check-in: 848c37b010 user: drh tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to pages/printf.in.
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
late 1980s.  Hipp kept this printf() implementation in his personal toolbox until
he started working on SQLite in 2000.  The code was incorporated into the
SQLite source tree on [https://sqlite.org/src/timeline?c=f9372072a6|2000-10-08]
for SQLite version 1.0.9.

<p>
The [https://www.fossil-scm.org/|Fossil Version Control System] uses its own
printf() implementation that is derived from and early version of the SQLite
printf() implementation, but those two implementations have since diverged.

<p>
The reason that the [sqlite3_snprintf()] has its buffer pointer and buffer size
arguments reversed from what is found in the standard library snprintf() routine
is because there was no snprintf() routine in the standard C library
when Hipp was first implementing his version, and he chose a different order







|







360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
late 1980s.  Hipp kept this printf() implementation in his personal toolbox until
he started working on SQLite in 2000.  The code was incorporated into the
SQLite source tree on [https://sqlite.org/src/timeline?c=f9372072a6|2000-10-08]
for SQLite version 1.0.9.

<p>
The [https://www.fossil-scm.org/|Fossil Version Control System] uses its own
printf() implementation that is derived from an early version of the SQLite
printf() implementation, but those two implementations have since diverged.

<p>
The reason that the [sqlite3_snprintf()] has its buffer pointer and buffer size
arguments reversed from what is found in the standard library snprintf() routine
is because there was no snprintf() routine in the standard C library
when Hipp was first implementing his version, and he chose a different order