Skip to content

Commit

Permalink
closes bpo-43254: Fix *snprintf() man page refs. (GH-24563)
Browse files Browse the repository at this point in the history
  • Loading branch information
Erlend Egeberg Aasland committed Feb 19, 2021
1 parent ffa55d2 commit e92d67d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Doc/c-api/conversion.rst
Expand Up @@ -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
Expand Down

0 comments on commit e92d67d

Please sign in to comment.