changeset 23966:b833c7334308

* io.txi: Update note about scanf 'h' and 'l' modifiers.
author John W. Eaton <jwe@octave.org>
date Tue, 29 Aug 2017 14:02:09 -0400
parents 6f0c2963674b
children df726a12c757
files doc/interpreter/io.txi
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/doc/interpreter/io.txi	Tue Aug 29 12:21:42 2017 -0400
+++ b/doc/interpreter/io.txi	Tue Aug 29 14:02:09 2017 -0400
@@ -969,8 +969,9 @@
 The @samp{%X} conversion is identical to the @samp{%x} conversion.  They
 both permit either uppercase or lowercase letters to be used as digits.
 
-Unlike the C language @code{scanf}, Octave ignores the @samp{h},
-@samp{l}, and @samp{L} modifiers.
+By default, integers are read as 32-bit quantities.  With the @samp{h}
+modifier, 16-bit integers are used, and with the @samp{l} modifier,
+64-bit integers are used.
 
 @node String Input Conversions
 @subsection String Input Conversions