# SOME DESCRIPTIVE TITLE # Copyright (C) YEAR Free Software Foundation, Inc. # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\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 \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. type: TH #: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron #: opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "pthread_mutexattr_init" msgstr "" #. type: TH #: archlinux debian-unstable opensuse-tumbleweed #, no-wrap msgid "2024-05-02" msgstr "" #. type: TH #: archlinux debian-unstable #, no-wrap msgid "Linux man-pages 6.8" msgstr "" #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "NAME" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron #: opensuse-leap-15-6 opensuse-tumbleweed msgid "" "pthread_mutexattr_init, pthread_mutexattr_destroy - initialize and destroy a " "mutex attributes object" msgstr "" #. type: SH #: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron #: opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "LIBRARY" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron #: opensuse-leap-15-6 opensuse-tumbleweed msgid "POSIX threads library (I, I<-lpthread>)" msgstr "" #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "SYNOPSIS" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron #: opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "B<#include Epthread.hE>\n" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron #: opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "" "BIB<);>\n" "BIB<);>\n" msgstr "" #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "DESCRIPTION" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron #: opensuse-leap-15-6 opensuse-tumbleweed msgid "" "The B() function initializes the mutex attributes " "object pointed to by I with default values for all attributes defined " "by the implementation." msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron #: opensuse-leap-15-6 opensuse-tumbleweed msgid "" "The results of initializing an already initialized mutex attributes object " "are undefined." msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron #: opensuse-leap-15-6 opensuse-tumbleweed msgid "" "The B() function destroys a mutex attribute " "object (making it uninitialized). Once a mutex attributes object has been " "destroyed, it can be reinitialized with B()." msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron #: opensuse-leap-15-6 opensuse-tumbleweed msgid "" "The results of destroying an uninitialized mutex attributes object are " "undefined." msgstr "" #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "RETURN VALUE" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron #: opensuse-leap-15-6 opensuse-tumbleweed msgid "" "On success, these functions return 0. On error, they return a positive " "error number." msgstr "" #. type: SH #: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron #: opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "STANDARDS" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron #: opensuse-leap-15-6 opensuse-tumbleweed msgid "POSIX.1-2008." msgstr "" #. type: SH #: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron #: opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "HISTORY" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron #: opensuse-leap-15-6 opensuse-tumbleweed msgid "POSIX.1-2001." msgstr "" #. type: SH #: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron #: opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "NOTES" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron #: opensuse-leap-15-6 opensuse-tumbleweed msgid "" "Subsequent changes to a mutex attributes object do not affect mutex that " "have already been initialized using that object." msgstr "" #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "SEE ALSO" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron #: opensuse-leap-15-6 opensuse-tumbleweed msgid "" "B(3), B(3), " "B(3), B(7)" msgstr "" #. type: TH #: debian-bookworm #, no-wrap msgid "PTHREAD_MUTEXATTR" msgstr "" #. type: TH #: debian-bookworm #, no-wrap msgid "LinuxThreads" msgstr "" #. type: Plain text #: debian-bookworm msgid "" "pthread_mutexattr_init, pthread_mutexattr_destroy, " "pthread_mutexattr_settype, pthread_mutexattr_gettype - mutex creation " "attributes" msgstr "" #. type: Plain text #: debian-bookworm msgid "B<#include Epthread.hE>" msgstr "" #. type: Plain text #: debian-bookworm msgid "BIB<);>" msgstr "" #. type: Plain text #: debian-bookworm msgid "BIB<);>" msgstr "" #. type: Plain text #: debian-bookworm msgid "" "BIB<, int " ">IB<);>" msgstr "" #. type: Plain text #: debian-bookworm msgid "" "BIB<, int " "*>IB<);>" msgstr "" #. type: Plain text #: debian-bookworm msgid "" "Mutex attributes can be specified at mutex creation time, by passing a mutex " "attribute object as second argument to B(3). Passing " "B is equivalent to passing a mutex attribute object with all " "attributes set to their default values." msgstr "" #. type: Plain text #: debian-bookworm msgid "" "B initializes the mutex attribute object I and " "fills it with default values for the attributes." msgstr "" #. type: Plain text #: debian-bookworm msgid "" "B destroys a mutex attribute object, which must " "not be reused until it is reinitialized. B does " "nothing in the LinuxThreads implementation." msgstr "" #. type: Plain text #: debian-bookworm msgid "" "LinuxThreads supports only one mutex attribute: the mutex kind, which is " "either B for ``fast'' mutexes, " "B for ``recursive'' mutexes, or " "B for ``error checking'' mutexes. As the B " "suffix indicates, this is a non-portable extension to the POSIX standard and " "should not be employed in portable programs." msgstr "" #. type: Plain text #: debian-bookworm msgid "" "The mutex kind determines what happens if a thread attempts to lock a mutex " "it already owns with B(3). If the mutex is of the " "``fast'' kind, B(3) simply suspends the calling thread " "forever. If the mutex is of the ``error checking'' kind, " "B(3) returns immediately with the error code " "B. If the mutex is of the ``recursive'' kind, the call to " "B(3) returns immediately with a success return code. The " "number of times the thread owning the mutex has locked it is recorded in the " "mutex. The owning thread must call B(3) the same " "number of times before the mutex returns to the unlocked state." msgstr "" #. type: Plain text #: debian-bookworm msgid "The default mutex kind is ``fast'', that is, B." msgstr "" #. type: Plain text #: debian-bookworm msgid "" "B sets the mutex kind attribute in I to the " "value specified by I." msgstr "" #. type: Plain text #: debian-bookworm msgid "" "B retrieves the current value of the mutex kind " "attribute in I and stores it in the location pointed to by I." msgstr "" #. type: Plain text #: debian-bookworm msgid "" "B, B and " "B always return 0." msgstr "" #. type: Plain text #: debian-bookworm msgid "" "B returns 0 on success and a non-zero error code " "on error." msgstr "" #. type: SH #: debian-bookworm #, no-wrap msgid "ERRORS" msgstr "" #. type: Plain text #: debian-bookworm msgid "" "On error, B returns the following error code:" msgstr "" #. type: TP #: debian-bookworm #, no-wrap msgid "B" msgstr "" #. type: Plain text #: debian-bookworm msgid "" "I is neither B nor " "B nor B" msgstr "" #. type: SH #: debian-bookworm #, no-wrap msgid "AUTHOR" msgstr "" #. type: Plain text #: debian-bookworm msgid "Xavier Leroy EXavier.Leroy@inria.frE" msgstr "" #. type: Plain text #: debian-bookworm msgid "" "B(3), B(3), " "B(3)." msgstr "" #. type: TH #: fedora-40 fedora-rawhide mageia-cauldron #, no-wrap msgid "2023-10-31" msgstr "" #. type: TH #: fedora-40 mageia-cauldron #, no-wrap msgid "Linux man-pages 6.06" msgstr "" #. type: TH #: fedora-rawhide #, no-wrap msgid "Linux man-pages 6.7" msgstr "" #. type: TH #: opensuse-leap-15-6 #, no-wrap msgid "2023-03-30" msgstr "" #. type: TH #: opensuse-leap-15-6 #, no-wrap msgid "Linux man-pages 6.04" msgstr "" #. type: TH #: opensuse-tumbleweed #, no-wrap msgid "Linux man-pages (unreleased)" msgstr ""