diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-17 10:52:03 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-17 10:52:03 +0000 |
commit | 932e4432596447eb9331cc2a2bb74a26a35b4efc (patch) | |
tree | 95161711ea07fd64f0c82d6e7943024c033dd5a8 /templates/man3/pthread_key_create.3.pot | |
parent | Adding debian version 4.22.0-1. (diff) | |
download | manpages-l10n-932e4432596447eb9331cc2a2bb74a26a35b4efc.tar.xz manpages-l10n-932e4432596447eb9331cc2a2bb74a26a35b4efc.zip |
Merging upstream version 4.23.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'templates/man3/pthread_key_create.3.pot')
-rw-r--r-- | templates/man3/pthread_key_create.3.pot | 207 |
1 files changed, 138 insertions, 69 deletions
diff --git a/templates/man3/pthread_key_create.3.pot b/templates/man3/pthread_key_create.3.pot index a7d64591..afebc02e 100644 --- a/templates/man3/pthread_key_create.3.pot +++ b/templates/man3/pthread_key_create.3.pot @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2024-03-01 17:04+0100\n" +"POT-Creation-Date: 2024-06-01 06:13+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -17,33 +17,34 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" #. type: TH -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed #, no-wrap msgid "pthread_key_create" msgstr "" #. type: TH -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable opensuse-tumbleweed #, no-wrap -msgid "2023-11-24" +msgid "2024-05-19" 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 #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide -#: mageia-cauldron +#: mageia-cauldron opensuse-tumbleweed #, no-wrap msgid "NAME" msgstr "" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide -#: mageia-cauldron +#: mageia-cauldron opensuse-tumbleweed msgid "" "pthread_key_create, pthread_key_delete, pthread_setspecific, " "pthread_getspecific - management of thread-specific data" @@ -51,35 +52,38 @@ msgstr "" #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide -#: mageia-cauldron +#: mageia-cauldron opensuse-tumbleweed #, no-wrap msgid "SYNOPSIS" msgstr "" #. type: Plain text -#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide -#: mageia-cauldron -msgid "B<#include E<lt>pthread.hE<gt>>" +#: archlinux debian-unstable opensuse-tumbleweed +#, no-wrap +msgid "B<#include E<lt>pthread.hE<gt>>\n" msgstr "" #. type: Plain text -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable opensuse-tumbleweed +#, no-wrap msgid "" -"B<int pthread_key_create(pthread_key_t *>I<key>B<, void " -"(*>I<destr_function>B<) (void *));> B<int pthread_key_delete(pthread_key_t " -">I<key>B<);> B<int pthread_setspecific(pthread_key_t >I<key>B<, const void " -"*>I<pointer>B<);> B<void * pthread_getspecific(pthread_key_t >I<key>B<);>" +"B<int pthread_key_create(pthread_key_t *>I<key>B<,>\n" +"B< void (*>I<destr_function>B<) (void *));>\n" +"B<int pthread_key_delete(pthread_key_t >I<key>B<);>\n" +"B<int pthread_setspecific(pthread_key_t >I<key>B<, const void *>I<pointer>B<);>\n" +"B<void * pthread_getspecific(pthread_key_t >I<key>B<);>\n" msgstr "" #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide -#: mageia-cauldron +#: mageia-cauldron opensuse-tumbleweed #, no-wrap 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 "" "Programs often need global or static variables that have different values in " "different threads. Since threads share one memory space, this cannot be " @@ -88,7 +92,8 @@ msgid "" msgstr "" #. type: Plain text -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed msgid "" "Each thread possesses a private memory block, the thread-specific data area, " "or TSD area for short. This area is indexed by TSD keys. The TSD area " @@ -99,7 +104,7 @@ msgstr "" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide -#: mageia-cauldron +#: mageia-cauldron opensuse-tumbleweed msgid "" "For concreteness, the TSD areas can be viewed as arrays of B<void *> " "pointers, TSD keys as integer indices into these arrays, and the value of a " @@ -109,14 +114,15 @@ msgstr "" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide -#: mageia-cauldron +#: mageia-cauldron opensuse-tumbleweed msgid "" "When a thread is created, its TSD area initially associates B<NULL> with all " "keys." msgstr "" #. type: Plain text -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed msgid "" "B<pthread_key_create> allocates a new TSD key. The key is stored in the " "location pointed to by I<key>. There is a limit of B<PTHREAD_KEYS_MAX> on " @@ -126,11 +132,11 @@ msgid "" msgstr "" #. type: Plain text -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable fedora-rawhide opensuse-tumbleweed msgid "" "The I<destr_function> argument, if not B<NULL>, specifies a destructor " "function associated with the key. When a thread terminates via " -"B<pthread_exit> or by cancellation, I<destr_function> is called with " +"B<pthread_exit> or by cancelation, I<destr_function> is called with " "arguments the value associated with the key in that thread. The " "I<destr_function> is not called if that value is B<NULL>. The order in " "which destructor functions are called at thread termination time is " @@ -138,7 +144,8 @@ msgid "" msgstr "" #. type: Plain text -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed msgid "" "Before the destructor function is called, the B<NULL> value is associated " "with the key in the current thread. A destructor function might, however, " @@ -152,7 +159,8 @@ msgid "" msgstr "" #. type: Plain text -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed msgid "" "B<pthread_key_delete> deallocates a TSD key. It does not check whether non-" "B<NULL> values are associated with that key in the currently executing " @@ -161,7 +169,7 @@ msgstr "" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide -#: mageia-cauldron +#: mageia-cauldron opensuse-tumbleweed msgid "" "B<pthread_setspecific> changes the value associated with I<key> in the " "calling thread, storing the given I<pointer> instead." @@ -169,7 +177,7 @@ msgstr "" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide -#: mageia-cauldron +#: mageia-cauldron opensuse-tumbleweed msgid "" "B<pthread_getspecific> returns the value currently associated with I<key> in " "the calling thread." @@ -177,13 +185,14 @@ msgstr "" #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide -#: mageia-cauldron +#: mageia-cauldron opensuse-tumbleweed #, no-wrap msgid "RETURN VALUE" msgstr "" #. type: Plain text -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed msgid "" "B<pthread_key_create>, B<pthread_key_delete>, and B<pthread_setspecific> " "return 0 on success and a non-zero error code on failure. If successful, " @@ -193,7 +202,7 @@ msgstr "" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide -#: mageia-cauldron +#: mageia-cauldron opensuse-tumbleweed msgid "" "B<pthread_getspecific> returns the value associated with I<key> on success, " "and B<NULL> on error." @@ -201,32 +210,33 @@ msgstr "" #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide -#: mageia-cauldron +#: mageia-cauldron opensuse-tumbleweed #, no-wrap msgid "ERRORS" msgstr "" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide -#: mageia-cauldron +#: mageia-cauldron opensuse-tumbleweed msgid "B<pthread_key_create> returns the following error code on error:" msgstr "" #. type: TP #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide -#: mageia-cauldron +#: mageia-cauldron opensuse-tumbleweed #, no-wrap msgid "B<EAGAIN>" msgstr "" #. type: Plain text -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed msgid "B<PTHREAD_KEYS_MAX> keys are already allocated." msgstr "" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide -#: mageia-cauldron +#: mageia-cauldron opensuse-tumbleweed msgid "" "B<pthread_key_delete> and B<pthread_setspecific> return the following error " "code on error:" @@ -234,19 +244,20 @@ msgstr "" #. type: TP #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide -#: mageia-cauldron +#: mageia-cauldron opensuse-tumbleweed #, no-wrap msgid "B<EINVAL>" msgstr "" #. type: Plain text -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed msgid "I<key> is not a valid, allocated TSD key." msgstr "" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide -#: mageia-cauldron +#: mageia-cauldron opensuse-tumbleweed msgid "" "B<pthread_getspecific> returns B<NULL> if I<key> is not a valid, allocated " "TSD key." @@ -254,33 +265,35 @@ msgstr "" #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide -#: mageia-cauldron +#: mageia-cauldron opensuse-tumbleweed #, no-wrap msgid "SEE ALSO" msgstr "" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide -#: mageia-cauldron +#: mageia-cauldron opensuse-tumbleweed msgid "pthread_create(3), pthread_exit(3), pthread_testcancel(3)." msgstr "" #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide -#: mageia-cauldron +#: mageia-cauldron opensuse-tumbleweed #, no-wrap msgid "EXAMPLE" msgstr "" #. type: Plain text -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed msgid "" "The following code fragment allocates a thread-specific array of 100 " "characters, with automatic reclamation at thread exit:" 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 "" "B</* Key for the thread-specific buffer */\n" @@ -316,43 +329,48 @@ msgid "" msgstr "" #. type: TH -#: debian-bookworm debian-unstable +#: debian-bookworm #, no-wrap msgid "PTHREAD_SPECIFIC" msgstr "" #. type: TH -#: debian-bookworm debian-unstable +#: debian-bookworm #, no-wrap msgid "LinuxThreads" msgstr "" #. type: Plain text -#: debian-bookworm debian-unstable +#: debian-bookworm fedora-40 fedora-rawhide mageia-cauldron +msgid "B<#include E<lt>pthread.hE<gt>>" +msgstr "" + +#. type: Plain text +#: debian-bookworm msgid "" "B<int pthread_key_create(pthread_key_t *>I<key>B<, void " "(*>I<destr_function>B<) (void *));>" msgstr "" #. type: Plain text -#: debian-bookworm debian-unstable +#: debian-bookworm msgid "B<int pthread_key_delete(pthread_key_t >I<key>B<);>" msgstr "" #. type: Plain text -#: debian-bookworm debian-unstable +#: debian-bookworm msgid "" "B<int pthread_setspecific(pthread_key_t >I<key>B<, const void " "*>I<pointer>B<);>" msgstr "" #. type: Plain text -#: debian-bookworm debian-unstable +#: debian-bookworm msgid "B<void * pthread_getspecific(pthread_key_t >I<key>B<);>" msgstr "" #. type: Plain text -#: debian-bookworm debian-unstable +#: debian-bookworm msgid "" "Programs often need global or static variables that have different values in " "different threads. Since threads share one memory space, this cannot be " @@ -361,7 +379,7 @@ msgid "" msgstr "" #. type: Plain text -#: debian-bookworm debian-unstable +#: debian-bookworm msgid "" "Each thread possesses a private memory block, the thread-specific data area, " "or TSD area for short. This area is indexed by TSD keys. The TSD area " @@ -371,7 +389,7 @@ msgid "" msgstr "" #. type: Plain text -#: debian-bookworm debian-unstable +#: debian-bookworm msgid "" "B<pthread_key_create> allocates a new TSD key. The key is stored in the " "location pointed to by I<key>. There is a limit of B<PTHREAD_KEYS_MAX> on " @@ -380,7 +398,7 @@ msgid "" msgstr "" #. type: Plain text -#: debian-bookworm debian-unstable +#: debian-bookworm msgid "" "The I<destr_function> argument, if not B<NULL>, specifies a destructor " "function associated with the key. When a thread terminates via " @@ -391,7 +409,7 @@ msgid "" msgstr "" #. type: Plain text -#: debian-bookworm debian-unstable +#: debian-bookworm msgid "" "Before the destructor function is called, the B<NULL> value is associated " "with the key in the current thread. A destructor function might, however, " @@ -405,7 +423,7 @@ msgid "" msgstr "" #. type: Plain text -#: debian-bookworm debian-unstable +#: debian-bookworm msgid "" "B<pthread_key_delete> deallocates a TSD key. It does not check whether non-" "B<NULL> values are associated with that key in the currently executing " @@ -413,7 +431,7 @@ msgid "" msgstr "" #. type: Plain text -#: debian-bookworm debian-unstable +#: debian-bookworm msgid "" "B<pthread_key_create>, B<pthread_key_delete>, and B<pthread_setspecific> " "return 0 on success and a non-zero error code on failure. If successful, " @@ -422,35 +440,35 @@ msgid "" msgstr "" #. type: Plain text -#: debian-bookworm debian-unstable +#: debian-bookworm msgid "B<PTHREAD_KEYS_MAX> keys are already allocated" msgstr "" #. type: Plain text -#: debian-bookworm debian-unstable +#: debian-bookworm msgid "I<key> is not a valid, allocated TSD key" msgstr "" #. type: SH -#: debian-bookworm debian-unstable +#: debian-bookworm #, no-wrap msgid "AUTHOR" msgstr "" #. type: Plain text -#: debian-bookworm debian-unstable +#: debian-bookworm msgid "Xavier Leroy E<lt>Xavier.Leroy@inria.frE<gt>" msgstr "" #. type: Plain text -#: debian-bookworm debian-unstable +#: debian-bookworm msgid "" "The following code fragment allocates a thread-specific array of 100 " "characters, with automatic reclaimation at thread exit:" msgstr "" #. type: Plain text -#: debian-bookworm debian-unstable +#: debian-bookworm #, no-wrap msgid "" "B</* Key for the thread-specific buffer */\n" @@ -458,7 +476,7 @@ msgid "" msgstr "" #. type: Plain text -#: debian-bookworm debian-unstable +#: debian-bookworm #, no-wrap msgid "" "B</* Once-only initialisation of the key */\n" @@ -466,7 +484,7 @@ msgid "" msgstr "" #. type: Plain text -#: debian-bookworm debian-unstable +#: debian-bookworm #, no-wrap msgid "" "B</* Allocate the thread-specific buffer */\n" @@ -478,7 +496,7 @@ msgid "" msgstr "" #. type: Plain text -#: debian-bookworm debian-unstable +#: debian-bookworm #, no-wrap msgid "" "B</* Return the thread-specific buffer */\n" @@ -489,7 +507,7 @@ msgid "" msgstr "" #. type: Plain text -#: debian-bookworm debian-unstable +#: debian-bookworm #, no-wrap msgid "" "B</* Allocate the key */\n" @@ -500,7 +518,7 @@ msgid "" msgstr "" #. type: Plain text -#: debian-bookworm debian-unstable +#: debian-bookworm #, no-wrap msgid "" "B</* Free the thread-specific buffer */\n" @@ -509,3 +527,54 @@ msgid "" " free(buf);\n" "}>\n" msgstr "" + +#. type: TH +#: fedora-40 mageia-cauldron +#, no-wrap +msgid "2023-11-24" +msgstr "" + +#. type: TH +#: fedora-40 mageia-cauldron +#, no-wrap +msgid "Linux man-pages 6.06" +msgstr "" + +#. type: Plain text +#: fedora-40 fedora-rawhide mageia-cauldron +msgid "" +"B<int pthread_key_create(pthread_key_t *>I<key>B<, void " +"(*>I<destr_function>B<) (void *));> B<int pthread_key_delete(pthread_key_t " +">I<key>B<);> B<int pthread_setspecific(pthread_key_t >I<key>B<, const void " +"*>I<pointer>B<);> B<void * pthread_getspecific(pthread_key_t >I<key>B<);>" +msgstr "" + +#. type: Plain text +#: fedora-40 mageia-cauldron +msgid "" +"The I<destr_function> argument, if not B<NULL>, specifies a destructor " +"function associated with the key. When a thread terminates via " +"B<pthread_exit> or by cancellation, I<destr_function> is called with " +"arguments the value associated with the key in that thread. The " +"I<destr_function> is not called if that value is B<NULL>. The order in " +"which destructor functions are called at thread termination time is " +"unspecified." +msgstr "" + +#. type: TH +#: fedora-rawhide +#, no-wrap +msgid "2024-02-26" +msgstr "" + +#. type: TH +#: fedora-rawhide +#, no-wrap +msgid "Linux man-pages 6.7" +msgstr "" + +#. type: TH +#: opensuse-tumbleweed +#, no-wrap +msgid "Linux man-pages (unreleased)" +msgstr "" |