# Russian translation of manpages # This file is distributed under the same license as the manpages-l10n package. # Copyright © of this file: # Azamat Hackimov , 2014. # Dmitriy S. Seregin , 2013. # Dmitry Bolkhovskikh , 2017. # Katrin Kutepova , 2018. # Yuri Kozlov , 2011-2019. # Иван Павлов , 2017. msgid "" msgstr "" "Project-Id-Version: manpages-l10n\n" "POT-Creation-Date: 2024-03-01 16:54+0100\n" "PO-Revision-Date: 2019-10-05 07:56+0300\n" "Last-Translator: Yuri Kozlov \n" "Language-Team: Russian \n" "Language: ru\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " "n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || " "(n%100>=11 && n%100<=14)? 2 : 3);\n" "X-Generator: Lokalize 2.0\n" #. type: TH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "CPU_SET" msgstr "CPU_SET" #. type: TH #: archlinux fedora-40 fedora-rawhide mageia-cauldron #, no-wrap msgid "2023-10-31" msgstr "31 октября 2023 г." #. type: TH #: archlinux fedora-40 fedora-rawhide mageia-cauldron #, no-wrap msgid "Linux man-pages 6.06" msgstr "Linux man-pages 6.06" #. 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-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "CPU_SET, CPU_CLR, CPU_ISSET, CPU_ZERO, CPU_COUNT, CPU_AND, CPU_OR, CPU_XOR, " "CPU_EQUAL, CPU_ALLOC, CPU_ALLOC_SIZE, CPU_FREE, CPU_SET_S, CPU_CLR_S, " "CPU_ISSET_S, CPU_ZERO_S, CPU_COUNT_S, CPU_AND_S, CPU_OR_S, CPU_XOR_S, " "CPU_EQUAL_S - macros for manipulating CPU sets" msgstr "" "CPU_SET, CPU_CLR, CPU_ISSET, CPU_ZERO, CPU_COUNT, CPU_AND, CPU_OR, CPU_XOR, " "CPU_EQUAL, CPU_ALLOC, CPU_ALLOC_SIZE, CPU_FREE, CPU_SET_S, CPU_CLR_S, " "CPU_ISSET_S, CPU_ZERO_S, CPU_COUNT_S, CPU_AND_S, CPU_OR_S, CPU_XOR_S, " "CPU_EQUAL_S - макросы для работы с наборами ЦП" #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "LIBRARY" msgstr "" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "Standard C library (I, I<-lc>)" 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-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "" "B<#define _GNU_SOURCE> /* See feature_test_macros(7) */\n" "B<#include Esched.hE>\n" msgstr "" "B<#define _GNU_SOURCE> /* Смотрите feature_test_macros(7) */\n" "B<#include Esched.hE>\n" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "BIB<);>\n" msgstr "BIB<);>\n" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "" "BIB<, cpu_set_t *>IB<);>\n" "BIB<, cpu_set_t *>IB<);>\n" "BIB<, cpu_set_t *>IB<);>\n" msgstr "" "BIB<, cpu_set_t *>IB<);>\n" "BIB<, cpu_set_t *>IB<);>\n" "BIB<, cpu_set_t *>IB<);>\n" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "BIB<);>\n" msgstr "BIB<);>\n" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "" "BIB<,>\n" "B< cpu_set_t *>IB<, cpu_set_t *>IB<);>\n" "BIB<,>\n" "B< cpu_set_t *>IB<, cpu_set_t *>IB<);>\n" "BIB<,>\n" "B< cpu_set_t *>IB<, cpu_set_t *>IB<);>\n" msgstr "" "BIB<,>\n" "B< cpu_set_t *>IB<, cpu_set_t *>IB<);>\n" "BIB<,>\n" "B< cpu_set_t *>IB<, cpu_set_t *>IB<);>\n" "BIB<,>\n" "B< cpu_set_t *>IB<, cpu_set_t *>IB<);>\n" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "BIB<, cpu_set_t *>IB<);>\n" msgstr "BIB<, cpu_set_t *>IB<);>\n" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "" "BIB<);>\n" "BIB<);>\n" "BIB<);>\n" msgstr "" "BIB<);>\n" "BIB<);>\n" "BIB<);>\n" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "BIB<, cpu_set_t *>IB<);>\n" msgstr "BIB<, cpu_set_t *>IB<);>\n" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "" "BIB<, size_t >IB<, cpu_set_t *>IB<);>\n" "BIB<, size_t >IB<, cpu_set_t *>IB<);>\n" "BIB<, size_t >IB<, cpu_set_t *>IB<);>\n" msgstr "" "BIB<, size_t >IB<, cpu_set_t *>IB<);>\n" "BIB<, size_t >IB<, cpu_set_t *>IB<);>\n" "BIB<, size_t >IB<, cpu_set_t *>IB<);>\n" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "BIB<, cpu_set_t *>IB<);>\n" msgstr "BIB<, cpu_set_t *>IB<);>\n" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "" "BIB<, cpu_set_t *>IB<,>\n" "B< cpu_set_t *>IB<, cpu_set_t *>IB<);>\n" "BIB<, cpu_set_t *>IB<,>\n" "B< cpu_set_t *>IB<, cpu_set_t *>IB<);>\n" "BIB<, cpu_set_t *>IB<,>\n" "B< cpu_set_t *>IB<, cpu_set_t *>IB<);>\n" msgstr "" "BIB<, cpu_set_t *>IB<,>\n" "B< cpu_set_t *>IB<, cpu_set_t *>IB<);>\n" "BIB<, cpu_set_t *>IB<,>\n" "B< cpu_set_t *>IB<, cpu_set_t *>IB<);>\n" "BIB<, cpu_set_t *>IB<,>\n" "B< cpu_set_t *>IB<, cpu_set_t *>IB<);>\n" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "BIB<, cpu_set_t *>IB<, cpu_set_t *>IB<);>\n" msgstr "BIB<, cpu_set_t *>IB<, cpu_set_t *>IB<);>\n" #. 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-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "The I data structure represents a set of CPUs. CPU sets are used " "by B(2) and similar interfaces." msgstr "" "Набор ЦП описывается структурой данных I. Набор ЦП используется в " "B(2) и подобных интерфейсах." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "The I data type is implemented as a bit mask. However, the data " "structure should be treated as opaque: all manipulation of CPU sets should " "be done via the macros described in this page." msgstr "" "Тип данных I реализован в виде битовой маски. Однако структуру " "данных следует считать «чёрным ящиком»: все действия с наборами ЦП следует " "выполнять с помощью макросов, описанных на этой странице." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "The following macros are provided to operate on the CPU set I:" msgstr "Для работы с набором ЦП I предоставляются следующие макросы:" #. type: TP #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "B()" msgstr "B()" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "Clears I, so that it contains no CPUs." msgstr "Очищает I, после этого он не содержит ЦП." #. type: TP #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "B()" msgstr "B()" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "Add CPU I to I." msgstr "Добавляет ЦП I в I." #. type: TP #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "B()" msgstr "B()" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "Remove CPU I from I." msgstr "Удаляет ЦП I из I." #. type: TP #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "B()" msgstr "B()" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "Test to see if CPU I is a member of I." msgstr "Проверяет, является ли ЦП I членом I." #. type: TP #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "B()" msgstr "B()" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "Return the number of CPUs in I." msgstr "Возвращает количество ЦП в I." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "Where a I argument is specified, it should not produce side effects, " "since the above macros may evaluate the argument more than once." msgstr "" "Макросы, имеющие аргумент I, не вызывают побочных эффектов, все " "перечисленные выше макросы могут использовать аргумент более одного раза." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "The first CPU on the system corresponds to a I value of 0, the next CPU " "corresponds to a I value of 1, and so on. No assumptions should be " "made about particular CPUs being available, or the set of CPUs being " "contiguous, since CPUs can be taken offline dynamically or be otherwise " "absent. The constant B (currently 1024) specifies a value one " "greater than the maximum CPU number that can be stored in I." msgstr "" "Значение первого ЦП системы в I обозначается как 0, значение следующего " "ЦП в I равно 1 и т. д. Нельзя предполагать о доступности каких-либо ЦП, " "или что набор ЦП непрерывен, так как ЦП могут динамически отключаться или " "вообще отсутствовать. Константой B (в настоящее время 1024) " "задаётся значение на 1 большее, чем максимальный номер ЦП, который можно " "хранить в I." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "The following macros perform logical operations on CPU sets:" msgstr "Следующие макросы выполняют логические операции над наборами ЦП:" #. type: TP #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "B()" msgstr "B()" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "Store the intersection of the sets I and I in I " "(which may be one of the source sets)." msgstr "" "Сохраняет пересечение наборов I и I в I (который " "может быть одним из наборов-аргументов)." #. type: TP #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "B()" msgstr "B()" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "Store the union of the sets I and I in I (which " "may be one of the source sets)." msgstr "" "Сохраняет объединение наборов I и I в I (который " "может быть одним из наборов-аргументов)." #. type: TP #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "B()" msgstr "B()" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "Store the XOR of the sets I and I in I (which may " "be one of the source sets). The XOR means the set of CPUs that are in " "either I or I, but not both." msgstr "" "Сохраняет результат XOR наборов I и I в I " "(который может быть одним из наборов-аргументов). Операция XOR возвращает " "набор из ЦП, которые есть в одном из I или I, но не в " "обоих одновременно." #. type: TP #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "B()" msgstr "B()" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "Test whether two CPU set contain exactly the same CPUs." msgstr "Проверяет, что два набора ЦП содержат одинаковые ЦП." #. type: SS #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "Dynamically sized CPU sets" msgstr "Динамически изменяемые наборы ЦП" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "Because some applications may require the ability to dynamically size CPU " "sets (e.g., to allocate sets larger than that defined by the standard " "I data type), glibc nowadays provides a set of macros to support " "this." msgstr "" "Так как некоторым приложениям может потребоваться наборы ЦП динамически " "изменяемых размеров (например, для выделения наборов больше, чем определено " "стандартным типом данных I), glibc предоставляет набор макросов " "для этого." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "The following macros are used to allocate and deallocate CPU sets:" msgstr "Следующие макросы используются для выделения и удаления наборов ЦП:" #. type: TP #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "B()" msgstr "B()" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "Allocate a CPU set large enough to hold CPUs in the range 0 to I." msgstr "" "Выделяет набор ЦП, достаточный для хранения ЦП в диапазоне от 0 до " "I." #. type: TP #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "B()" msgstr "B()" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "Return the size in bytes of the CPU set that would be needed to hold CPUs in " "the range 0 to I. This macro provides the value that can be " "used for the I argument in the B() macros described below." msgstr "" "Возвращает размер набора ЦП в байтах, который необходим для хранения ЦП в " "диапазоне от 0 до I. Данный макрос предоставляет значение, " "которое можно использовать в аргументе I в макросах B(), " "описанных далее." #. type: TP #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "B()" msgstr "B()" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "Free a CPU set previously allocated by B()." msgstr "Освобождает набор ЦП, выделенный ранее с помощью B()." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "The macros whose names end with \"_S\" are the analogs of the similarly " "named macros without the suffix. These macros perform the same tasks as " "their analogs, but operate on the dynamically allocated CPU set(s) whose " "size is I bytes." msgstr "" "Макросы, чьи имена заканчиваются на «_S», аналогичны макросам с тем же " "именем без суффикса. Эти макросы выполняют те же задачи что и их аналоги, но " "они работают с динамически выделяемыми наборами ЦП, размер которых равен " "I байт." #. 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-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "B() and B() return nonzero if I is in I; " "otherwise, it returns 0." msgstr "" "Макросы B() и B() возвращают ненулевое значение, " "если I есть в I; в противном случае возвращается 0." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "B() and B() return the number of CPUs in I." msgstr "" "Макросы B() и B() возвращают количество ЦП в I." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "B() and B() return nonzero if the two CPU sets are " "equal; otherwise they return 0." msgstr "" "Макросы B() и B() возвращают ненулевое значение, " "если два набора ЦП одинаковы; в противном случае возвращается 0." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "B() returns a pointer on success, or NULL on failure. (Errors " "are as for B(3).)" msgstr "" "При успешном выполнении макрос B() возвращает указатель, при " "ошибке возвращается NULL (ошибки те же, что и у B(3))." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "B() returns the number of bytes required to store a CPU set " "of the specified cardinality." msgstr "" "Макрос B() возвращает количество байт, требуемое для " "хранения набора ЦП указанных элементов." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "The other functions do not return a value." msgstr "Другие функции не возвращают никаких значений." #. type: SH #: archlinux debian-bookworm 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 "Linux." msgstr "Linux." #. 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-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "The B(), B(), B(), and B() macros " "were added in glibc 2.3.3." msgstr "" "Макросы B(), B(), B() и B() добавлены " "в glibc версии 2.3.3." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "B() first appeared in glibc 2.6." msgstr "Макрос B() впервые появилась в glibc версии 2.6." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "B(), B(), B(), B(), B(), " "B(), B(), B(), B(), " "B(), B(), B(), B(), " "B(), and B() first appeared in glibc 2.7." msgstr "" "Макросы B(), B(), B(), B(), " "B(), B(), B(), B(), " "B(), B(), B(), B(), " "B(), B() и B() впервые появились в glibc " "версии 2.7." #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "NOTES" msgstr "ЗАМЕЧАНИЯ" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "To duplicate a CPU set, use B(3)." msgstr "Для создания копии набора ЦП используйте B(3)." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "Since CPU sets are bit masks allocated in units of long words, the actual " "number of CPUs in a dynamically allocated CPU set will be rounded up to the " "next multiple of I. An application should consider " "the contents of these extra bits to be undefined." msgstr "" "Так как наборы ЦП это битовые маски, выделяемые в единицах длинных слов, " "реальное количество ЦП в динамически выделенном наборе ЦП будет округлено до " "следующего кратного I. Приложение должно считать " "содержимое этих дополнительных бит неопределённым." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "Notwithstanding the similarity in the names, note that the constant " "B indicates the number of CPUs in the I data type " "(thus, it is effectively a count of the bits in the bit mask), while the " "I argument of the B() macros is a size in bytes." msgstr "" "Несмотря на похожесть имён, заметим, что константа B определяет " "количество ЦП в типе данных I (то есть, эффективное количество " "битов в битовой маске), в то время как аргумент I макросов " "B() — это размер в байтах." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "The data types for arguments and return values shown in the SYNOPSIS are " "hints what about is expected in each case. However, since these interfaces " "are implemented as macros, the compiler won't necessarily catch all type " "errors if you violate the suggestions." msgstr "" "Типы данных параметров и возвращаемых значений, показанных в ОБЗОРЕ — " "подсказки, что ожидается в каждом случае. Однако так как эти интерфейсы " "реализованы как макросы, компилятор не обязательно поймает все ошибки " "приведения типов, если вы нарушите предположения." #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "BUGS" msgstr "ДЕФЕКТЫ" #. http://sourceware.org/bugzilla/show_bug.cgi?id=7029 #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "On 32-bit platforms with glibc 2.8 and earlier, B() allocates " "twice as much space as is required, and B() returns a value " "twice as large as it should. This bug should not affect the semantics of a " "program, but does result in wasted memory and less efficient operation of " "the macros that operate on dynamically allocated CPU sets. These bugs are " "fixed in glibc 2.9." msgstr "" "На 32-разрядных платформах в glibc 2.8 и ранее B () выделяет " "вдвое больше пространства, как требуется, и B() возвращает " "значение вдвое большее, чем должно. Эта ошибка не должна влиять на семантику " "программы, но приводит к трате впустую памяти и менее эффективной работе " "макросов для динамически выделяемых наборов ЦП. Эти ошибки исправлены в " "glibc версии 2.9." #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "EXAMPLES" msgstr "ПРИМЕРЫ" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "The following program demonstrates the use of some of the macros used for " "dynamically allocated CPU sets." msgstr "" "Следующая программа показывает использование некоторых макросов, работающих " "с динамически выделяемыми наборами ЦП." #. type: Plain text #: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron #: opensuse-tumbleweed #, no-wrap msgid "" "#define _GNU_SOURCE\n" "#include Esched.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Eunistd.hE\n" "\\&\n" "#include Eassert.hE\n" "\\&\n" "int\n" "main(int argc, char *argv[])\n" "{\n" " cpu_set_t *cpusetp;\n" " size_t size, num_cpus;\n" "\\&\n" " if (argc E 2) {\n" " fprintf(stderr, \"Usage: %s Enum-cpusE\\en\", argv[0]);\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " num_cpus = atoi(argv[1]);\n" "\\&\n" " cpusetp = CPU_ALLOC(num_cpus);\n" " if (cpusetp == NULL) {\n" " perror(\"CPU_ALLOC\");\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " size = CPU_ALLOC_SIZE(num_cpus);\n" "\\&\n" " CPU_ZERO_S(size, cpusetp);\n" " for (size_t cpu = 0; cpu E num_cpus; cpu += 2)\n" " CPU_SET_S(cpu, size, cpusetp);\n" "\\&\n" " printf(\"CPU_COUNT() of set: %d\\en\", CPU_COUNT_S(size, cpusetp));\n" "\\&\n" " CPU_FREE(cpusetp);\n" " exit(EXIT_SUCCESS);\n" "}\n" msgstr "" #. SRC END #. 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-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "B(2), B(3), " "B(3), B(7)" msgstr "" "B(2), B(3), " "B(3), B(7)" #. type: TH #: debian-bookworm #, no-wrap msgid "2022-10-09" msgstr "9 октября 2022 г." #. type: TH #: debian-bookworm #, no-wrap msgid "Linux man-pages 6.03" msgstr "Linux man-pages 6.03" #. type: SH #: debian-bookworm #, no-wrap msgid "VERSIONS" msgstr "ВЕРСИИ" #. type: Plain text #: debian-bookworm msgid "These interfaces are Linux-specific." msgstr "Данные интерфейсы есть только в Linux." #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, fuzzy, no-wrap #| msgid "" #| "#define _GNU_SOURCE\n" #| "#include Epthread.hE\n" #| "#include Estdio.hE\n" #| "#include Estdlib.hE\n" #| "#include Eerrno.hE\n" msgid "" "#define _GNU_SOURCE\n" "#include Esched.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Eunistd.hE\n" msgstr "" "#define _GNU_SOURCE\n" "#include Epthread.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Eerrno.hE\n" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid "#include Eassert.hE\n" msgstr "#include Eassert.hE\n" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, fuzzy, no-wrap #| msgid "" #| "int\n" #| "main(int argc, char *argv[])\n" #| "{\n" #| " cpu_set_t *cpusetp;\n" #| " size_t size;\n" #| " int num_cpus, cpu;\n" msgid "" "int\n" "main(int argc, char *argv[])\n" "{\n" " cpu_set_t *cpusetp;\n" " size_t size, num_cpus;\n" msgstr "" "int\n" "main(int argc, char *argv[])\n" "{\n" " cpu_set_t *cpusetp;\n" " size_t size;\n" " int num_cpus, cpu;\n" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid "" " if (argc E 2) {\n" " fprintf(stderr, \"Usage: %s Enum-cpusE\\en\", argv[0]);\n" " exit(EXIT_FAILURE);\n" " }\n" msgstr "" " if (argc E 2) {\n" " fprintf(stderr, \"Использование: %s Eколичество-ЦПE\\en\", argv[0]);\n" " exit(EXIT_FAILURE);\n" " }\n" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid " num_cpus = atoi(argv[1]);\n" msgstr " num_cpus = atoi(argv[1]);\n" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid "" " cpusetp = CPU_ALLOC(num_cpus);\n" " if (cpusetp == NULL) {\n" " perror(\"CPU_ALLOC\");\n" " exit(EXIT_FAILURE);\n" " }\n" msgstr "" " cpusetp = CPU_ALLOC(num_cpus);\n" " if (cpusetp == NULL) {\n" " perror(\"CPU_ALLOC\");\n" " exit(EXIT_FAILURE);\n" " }\n" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid " size = CPU_ALLOC_SIZE(num_cpus);\n" msgstr " size = CPU_ALLOC_SIZE(num_cpus);\n" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, fuzzy, no-wrap #| msgid "" #| " CPU_ZERO_S(size, cpusetp);\n" #| " for (cpu = 0; cpu E num_cpus; cpu += 2)\n" #| " CPU_SET_S(cpu, size, cpusetp);\n" msgid "" " CPU_ZERO_S(size, cpusetp);\n" " for (size_t cpu = 0; cpu E num_cpus; cpu += 2)\n" " CPU_SET_S(cpu, size, cpusetp);\n" msgstr "" " CPU_ZERO_S(size, cpusetp);\n" " for (cpu = 0; cpu E num_cpus; cpu += 2)\n" " CPU_SET_S(cpu, size, cpusetp);\n" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid " printf(\"CPU_COUNT() of set: %d\\en\", CPU_COUNT_S(size, cpusetp));\n" msgstr " printf(\"CPU_COUNT() набора: %d\\en\", CPU_COUNT_S(size, cpusetp));\n" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid "" " CPU_FREE(cpusetp);\n" " exit(EXIT_SUCCESS);\n" "}\n" msgstr "" " CPU_FREE(cpusetp);\n" " exit(EXIT_SUCCESS);\n" "}\n" #. type: TH #: debian-unstable opensuse-tumbleweed #, no-wrap msgid "2023-05-03" msgstr "3 мая 2023 г." #. type: TH #: debian-unstable opensuse-tumbleweed #, no-wrap msgid "Linux man-pages 6.05.01" msgstr "Linux man-pages 6.05.01" #. type: TH #: opensuse-leap-15-6 #, no-wrap msgid "2023-03-30" msgstr "30 марта 2023 г." #. type: TH #: opensuse-leap-15-6 #, no-wrap msgid "Linux man-pages 6.04" msgstr "Linux man-pages 6.04"