summaryrefslogtreecommitdiff
path: root/doc/posix-functions
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2022-11-03 11:43:45 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2022-11-03 11:44:37 -0700
commit4840511133bb57f4997d36a253b62bd48c0c27ca (patch)
tree84cbe9c7112a5bdbd902888625409f9e6befea7a /doc/posix-functions
parent7a69bf6c6c6a735ac00332e694123b5fafd0fa2d (diff)
downloadgnulib-4840511133bb57f4997d36a253b62bd48c0c27ca.tar.gz
doc: mention macOS war on sprintf
* doc/posix-functions/sprintf.texi, doc/posix-functions/vsnprintf.texi: Mention that these functions are deprecated.
Diffstat (limited to 'doc/posix-functions')
-rw-r--r--doc/posix-functions/sprintf.texi3
-rw-r--r--doc/posix-functions/vsprintf.texi3
2 files changed, 6 insertions, 0 deletions
diff --git a/doc/posix-functions/sprintf.texi b/doc/posix-functions/sprintf.texi
index 053f0ea11a..e63f073e0c 100644
--- a/doc/posix-functions/sprintf.texi
+++ b/doc/posix-functions/sprintf.texi
@@ -82,4 +82,7 @@ glibc and others, on x86, x86_64, IA-64 CPUs.
When formatting an integer with grouping flag, this function inserts thousands
separators even in the "C" locale on some platforms:
NetBSD 5.1.
+@item
+The compiler warns that this function is deprecated:
+macOS 13.0
@end itemize
diff --git a/doc/posix-functions/vsprintf.texi b/doc/posix-functions/vsprintf.texi
index 5cbc247e27..4e30c483fe 100644
--- a/doc/posix-functions/vsprintf.texi
+++ b/doc/posix-functions/vsprintf.texi
@@ -82,4 +82,7 @@ glibc and others, on x86, x86_64, IA-64 CPUs.
When formatting an integer with grouping flag, this function inserts thousands
separators even in the "C" locale on some platforms:
NetBSD 5.1.
+@item
+The compiler warns that this function is deprecated:
+macOS 13.0
@end itemize