From: Erlend Egeberg Aasland Date: Fri, 19 Feb 2021 01:53:33 +0000 (+0100) Subject: closes bpo-43254: Fix *snprintf() man page refs. (GH-24563) X-Git-Tag: v3.10.0a6~68 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e92d67dfbb4790df37aa6a0961fb6dc7e8d2fbbf;p=thirdparty%2FPython%2Fcpython.git closes bpo-43254: Fix *snprintf() man page refs. (GH-24563) --- diff --git a/Doc/c-api/conversion.rst b/Doc/c-api/conversion.rst index efbaa52e2dc4..e47072f04747 100644 --- a/Doc/c-api/conversion.rst +++ b/Doc/c-api/conversion.rst @@ -11,14 +11,14 @@ Functions for number conversion and formatted string output. .. c:function:: int PyOS_snprintf(char *str, size_t size, const char *format, ...) Output not more than *size* bytes to *str* according to the format string - *format* and the extra arguments. See the Unix man page :manpage:`snprintf(2)`. + *format* and the extra arguments. See the Unix man page :manpage:`snprintf(3)`. .. c:function:: int PyOS_vsnprintf(char *str, size_t size, const char *format, va_list va) Output not more than *size* bytes to *str* according to the format string *format* and the variable argument list *va*. Unix man page - :manpage:`vsnprintf(2)`. + :manpage:`vsnprintf(3)`. :c:func:`PyOS_snprintf` and :c:func:`PyOS_vsnprintf` wrap the Standard C library functions :c:func:`snprintf` and :c:func:`vsnprintf`. Their purpose is to