The NetBSD Project

CVS log for src/lib/libc/stdio/printf.3

[BACK] Up to [cvs.NetBSD.org] / src / lib / libc / stdio

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.71 / (download) - annotate - [select for diffs], Sun Apr 3 14:17:53 2022 UTC (10 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, HEAD
Changes since 1.70: +7 -7 lines
Diff to previous 1.70 (colored)

Improve wording to avoid confusion about the return value of {v,}asprintf(3)

Revision 1.70 / (download) - annotate - [select for diffs], Thu Sep 23 12:17:57 2021 UTC (16 months, 1 week ago) by wiz
Branch: MAIN
Changes since 1.69: +2 -1 lines
Diff to previous 1.69 (colored)

printf(3): mention snprintb(3)

Revision 1.69 / (download) - annotate - [select for diffs], Tue Feb 16 14:44:25 2021 UTC (23 months, 2 weeks ago) by riastradh
Branch: MAIN
CVS Tags: cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.68: +4 -4 lines
Diff to previous 1.68 (colored)

Correct floating-point terminology.

Might want to harmonize the printf(3) and wprintf(3) descriptions of
`%a'.

Revision 1.68 / (download) - annotate - [select for diffs], Sun Dec 31 07:22:55 2017 UTC (5 years, 1 month ago) by dholland
Branch: MAIN
CVS Tags: phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, is-mlppp-base, is-mlppp
Changes since 1.67: +5 -5 lines
Diff to previous 1.67 (colored)

Fix plurals.

Revision 1.67 / (download) - annotate - [select for diffs], Mon Jul 3 21:32:49 2017 UTC (5 years, 7 months ago) by wiz
Branch: MAIN
CVS Tags: perseant-stdc-iso10646-base, perseant-stdc-iso10646
Changes since 1.66: +7 -7 lines
Diff to previous 1.66 (colored)

Remove workaround for ancient HTML generation code.

Revision 1.65.4.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:53:09 2017 UTC (5 years, 9 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.65: +3 -3 lines
Diff to previous 1.65 (colored) next main 1.66 (colored)

Sync with HEAD

Revision 1.65.2.1 / (download) - annotate - [select for diffs], Mon Mar 20 06:56:58 2017 UTC (5 years, 10 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.65: +3 -3 lines
Diff to previous 1.65 (colored) next main 1.66 (colored)

Sync with HEAD

Revision 1.66 / (download) - annotate - [select for diffs], Tue Feb 21 18:47:40 2017 UTC (5 years, 11 months ago) by abhinav
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, bouyer-socketcan-base1
Changes since 1.65: +3 -3 lines
Diff to previous 1.65 (colored)

Insert comma between two Nm entries.
Replace Nm with Fn to refer a function.

Revision 1.65 / (download) - annotate - [select for diffs], Thu Nov 19 10:03:26 2015 UTC (7 years, 2 months ago) by pgoyette
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, localcount-20160914, bouyer-socketcan-base
Branch point for: pgoyette-localcount, bouyer-socketcan
Changes since 1.64: +2 -3 lines
Diff to previous 1.64 (colored)

Remove duplicated 'i' from list of numeric formats

Revision 1.58.8.1 / (download) - annotate - [select for diffs], Mon Nov 3 21:22:28 2014 UTC (8 years, 3 months ago) by msaitoh
Branch: netbsd-6
Changes since 1.58: +9 -2 lines
Diff to previous 1.58 (colored) next main 1.59 (colored)

Pull up following revision(s) (requested by christos in ticket #1161):
	lib/libc/stdio/printf.3: revision 1.64 via patch
	lib/libc/stdio/vsnprintf.c: revision 1.28 via patch
	lib/libc/stdio/vsnprintf_ss.c: revision 1.13 via patch
Return EOVERFLOW like FreeBSD does if the buffer size exceeds INT_MAX
(well FreeBSD documents INT_MAX + 1, but in the code it is INT_MAX).
Return EOVERFLOW like FreeBSD does if the buffer size exceeds INT_MAX
(well FreeBSD documents INT_MAX + 1, but in the code it is INT_MAX).

Revision 1.63.6.1 / (download) - annotate - [select for diffs], Tue Sep 30 18:21:40 2014 UTC (8 years, 4 months ago) by martin
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Changes since 1.63: +9 -2 lines
Diff to previous 1.63 (colored) next main 1.64 (colored)

Pull up following revision(s) (requested by christos in ticket #122):
	lib/libc/stdio/printf.3: revision 1.64
	lib/libc/stdio/vsnprintf.c: revision 1.28
	lib/libc/stdio/vsnprintf_ss.c: revision 1.13
Return EOVERFLOW like FreeBSD does if the buffer size exceeds INT_MAX
(well FreeBSD documents INT_MAX + 1, but in the code it is INT_MAX).

Revision 1.64 / (download) - annotate - [select for diffs], Mon Sep 29 14:58:33 2014 UTC (8 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.63: +9 -2 lines
Diff to previous 1.63 (colored)

Return EOVERFLOW like FreeBSD does if the buffer size exceeds INT_MAX
(well FreeBSD documents INT_MAX + 1, but in the code it is INT_MAX).

Revision 1.58.6.2 / (download) - annotate - [select for diffs], Thu May 22 11:36:54 2014 UTC (8 years, 8 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.58.6.1: +10 -4 lines
Diff to previous 1.58.6.1 (colored) to branchpoint 1.58 (colored) next main 1.59 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.58.12.2 / (download) - annotate - [select for diffs], Sun Jun 23 06:21:06 2013 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.58.12.1: +10 -4 lines
Diff to previous 1.58.12.1 (colored) to branchpoint 1.58 (colored) next main 1.59 (colored)

resync from head

Revision 1.63 / (download) - annotate - [select for diffs], Sat May 4 19:17:38 2013 UTC (9 years, 9 months ago) by wiz
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-7-base
Branch point for: netbsd-7
Changes since 1.62: +2 -2 lines
Diff to previous 1.62 (colored)

Grammar.

Revision 1.62 / (download) - annotate - [select for diffs], Sat May 4 18:35:53 2013 UTC (9 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.61: +10 -4 lines
Diff to previous 1.61 (colored)

_ss improvements

Revision 1.58.12.1 / (download) - annotate - [select for diffs], Mon Feb 25 00:27:53 2013 UTC (9 years, 11 months ago) by tls
Branch: tls-maxphys
Changes since 1.58: +13 -11 lines
Diff to previous 1.58 (colored)

resync with head

Revision 1.58.6.1 / (download) - annotate - [select for diffs], Wed Jan 23 00:05:23 2013 UTC (10 years ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.58: +13 -11 lines
Diff to previous 1.58 (colored)

sync with head

Revision 1.61 / (download) - annotate - [select for diffs], Sun Jan 20 11:01:17 2013 UTC (10 years ago) by uwe
Branch: MAIN
CVS Tags: yamt-pagecache-base8, agc-symver-base, agc-symver
Changes since 1.60: +4 -2 lines
Diff to previous 1.60 (colored)

Mark up occurence of printf() in text with .Fn

Revision 1.60 / (download) - annotate - [select for diffs], Sun Jan 20 10:57:19 2013 UTC (10 years ago) by uwe
Branch: MAIN
Changes since 1.59: +9 -9 lines
Diff to previous 1.59 (colored)

In newfmt() example one level of indentation is enough.

Revision 1.59 / (download) - annotate - [select for diffs], Sat Jan 19 15:25:58 2013 UTC (10 years ago) by uwe
Branch: MAIN
Changes since 1.58: +2 -2 lines
Diff to previous 1.58 (colored)

Fix typo.

Revision 1.58 / (download) - annotate - [select for diffs], Sun Dec 26 12:39:54 2010 UTC (12 years, 1 month ago) by jnemeth
Branch: MAIN
CVS Tags: yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-mips64-premerge-20101231, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache, tls-maxphys, netbsd-6
Changes since 1.57: +4 -3 lines
Diff to previous 1.57 (colored)

vsnprintf_ss does NOT handle floating point formats

Revision 1.57 / (download) - annotate - [select for diffs], Wed Dec 22 17:06:03 2010 UTC (12 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.56: +3 -3 lines
Diff to previous 1.56 (colored)

Add punctuation.

Revision 1.56 / (download) - annotate - [select for diffs], Wed Dec 22 16:59:10 2010 UTC (12 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.55: +20 -7 lines
Diff to previous 1.55 (colored)

document vsnprintf_ss

Revision 1.55 / (download) - annotate - [select for diffs], Thu Dec 16 17:42:27 2010 UTC (12 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.54: +2 -2 lines
Diff to previous 1.54 (colored)

Observe the following spelling:
- wide character (noun)
- wide-character (adjective)

Inspired by jmc@OpenBSD.

Revision 1.54 / (download) - annotate - [select for diffs], Mon Sep 6 19:47:37 2010 UTC (12 years, 5 months ago) by wiz
Branch: MAIN
Changes since 1.53: +4 -2 lines
Diff to previous 1.53 (colored)

I assume "POSIX 200805" is IEEE Std 1003.1-2008 (POSIX.1), so use
appropriate .St.

Revision 1.53 / (download) - annotate - [select for diffs], Mon Sep 6 14:52:55 2010 UTC (12 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.52: +19 -2 lines
Diff to previous 1.52 (colored)

add dprintf and vdprintf

Revision 1.52 / (download) - annotate - [select for diffs], Thu May 13 21:52:43 2010 UTC (12 years, 8 months ago) by joerg
Branch: MAIN
Changes since 1.51: +3 -3 lines
Diff to previous 1.51 (colored)

Use plain references and don't depend on multiple expansion runs.

Revision 1.51 / (download) - annotate - [select for diffs], Thu May 13 21:50:11 2010 UTC (12 years, 8 months ago) by joerg
Branch: MAIN
Changes since 1.50: +2 -2 lines
Diff to previous 1.50 (colored)

Mask %U, it is a macro nowadays.

Revision 1.50 / (download) - annotate - [select for diffs], Sun Mar 21 19:55:19 2010 UTC (12 years, 10 months ago) by jruoho
Branch: MAIN
Changes since 1.49: +10 -2 lines
Diff to previous 1.49 (colored)

Mention the recommended usage of inttypes(3) when applicable.

Revision 1.48.2.1 / (download) - annotate - [select for diffs], Wed May 13 19:18:26 2009 UTC (13 years, 8 months ago) by jym
Branch: jym-xensuspend
Changes since 1.48: +1 -2 lines
Diff to previous 1.48 (colored) next main 1.49 (colored)

Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html

Revision 1.49 / (download) - annotate - [select for diffs], Thu Apr 9 00:04:34 2009 UTC (13 years, 9 months ago) by joerg
Branch: MAIN
CVS Tags: matt-premerge-20091211, jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.48: +1 -2 lines
Diff to previous 1.48 (colored)

No .br after .Sh.

Revision 1.48 / (download) - annotate - [select for diffs], Sun Jan 11 02:46:29 2009 UTC (14 years ago) by christos
Branch: MAIN
Branch point for: jym-xensuspend
Changes since 1.47: +1 -1 lines
Diff to previous 1.47 (colored)

merge christos-time_t

Revision 1.44.20.1 / (download) - annotate - [select for diffs], Sun Jan 4 17:02:20 2009 UTC (14 years, 1 month ago) by christos
Branch: christos-time_t
Changes since 1.44: +92 -88 lines
Diff to previous 1.44 (colored) next main 1.45 (colored)

merge with head.

Revision 1.47 / (download) - annotate - [select for diffs], Tue Dec 16 23:09:19 2008 UTC (14 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: christos-time_t-nbase, christos-time_t-base
Changes since 1.46: +7 -3 lines
Diff to previous 1.46 (colored)

fix return values for snprintf and vsnprintf.

Revision 1.46 / (download) - annotate - [select for diffs], Thu Dec 11 09:07:46 2008 UTC (14 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.45: +79 -79 lines
Diff to previous 1.45 (colored)

Sort sections, sort SEE ALSO, remove trailing whitespace.

Revision 1.45 / (download) - annotate - [select for diffs], Thu Dec 11 04:30:57 2008 UTC (14 years, 1 month ago) by yamt
Branch: MAIN
Changes since 1.44: +9 -9 lines
Diff to previous 1.44 (colored)

move a description of return values into the RETURN VALUES section.

Revision 1.44 / (download) - annotate - [select for diffs], Sat Jun 9 18:51:19 2007 UTC (15 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, mjf-devfs2, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf
Branch point for: christos-time_t
Changes since 1.43: +377 -303 lines
Diff to previous 1.43 (colored)

bring in many changes from FreeBSD

Revision 1.43 / (download) - annotate - [select for diffs], Mon Sep 25 08:55:33 2006 UTC (16 years, 4 months ago) by martin
Branch: MAIN
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4
Changes since 1.42: +7 -4 lines
Diff to previous 1.42 (colored)

As suggested by Johan Veenhuizen in PR 32981, reword slightly to avoid
the impression return values would always be -1.
Approved by christos.

Revision 1.42 / (download) - annotate - [select for diffs], Sun Mar 19 10:46:21 2006 UTC (16 years, 10 months ago) by wiz
Branch: MAIN
CVS Tags: abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.41: +12 -6 lines
Diff to previous 1.41 (colored)

Mark up NULL and -.

Revision 1.41 / (download) - annotate - [select for diffs], Sat Mar 18 05:46:04 2006 UTC (16 years, 10 months ago) by rumble
Branch: MAIN
Changes since 1.40: +7 -2 lines
Diff to previous 1.40 (colored)

Note that for asprintf and vasprintf it is more portable to check for
a -1 return, rather than ret being set to NULL on error.

From Otto Moerbeek.

Revision 1.40 / (download) - annotate - [select for diffs], Wed Jul 20 13:31:15 2005 UTC (17 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.39: +26 -5 lines
Diff to previous 1.39 (colored)

PR/30971: Noriyuki Soda: Fix %ll prints long long, and %q is not portable.

Revision 1.39 / (download) - annotate - [select for diffs], Tue Jun 21 18:43:17 2005 UTC (17 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.38: +13 -2 lines
Diff to previous 1.38 (colored)

Document that passing NULL to %s prints "(null)".

Revision 1.38 / (download) - annotate - [select for diffs], Mon Sep 8 17:54:32 2003 UTC (19 years, 5 months ago) by wiz
Branch: MAIN
CVS Tags: netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Changes since 1.37: +4 -4 lines
Diff to previous 1.37 (colored)

Use St -isoC-9X instead of St -isoC9X, to be in sync with groff.

Revision 1.37 / (download) - annotate - [select for diffs], Wed Aug 27 18:47:14 2003 UTC (19 years, 5 months ago) by heas
Branch: MAIN
Changes since 1.36: +2 -2 lines
Diff to previous 1.36 (colored)

plural "characters" for ret of {v}snprintf

Revision 1.36 / (download) - annotate - [select for diffs], Thu Aug 7 16:43:28 2003 UTC (19 years, 6 months ago) by agc
Branch: MAIN
Changes since 1.35: +2 -6 lines
Diff to previous 1.35 (colored)

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.

Revision 1.35 / (download) - annotate - [select for diffs], Sun May 11 16:21:18 2003 UTC (19 years, 8 months ago) by wiz
Branch: MAIN
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (colored)

Drop trailing space.

Revision 1.34 / (download) - annotate - [select for diffs], Sun May 11 16:16:41 2003 UTC (19 years, 8 months ago) by kleink
Branch: MAIN
Changes since 1.33: +2 -2 lines
Diff to previous 1.33 (colored)

Oops, typo in previous.

Revision 1.33 / (download) - annotate - [select for diffs], Sun May 11 16:15:07 2003 UTC (19 years, 8 months ago) by kleink
Branch: MAIN
Changes since 1.32: +54 -2 lines
Diff to previous 1.32 (colored)

As prompted by Thomas Klausner, add a RETURN VALUES section.

Revision 1.32 / (download) - annotate - [select for diffs], Sat May 3 19:46:23 2003 UTC (19 years, 9 months ago) by wiz
Branch: MAIN
Changes since 1.31: +3 -3 lines
Diff to previous 1.31 (colored)

Misc. fixes from jmc@openbsd.

Revision 1.31 / (download) - annotate - [select for diffs], Wed Apr 16 13:34:44 2003 UTC (19 years, 9 months ago) by wiz
Branch: MAIN
Changes since 1.30: +3 -3 lines
Diff to previous 1.30 (colored)

Use
.In header.h
instead of
.Fd #include \*[Lt]header.h\*[Gt]
Much easier to read and write, and supported by groff for ages.
Okayed by ross.

Revision 1.30 / (download) - annotate - [select for diffs], Sat Jan 18 11:29:56 2003 UTC (20 years ago) by thorpej
Branch: MAIN
Changes since 1.29: +1 -1 lines
Diff to previous 1.29 (colored)

Merge the nathanw_sa branch.

Revision 1.15.2.9 / (download) - annotate - [select for diffs], Wed Jan 8 20:32:09 2003 UTC (20 years, 1 month ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.15.2.8: +2 -2 lines
Diff to previous 1.15.2.8 (colored) next main 1.16 (colored)

Sync with HEAD.

Revision 1.29 / (download) - annotate - [select for diffs], Fri Jan 3 21:41:28 2003 UTC (20 years, 1 month ago) by mjl
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)

Fix typos (from PR 19650)

Revision 1.15.2.8 / (download) - annotate - [select for diffs], Mon Nov 11 22:22:52 2002 UTC (20 years, 2 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.15.2.7: +2 -0 lines
Diff to previous 1.15.2.7 (colored)

Catch up to -current

Revision 1.28 / (download) - annotate - [select for diffs], Mon Nov 11 17:26:19 2002 UTC (20 years, 2 months ago) by simonb
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.27: +3 -1 lines
Diff to previous 1.27 (colored)

Document that the *printf() functions can return a negative value under
output error conditions.

Revision 1.15.2.7 / (download) - annotate - [select for diffs], Fri Oct 18 02:16:33 2002 UTC (20 years, 3 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.15.2.6: +10 -10 lines
Diff to previous 1.15.2.6 (colored)

Catch up to -current.

Revision 1.27 / (download) - annotate - [select for diffs], Tue Oct 1 17:24:06 2002 UTC (20 years, 4 months ago) by wiz
Branch: MAIN
Changes since 1.26: +11 -11 lines
Diff to previous 1.26 (colored)

New sentence, new line. From Robert Elz.

Revision 1.15.2.6 / (download) - annotate - [select for diffs], Thu Aug 1 03:28:16 2002 UTC (20 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.15.2.5: +43 -19 lines
Diff to previous 1.15.2.5 (colored)

Catch up to -current.

Revision 1.26 / (download) - annotate - [select for diffs], Wed Jul 10 14:37:16 2002 UTC (20 years, 6 months ago) by yamt
Branch: MAIN
Changes since 1.25: +43 -19 lines
Diff to previous 1.25 (colored)

import CAVEATS sections from OpenBSD.
with little tweak by me.

Revision 1.15.2.5 / (download) - annotate - [select for diffs], Fri Mar 22 20:42:27 2002 UTC (20 years, 10 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.15.2.4: +1 -1 lines
Diff to previous 1.15.2.4 (colored)

Catch up to -current.

Revision 1.15.2.4 / (download) - annotate - [select for diffs], Fri Mar 8 21:35:40 2002 UTC (20 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.15.2.3: +9 -9 lines
Diff to previous 1.15.2.3 (colored)

Catch up to -current.

Revision 1.25 / (download) - annotate - [select for diffs], Thu Feb 7 07:00:26 2002 UTC (21 years ago) by ross
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6
Changes since 1.24: +9 -9 lines
Diff to previous 1.24 (colored)

Generate <>& symbolically.

Revision 1.15.2.3 / (download) - annotate - [select for diffs], Mon Jan 28 20:51:02 2002 UTC (21 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.15.2.2: +53 -19 lines
Diff to previous 1.15.2.2 (colored)

Catch up to -current.

Revision 1.24 / (download) - annotate - [select for diffs], Mon Jan 21 11:54:15 2002 UTC (21 years ago) by kleink
Branch: MAIN
Changes since 1.23: +3 -3 lines
Diff to previous 1.23 (colored)

One pasto, one typo.

Revision 1.23 / (download) - annotate - [select for diffs], Sun Dec 2 20:41:12 2001 UTC (21 years, 2 months ago) by kleink
Branch: MAIN
Changes since 1.22: +2 -1 lines
Diff to previous 1.22 (colored)

Fix a mis-pasting in previous; pointed out by Thomas Klausner.

Revision 1.22 / (download) - annotate - [select for diffs], Sun Dec 2 20:12:03 2001 UTC (21 years, 2 months ago) by kleink
Branch: MAIN
Changes since 1.21: +50 -17 lines
Diff to previous 1.21 (colored)

C99:
* Recognize %F.
* Convert {Infinity,NaN} to {"inf","nan"} for %[efg], and to
  {"INF","NAN"} for %[EFG].

Revision 1.15.2.2 / (download) - annotate - [select for diffs], Wed Nov 14 19:32:02 2001 UTC (21 years, 2 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.15.2.1: +2 -7 lines
Diff to previous 1.15.2.1 (colored)

Catch up to -current.

Revision 1.21 / (download) - annotate - [select for diffs], Wed Oct 17 13:27:15 2001 UTC (21 years, 3 months ago) by kleink
Branch: MAIN
Changes since 1.20: +2 -7 lines
Diff to previous 1.20 (colored)

Drop a VAX/Tahoe reference (the VAX case wasn't true with the current compiler
either).

Revision 1.15.2.1 / (download) - annotate - [select for diffs], Mon Oct 8 20:20:53 2001 UTC (21 years, 4 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.15: +83 -8 lines
Diff to previous 1.15 (colored)

Catch up to -current.

Revision 1.20 / (download) - annotate - [select for diffs], Sun Sep 16 02:17:16 2001 UTC (21 years, 4 months ago) by wiz
Branch: MAIN
Changes since 1.19: +3 -4 lines
Diff to previous 1.19 (colored)

Mainly sort SEE ALSO, but also sort sections, and some punctuation and
paragraph fixes.

Revision 1.13.10.2 / (download) - annotate - [select for diffs], Tue May 1 10:23:27 2001 UTC (21 years, 9 months ago) by he
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001
Changes since 1.13.10.1: +2 -2 lines
Diff to previous 1.13.10.1 (colored) to branchpoint 1.13 (colored) next main 1.14 (colored)

Pull up revision 1.17 (requested by kleink):
  Correct description of the ``l'' length modifier.

Revision 1.19 / (download) - annotate - [select for diffs], Mon Apr 30 08:47:59 2001 UTC (21 years, 9 months ago) by kleink
Branch: MAIN
Changes since 1.18: +17 -3 lines
Diff to previous 1.18 (colored)

Clarify C standards situation a bit.

Revision 1.18 / (download) - annotate - [select for diffs], Sat Apr 28 15:41:29 2001 UTC (21 years, 9 months ago) by kleink
Branch: MAIN
Changes since 1.17: +63 -2 lines
Diff to previous 1.17 (colored)

* Move definitions of exact-width integer types from <machine/types.h>
  to <sys/types.h> and <sys/stdint.h>.
* Add a new C99 <stdint.h> header, which provides integer types of
  explicit width, related limits and integer constant macros.
* Extend <inttypes.h> to provide <stdint.h> definitions and format
  macros for printf() and scanf().
* Add C99 strtoimax() and strtoumax() functions.
* Use the latter within scanf().
* Add C99 %j, %t and %z printf()/scanf() conversions for
  intmax_t, pointer-type and size_t arguments.

Revision 1.17 / (download) - annotate - [select for diffs], Thu Apr 26 19:25:12 2001 UTC (21 years, 9 months ago) by kleink
Branch: MAIN
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

Fix an ... interesting pasto in the description of the l length modifier
that's been here forever.

Revision 1.16 / (download) - annotate - [select for diffs], Tue Apr 3 13:59:22 2001 UTC (21 years, 10 months ago) by jhawk
Branch: MAIN
Changes since 1.15: +3 -2 lines
Diff to previous 1.15 (colored)

Xr printf(9)

Revision 1.15 / (download) - annotate - [select for diffs], Fri Dec 29 15:22:51 2000 UTC (22 years, 1 month ago) by kleink
Branch: MAIN
Branch point for: nathanw_sa
Changes since 1.14: +11 -11 lines
Diff to previous 1.14 (colored)

Sprinkle some __restrict into stdio.

Revision 1.13.10.1 / (download) - annotate - [select for diffs], Thu Oct 19 14:03:56 2000 UTC (22 years, 3 months ago) by he
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-RELEASE, netbsd-1-5-BETA2, netbsd-1-5-BETA
Changes since 1.13: +6 -1 lines
Diff to previous 1.13 (colored)

Pull up revision 1.14 (requested by kleink):
  C99 alignment: a buffer size of 0 is permitted.  Also, when
  size is 0, a null buffer pointer may be passed.  Fixes PR#9603.

Revision 1.14 / (download) - annotate - [select for diffs], Thu Oct 19 09:45:31 2000 UTC (22 years, 3 months ago) by kleink
Branch: MAIN
Changes since 1.13: +6 -1 lines
Diff to previous 1.13 (colored)

C99: Passing a null pointer as the buffer argument to snprintf() and
vsnprintf() is permitted when the size argument is zero as well; mostly
from Peter Seebach in PR standards/9603.

Revision 1.13 / (download) - annotate - [select for diffs], Mon Sep 14 21:10:18 1998 UTC (24 years, 4 months ago) by tv
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, netbsd-1-5-base, netbsd-1-5-ALPHA2, netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, minoura-xpg4dl-base, minoura-xpg4dl, comdex-fall-1999-base, comdex-fall-1999
Branch point for: netbsd-1-5
Changes since 1.12: +7 -4 lines
Diff to previous 1.12 (colored)

Document %ll[diouxX] as requested by <bgrayson@ece.utexas.edu> in PR
standards/3527.  Also describe the argument to such a format as "quad_t",
not "quad int".

Revision 1.12 / (download) - annotate - [select for diffs], Sat Aug 29 08:32:34 1998 UTC (24 years, 5 months ago) by lukem
Branch: MAIN
Changes since 1.11: +5 -5 lines
Diff to previous 1.11 (colored)

first pass at fixing up capitalization of function names and
arguments; ensure that each is correct with respect to the
implementation, rather than being correct as per english.

Revision 1.11 / (download) - annotate - [select for diffs], Fri Aug 28 22:21:23 1998 UTC (24 years, 5 months ago) by perry
Branch: MAIN
Changes since 1.10: +52 -43 lines
Diff to previous 1.10 (colored)

document asprintf and vasprintf

Revision 1.10 / (download) - annotate - [select for diffs], Mon Jun 8 23:45:37 1998 UTC (24 years, 8 months ago) by jeremy
Branch: MAIN
Changes since 1.9: +3 -2 lines
Diff to previous 1.9 (colored)

Changed HISTORY section to reflect that vsnprintf and snprintf first
appeared in 4.4BSD, rather than ``the current release''.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Jun 8 12:41:42 1998 UTC (24 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.8: +6 -4 lines
Diff to previous 1.8 (colored)

Implement a new manual page category ``SECURITY CONSIDERATIONS''
(suggested by mycroft)

Revision 1.8 / (download) - annotate - [select for diffs], Tue Apr 28 20:58:01 1998 UTC (24 years, 9 months ago) by fair
Branch: MAIN
Changes since 1.7: +7 -11 lines
Diff to previous 1.7 (colored)

fix mdoc references and other mistakes

Revision 1.7 / (download) - annotate - [select for diffs], Thu Feb 5 18:49:29 1998 UTC (25 years ago) by perry
Branch: MAIN
Changes since 1.6: +3 -1 lines
Diff to previous 1.6 (colored)

add LIBRARY section to man page

Revision 1.6 / (download) - annotate - [select for diffs], Sat Mar 8 13:44:08 1997 UTC (25 years, 11 months ago) by mouse
Branch: MAIN
CVS Tags: netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

alternate -> alternative, per PR 2643

Revision 1.5 / (download) - annotate - [select for diffs], Thu Feb 2 01:15:49 1995 UTC (28 years ago) by jtc
Branch: MAIN
CVS Tags: nsswitch, netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2, netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1, ivory_soap2, ivory_soap
Changes since 1.4: +29 -8 lines
Diff to previous 1.4 (colored)

Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.

Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Thu Feb 2 00:58:33 1995 UTC (28 years ago) by jtc
Branch: WFJ-920714, CSRG
CVS Tags: lite-2, lite-1
Changes since 1.1.1.1: +28 -8 lines
Diff to previous 1.1.1.1 (colored)

imported from 44lite

Revision 1.4 / (download) - annotate - [select for diffs], Mon May 16 20:15:04 1994 UTC (28 years, 8 months ago) by jtc
Branch: MAIN
CVS Tags: netbsd-1-0-base, netbsd-1-0-RELEASE, netbsd-1-0-PATCH1, netbsd-1-0-PATCH06, netbsd-1-0-PATCH05, netbsd-1-0-PATCH04, netbsd-1-0-PATCH03, netbsd-1-0-PATCH02, netbsd-1-0-PATCH0, netbsd-1-0
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

Fix typo, from Giles Lean (Fixes bug #248)

Revision 1.3 / (download) - annotate - [select for diffs], Tue Jan 11 00:06:46 1994 UTC (29 years ago) by jtc
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

Fix spelling errors.

Revision 1.2 / (download) - annotate - [select for diffs], Sun Aug 1 07:44:56 1993 UTC (29 years, 6 months ago) by mycroft
Branch: MAIN
Changes since 1.1: +2 -1 lines
Diff to previous 1.1 (colored)

Add RCS indentifiers.

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 21 09:45:37 1993 UTC (29 years, 10 months ago) by cgd
Branch: WFJ-920714, CSRG
CVS Tags: patchkit-0-2-2, netbsd-alpha-1, netbsd-0-9-base, netbsd-0-9-RELEASE, netbsd-0-9-BETA, netbsd-0-9-ALPHA2, netbsd-0-9-ALPHA, netbsd-0-9, netbsd-0-8, WFJ-386bsd-01
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of 386bsd-0.1 sources

Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 21 09:45:37 1993 UTC (29 years, 10 months ago) by cgd
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>