From 2c3307fb903f427be3d021c5780b75cac9af2ce8 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 17 Jun 2024 12:52:33 +0200 Subject: Merging upstream version 4.23.0. Signed-off-by: Daniel Baumann --- templates/man3/stpncpy.3.pot | 126 ++++++++++++++++--------------------------- 1 file changed, 45 insertions(+), 81 deletions(-) (limited to 'templates/man3/stpncpy.3.pot') diff --git a/templates/man3/stpncpy.3.pot b/templates/man3/stpncpy.3.pot index a6875f3b..6965cd04 100644 --- a/templates/man3/stpncpy.3.pot +++ b/templates/man3/stpncpy.3.pot @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2024-03-01 17:09+0100\n" +"POT-Creation-Date: 2024-06-01 06:24+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -24,15 +24,15 @@ msgid "stpncpy" msgstr "" #. type: TH -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable opensuse-tumbleweed #, no-wrap -msgid "2024-02-12" +msgid "2024-05-02" msgstr "" #. type: TH -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable #, no-wrap -msgid "Linux man-pages 6.06" +msgid "Linux man-pages 6.8" msgstr "" #. type: SH @@ -43,7 +43,8 @@ msgid "NAME" msgstr "" #. type: Plain text -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed msgid "" "stpncpy, strncpy - fill a fixed-size buffer with non-null bytes from a " "string, padding with null bytes as needed" @@ -77,7 +78,8 @@ msgid "B<#include Estring.hE>\n" msgstr "" #. type: Plain text -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed #, no-wrap msgid "" "BIB<[restrict .>IB<], const char *restrict >IB<,>\n" @@ -118,7 +120,8 @@ msgid "DESCRIPTION" msgstr "" #. type: Plain text -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed msgid "" "These functions copy non-null bytes from the string pointed to by I " "into the array pointed to by I. If the source has too few non-null " @@ -135,7 +138,8 @@ msgid "An implementation of these functions might be:" msgstr "" #. type: Plain text -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed #, no-wrap msgid "" "char *\n" @@ -299,7 +303,8 @@ msgid "POSIX.1-2008." msgstr "" #. type: SH -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed #, no-wrap msgid "HISTORY" msgstr "" @@ -324,7 +329,8 @@ msgid "CAVEATS" msgstr "" #. type: Plain text -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed msgid "" "The name of these functions is confusing. These functions produce a null-" "padded character sequence, not a string (see B(7)). For " @@ -332,7 +338,8 @@ msgid "" msgstr "" #. type: Plain text -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed #, no-wrap msgid "" "strncpy(buf, \"1\", 5); // { \\[aq]1\\[aq], 0, 0, 0, 0 }\n" @@ -368,7 +375,8 @@ msgid "EXAMPLES" msgstr "" #. type: Plain text -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed #, no-wrap msgid "" "#include Eerr.hE\n" @@ -433,7 +441,7 @@ msgid "Linux man-pages 6.03" msgstr "" #. type: Plain text -#: debian-bookworm debian-unstable opensuse-leap-15-6 opensuse-tumbleweed +#: debian-bookworm opensuse-leap-15-6 msgid "" "stpncpy, strncpy - zero a fixed-width buffer and copy a string into a " "character sequence with truncation and zero the rest of it" @@ -450,7 +458,7 @@ msgid "" msgstr "" #. type: Plain text -#: debian-bookworm debian-unstable opensuse-leap-15-6 opensuse-tumbleweed +#: debian-bookworm opensuse-leap-15-6 msgid "" "These functions copy the string pointed to by I into a null-padded " "character sequence at the fixed-width buffer pointed to by I. If the " @@ -489,7 +497,7 @@ msgid "POSIX.1-2001, POSIX.1-2008, C99, SVr4, 4.3BSD." msgstr "" #. type: Plain text -#: debian-bookworm debian-unstable opensuse-leap-15-6 opensuse-tumbleweed +#: debian-bookworm opensuse-leap-15-6 msgid "" "The name of these functions is confusing. These functions produce a null-" "padded character sequence, not a string (see B(7))." @@ -563,91 +571,47 @@ msgid "" msgstr "" #. type: TH -#: debian-unstable opensuse-tumbleweed +#: fedora-40 fedora-rawhide mageia-cauldron #, no-wrap -msgid "2023-07-20" +msgid "2024-02-12" msgstr "" #. type: TH -#: debian-unstable opensuse-tumbleweed +#: fedora-40 mageia-cauldron #, no-wrap -msgid "Linux man-pages 6.05.01" +msgid "Linux man-pages 6.06" msgstr "" -#. type: Plain text -#: debian-unstable opensuse-leap-15-6 opensuse-tumbleweed +#. type: TH +#: fedora-rawhide #, no-wrap -msgid "" -"BIB<[restrict .>IB<], const char *restrict >IB<,>\n" -"B< size_t >IB<);>\n" -"BIB<[restrict .>IB<], const char *restrict >IB<,>\n" -"B< size_t >IB<);>\n" +msgid "Linux man-pages 6.7" msgstr "" -#. type: Plain text -#: debian-unstable opensuse-tumbleweed +#. type: TH +#: opensuse-leap-15-6 #, no-wrap -msgid "" -"char *\n" -"strncpy(char *restrict dst, const char *restrict src, size_t sz)\n" -"{\n" -" stpncpy(dst, src, sz);\n" -" return dst;\n" -"}\n" -"\\&\n" -"char *\n" -"stpncpy(char *restrict dst, const char *restrict src, size_t sz)\n" -"{\n" -" bzero(dst, sz);\n" -" return mempcpy(dst, src, strnlen(src, sz));\n" -"}\n" +msgid "2023-03-30" msgstr "" -#. type: Plain text -#: debian-unstable opensuse-tumbleweed +#. type: TH +#: opensuse-leap-15-6 #, no-wrap -msgid "" -"#include Eerr.hE\n" -"#include Estdio.hE\n" -"#include Estdlib.hE\n" -"#include Estring.hE\n" -"\\&\n" -"int\n" -"main(void)\n" -"{\n" -" char *p;\n" -" char buf1[20];\n" -" char buf2[20];\n" -" size_t len;\n" -"\\&\n" -" if (sizeof(buf2) E strlen(\"Hello world!\"))\n" -" warnx(\"strncpy: truncating character sequence\");\n" -" strncpy(buf2, \"Hello world!\", sizeof(buf2));\n" -" len = strnlen(buf2, sizeof(buf2));\n" -"\\&\n" -" printf(\"[len = %zu]: \", len);\n" -" printf(\"%.*s\\en\", (int) len, buf2); // \"Hello world!\"\n" -"\\&\n" -" if (sizeof(buf1) E strlen(\"Hello world!\"))\n" -" warnx(\"stpncpy: truncating character sequence\");\n" -" p = stpncpy(buf1, \"Hello world!\", sizeof(buf1));\n" -" len = p - buf1;\n" -"\\&\n" -" printf(\"[len = %zu]: \", len);\n" -" printf(\"%.*s\\en\", (int) len, buf1); // \"Hello world!\"\n" -"\\&\n" -" exit(EXIT_SUCCESS);\n" -"}\n" +msgid "Linux man-pages 6.04" msgstr "" -#. type: TH +#. type: Plain text #: opensuse-leap-15-6 #, no-wrap -msgid "2023-03-30" +msgid "" +"BIB<[restrict .>IB<], const char *restrict >IB<,>\n" +"B< size_t >IB<);>\n" +"BIB<[restrict .>IB<], const char *restrict >IB<,>\n" +"B< size_t >IB<);>\n" msgstr "" #. type: TH -#: opensuse-leap-15-6 +#: opensuse-tumbleweed #, no-wrap -msgid "Linux man-pages 6.04" +msgid "Linux man-pages (unreleased)" msgstr "" -- cgit v1.2.3