]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r212244: printf(1): Clarify that \OOO produces a byte, different %b
authorjilles <jilles@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 25 Apr 2011 14:36:38 +0000 (14:36 +0000)
committerjilles <jilles@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 25 Apr 2011 14:36:38 +0000 (14:36 +0000)
commitd8e7a20726e71b9dd5457fd0c640062db2430a94
treefe77073996f98b9ae0523f73a216c6b5d6042dae
parent0ea214714e19a9bacb7f1cdc7b16c78cd6b9d8d3
MFC r212244: printf(1): Clarify that \OOO produces a byte, different %b
escape sequences.

Octal escape sequences are expanded to bytes, not characters, and multiple
are required for a multibyte character.

The valid escape sequences in %b strings are slightly different from the
escape sequences in the format string.

git-svn-id: svn://svn.freebsd.org/base/stable/8@221017 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.bin/printf/printf.1