summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/scanf.3
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1997-07-01 17:46:39 +0000
committerjkh <jkh@FreeBSD.org>1997-07-01 17:46:39 +0000
commita10c1a2949114029b4375969b9303841d9a19235 (patch)
treeca58c56ab4c33f1b97d602941a9c28e56b3ea16c /lib/libc/stdio/scanf.3
parenta89fad600560806a4dbb474ecb82abf640cd4cdb (diff)
downloadFreeBSD-src-a10c1a2949114029b4375969b9303841d9a19235.zip
FreeBSD-src-a10c1a2949114029b4375969b9303841d9a19235.tar.gz
Add 64 bit int support to scanf()
PR: 2080 Submitted by: David Dawes <dawes@rf900.physics.usyd.edu.au>
Diffstat (limited to 'lib/libc/stdio/scanf.3')
-rw-r--r--lib/libc/stdio/scanf.39
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/libc/stdio/scanf.3 b/lib/libc/stdio/scanf.3
index e262d42..a9bbc41 100644
--- a/lib/libc/stdio/scanf.3
+++ b/lib/libc/stdio/scanf.3
@@ -171,6 +171,15 @@ and the next pointer is a pointer to
(This type is not implemented; the
.Cm L
flag is currently ignored.)
+.It Cm q
+Indicates either that the conversion will be one of
+.Cm dioux
+or
+.Cm n
+and the next pointer is a pointer to a
+.Em long long int
+(rather than
+.Em int ) ,
.El
.Pp
In addition to these flags,
OpenPOWER on IntegriCloud