aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/doc/src/io.xml
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2013-01-02 14:59:02 +0100
committerHans Bolinder <[email protected]>2013-01-25 12:54:27 +0100
commitec8343bec35fcb941712a22cc0b150c5d24be2df (patch)
tree8653306901a74fefd272de31418b488f62a262f8 /lib/stdlib/doc/src/io.xml
parent83e9d1c4c2c12d3509e3399f4dcd8bfa826ea884 (diff)
downloadotp-ec8343bec35fcb941712a22cc0b150c5d24be2df.tar.gz
otp-ec8343bec35fcb941712a22cc0b150c5d24be2df.tar.bz2
otp-ec8343bec35fcb941712a22cc0b150c5d24be2df.zip
[stdlib] Update the Unicode examples in STDLIB User's Guide
Diffstat (limited to 'lib/stdlib/doc/src/io.xml')
-rw-r--r--lib/stdlib/doc/src/io.xml7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/stdlib/doc/src/io.xml b/lib/stdlib/doc/src/io.xml
index 22cd45a482..e904f0f0c8 100644
--- a/lib/stdlib/doc/src/io.xml
+++ b/lib/stdlib/doc/src/io.xml
@@ -440,9 +440,12 @@ ok</pre>
</item>
<tag><c>s</c></tag>
<item>
- <p>Prints the argument with the <c>string</c> syntax. The
+ <p>Prints the argument with the string syntax. The
argument is, if no Unicode translation modifier is present, an
- iolist(), a binary, or an atom. If the Unicode translation modifier (<c>t</c>) is in effect, the argument is unicode:chardata(), meaning that binaries are in UTF-8. The characters
+ <c>iolist()</c>, a <c>binary()</c>, or an <c>atom()</c>.
+ If the Unicode translation modifier (<c>t</c>) is in effect,
+ the argument is <c>unicode:chardata()</c>, meaning that
+ binaries are in UTF-8. The characters
are printed without quotes. The string is first truncated
by the given precision and then padded and justified
to the given field width. The default precision is the field width.</p>