diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2015-06-03 16:26:05 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2015-06-03 16:26:05 +0000 |
commit | b1f04ecede97a05cecaa7efa186e87d99fad04d9 (patch) | |
tree | 2fbb6533f98ddb95805a5d612b7a538d48e7a33b /lib/libc | |
parent | 941edfd3f2c09f753c1d8bde8f59133a70f0929d (diff) |
snprintf(3) is available on all modern systems and asprintf(3) is
available on more systems these days. OK deraadt@
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/stdio/printf.3 | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/lib/libc/stdio/printf.3 b/lib/libc/stdio/printf.3 index 76a260f78ea..6b724da8687 100644 --- a/lib/libc/stdio/printf.3 +++ b/lib/libc/stdio/printf.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: printf.3,v 1.72 2015/02/28 21:51:57 bentley Exp $ +.\" $OpenBSD: printf.3,v 1.73 2015/06/03 16:26:04 millert Exp $ .\" .\" Copyright (c) 1990, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -33,7 +33,7 @@ .\" .\" @(#)printf.3 8.1 (Berkeley) 6/4/93 .\" -.Dd $Mdocdate: February 28 2015 $ +.Dd $Mdocdate: June 3 2015 $ .Dt PRINTF 3 .Os .Sh NAME @@ -838,11 +838,9 @@ and .Fn asprintf family of interfaces instead. Unfortunately, the -.Fn snprintf -interface is not available on older -systems and the .Fn asprintf -interface is not portable. +interface is not available on all systems as it is not part of +.St -isoC-99 . .Pp It is important never to pass a string with user-supplied data as a format without using |