| 1 |
# Russian translation of manpages |
| 2 |
# This file is distributed under the same license as the manpages-l10n package. |
| 3 |
# Copyright © of this file: |
| 4 |
# Yuri Kozlov <[email protected]>, 2012-2019. |
| 5 |
# Иван Павлов <[email protected]>, 2017. |
| 6 |
msgid "" |
| 7 |
msgstr "" |
| 8 |
"Project-Id-Version: manpages-l10n\n" |
| 9 |
"POT-Creation-Date: 2026-06-05 06:22+0200\n" |
| 10 |
"PO-Revision-Date: 2024-12-21 19:50+0300\n" |
| 11 |
"Last-Translator: Yuri Kozlov <[email protected]>\n" |
| 12 |
"Language-Team: Russian <[email protected]>\n" |
| 13 |
"Language: ru\n" |
| 14 |
"MIME-Version: 1.0\n" |
| 15 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 16 |
"Content-Transfer-Encoding: 8bit\n" |
| 17 |
"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " |
| 18 |
"n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || " |
| 19 |
"(n%100>=11 && n%100<=14)? 2 : 3);\n" |
| 20 |
"X-Generator: Lokalize 2.0\n" |
| 21 |
|
| 22 |
#. type: TH |
| 23 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 24 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 25 |
#, fuzzy, no-wrap |
| 26 |
#| msgid "B<dlinfo>()" |
| 27 |
msgid "dlinfo" |
| 28 |
msgstr "B<dlinfo>()" |
| 29 |
|
| 30 |
#. type: TH |
| 31 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 32 |
#: opensuse-tumbleweed |
| 33 |
#, no-wrap |
| 34 |
msgid "2026-02-08" |
| 35 |
msgstr "8 февраля 2026 г." |
| 36 |
|
| 37 |
#. type: TH |
| 38 |
#: archlinux debian-unstable |
| 39 |
#, fuzzy, no-wrap |
| 40 |
#| msgid "Linux man-pages 6.17" |
| 41 |
msgid "Linux man-pages 6.18" |
| 42 |
msgstr "Справочные страницы Linux 6.17" |
| 43 |
|
| 44 |
#. type: SH |
| 45 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 46 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 47 |
#, no-wrap |
| 48 |
msgid "NAME" |
| 49 |
msgstr "НАИМЕНОВАНИЕ" |
| 50 |
|
| 51 |
#. type: Plain text |
| 52 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 53 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 54 |
msgid "dlinfo - obtain information about a dynamically loaded object" |
| 55 |
msgstr "dlinfo - возвращает информацию о динамически загруженном объекте" |
| 56 |
|
| 57 |
#. type: SH |
| 58 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 59 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 60 |
#, no-wrap |
| 61 |
msgid "LIBRARY" |
| 62 |
msgstr "БИБЛИОТЕКА" |
| 63 |
|
| 64 |
#. type: Plain text |
| 65 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 66 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 67 |
#, fuzzy |
| 68 |
#| msgid "Math library (I<libm>, I<-lm>)" |
| 69 |
msgid "Dynamic linking library (I<libdl>,\\ I<-ldl>)" |
| 70 |
msgstr "Математическая библиотека (I<libm>, I<-lm>)" |
| 71 |
|
| 72 |
#. type: SH |
| 73 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 74 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 75 |
#, no-wrap |
| 76 |
msgid "SYNOPSIS" |
| 77 |
msgstr "СИНТАКСИС" |
| 78 |
|
| 79 |
#. type: Plain text |
| 80 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 81 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 82 |
#, no-wrap |
| 83 |
msgid "" |
| 84 |
"B<#define _GNU_SOURCE>\n" |
| 85 |
"B<#include E<lt>link.hE<gt>>\n" |
| 86 |
"B<#include E<lt>dlfcn.hE<gt>>\n" |
| 87 |
msgstr "" |
| 88 |
"B<#define _GNU_SOURCE>\n" |
| 89 |
"B<#include E<lt>link.hE<gt>>\n" |
| 90 |
"B<#include E<lt>dlfcn.hE<gt>>\n" |
| 91 |
|
| 92 |
#. type: Plain text |
| 93 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 94 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 95 |
#, fuzzy, no-wrap |
| 96 |
#| msgid "B<int dlinfo(void *>handleB<, int >requestB<, void *>infoB<);>\n" |
| 97 |
msgid "B<int dlinfo(void *restrict >handleB<, int >requestB<, void *restrict >infoB<);>\n" |
| 98 |
msgstr "B<int dlinfo(void *>handleB<, int >requestB<, void *>infoB<);>\n" |
| 99 |
|
| 100 |
#. type: SH |
| 101 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 102 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 103 |
#, no-wrap |
| 104 |
msgid "DESCRIPTION" |
| 105 |
msgstr "ОПИСАНИЕ" |
| 106 |
|
| 107 |
#. type: Plain text |
| 108 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 109 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 110 |
msgid "" |
| 111 |
"The B<dlinfo>() function obtains information about the dynamically loaded " |
| 112 |
"object referred to by I<handle> (typically obtained by an earlier call to " |
| 113 |
"B<dlopen>(3) or B<dlmopen>(3)). The I<request> argument specifies which " |
| 114 |
"information is to be returned. The I<info> argument is a pointer to a " |
| 115 |
"buffer used to store information returned by the call; the type of this " |
| 116 |
"argument depends on I<request>." |
| 117 |
msgstr "" |
| 118 |
"Функция B<dlinfo>() возвращает информацию о динамически загруженном объекте, " |
| 119 |
"на который указывает I<handle> (обычно полученный ранее вызовом B<dlopen>(3) " |
| 120 |
"или B<dlmopen>(3)). В аргументе I<request> указывается какую информацию " |
| 121 |
"нужно получить. Аргумент I<info> — указатель на буфер для хранения " |
| 122 |
"информации, возвращаемой вызовом; тип данного аргумента зависит от " |
| 123 |
"I<request>." |
| 124 |
|
| 125 |
#. type: Plain text |
| 126 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 127 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 128 |
msgid "" |
| 129 |
"The following values are supported for I<request> (with the corresponding " |
| 130 |
"type for I<info> shown in parentheses):" |
| 131 |
msgstr "" |
| 132 |
"Для I<request> поддерживаются следующие значения (соответствующий тип " |
| 133 |
"I<info> показан в скобках):" |
| 134 |
|
| 135 |
#. type: TP |
| 136 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 137 |
#: opensuse-tumbleweed |
| 138 |
#, fuzzy, no-wrap |
| 139 |
#| msgid "B<RTLD_DI_LMID> (I<Lmid_t *>)" |
| 140 |
msgid "B<RTLD_DI_LMID> (\\f[I]Lmid_t *\\fR)" |
| 141 |
msgstr "B<RTLD_DI_LMID> (I<Lmid_t *>)" |
| 142 |
|
| 143 |
#. type: Plain text |
| 144 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 145 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 146 |
msgid "" |
| 147 |
"Obtain the ID of the link-map list (namespace) in which I<handle> is loaded." |
| 148 |
msgstr "" |
| 149 |
"Возвратить ID списка карты связи (link-map list, пространство имён), в " |
| 150 |
"который загружен I<handle>." |
| 151 |
|
| 152 |
#. type: TP |
| 153 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 154 |
#: opensuse-tumbleweed |
| 155 |
#, fuzzy, no-wrap |
| 156 |
#| msgid "B<RTLD_DI_LINKMAP> (I<struct link_map **>)" |
| 157 |
msgid "B<RTLD_DI_LINKMAP> (\\f[I]struct link_map **\\fR)" |
| 158 |
msgstr "B<RTLD_DI_LINKMAP> (I<struct link_map **>)" |
| 159 |
|
| 160 |
#. type: Plain text |
| 161 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 162 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 163 |
msgid "" |
| 164 |
"Obtain a pointer to the I<link_map> structure corresponding to I<handle>. " |
| 165 |
"The I<info> argument points to a pointer to a I<link_map> structure, defined " |
| 166 |
"in I<E<lt>link.hE<gt>> as:" |
| 167 |
msgstr "" |
| 168 |
"Возвратить указатель на структуру I<link_map>, соответствующую I<handle>. " |
| 169 |
"Аргумент I<info> указывает на указатель на структуру I<link_map>, " |
| 170 |
"определённую в I<E<lt>link.hE<gt>> следующим образом:" |
| 171 |
|
| 172 |
#. type: Plain text |
| 173 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 174 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 175 |
#, fuzzy, no-wrap |
| 176 |
#| msgid "" |
| 177 |
#| "struct link_map {\n" |
| 178 |
#| " ElfW(Addr) l_addr; /* Difference between the\n" |
| 179 |
#| " address in the ELF file and\n" |
| 180 |
#| " the address in memory */\n" |
| 181 |
#| " char *l_name; /* Absolute pathname where\n" |
| 182 |
#| " object was found */\n" |
| 183 |
#| " ElfW(Dyn) *l_ld; /* Dynamic section of the\n" |
| 184 |
#| " shared object */\n" |
| 185 |
#| " struct link_map *l_next, *l_prev;\n" |
| 186 |
#| " /* Chain of loaded objects */\n" |
| 187 |
msgid "" |
| 188 |
"struct link_map {\n" |
| 189 |
" ElfW(Addr) l_addr; /* Difference between the\n" |
| 190 |
" address in the ELF file and\n" |
| 191 |
" the address in memory */\n" |
| 192 |
" char *l_name; /* Absolute pathname where\n" |
| 193 |
" object was found */\n" |
| 194 |
" ElfW(Dyn) *l_ld; /* Dynamic section of the\n" |
| 195 |
" shared object */\n" |
| 196 |
" struct link_map *l_next, *l_prev;\n" |
| 197 |
" /* Chain of loaded objects */\n" |
| 198 |
"\\&\n" |
| 199 |
" /* Plus additional fields private to the\n" |
| 200 |
" implementation */\n" |
| 201 |
"};\n" |
| 202 |
msgstr "" |
| 203 |
"struct link_map {\n" |
| 204 |
" ElfW(Addr) l_addr; /* разница между\n" |
| 205 |
" адресом в файле ELF и\n" |
| 206 |
" адресом в памяти */\n" |
| 207 |
" char *l_name; /* абсолютный путь, где \n" |
| 208 |
" был найден объект */\n" |
| 209 |
" ElfW(Dyn) *l_ld; /* динамический раздел\n" |
| 210 |
" общего объекта */\n" |
| 211 |
" struct link_map *l_next, *l_prev;\n" |
| 212 |
" /* цепочка загруженных объектов */\n" |
| 213 |
|
| 214 |
#. type: TP |
| 215 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 216 |
#: opensuse-tumbleweed |
| 217 |
#, fuzzy, no-wrap |
| 218 |
#| msgid "B<RTLD_DI_ORIGIN> (I<char *>)" |
| 219 |
msgid "B<RTLD_DI_ORIGIN> (\\f[I]char *\\fR)" |
| 220 |
msgstr "B<RTLD_DI_ORIGIN> (I<char *>)" |
| 221 |
|
| 222 |
#. type: Plain text |
| 223 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 224 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 225 |
msgid "" |
| 226 |
"Copy the pathname of the origin of the shared object corresponding to " |
| 227 |
"I<handle> to the location pointed to by I<info>." |
| 228 |
msgstr "" |
| 229 |
"Скопировать путь источника общего объекта соответствующего I<handle> в " |
| 230 |
"место, указанное I<info>." |
| 231 |
|
| 232 |
#. type: TP |
| 233 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 234 |
#: opensuse-tumbleweed |
| 235 |
#, fuzzy, no-wrap |
| 236 |
#| msgid "B<RTLD_DI_SERINFO> (I<Dl_serinfo *>)" |
| 237 |
msgid "B<RTLD_DI_SERINFO> (\\f[I]Dl_serinfo *\\fR)" |
| 238 |
msgstr "B<RTLD_DI_SERINFO> (I<Dl_serinfo *>)" |
| 239 |
|
| 240 |
#. type: Plain text |
| 241 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 242 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 243 |
msgid "" |
| 244 |
"Obtain the library search paths for the shared object referred to by " |
| 245 |
"I<handle>. The I<info> argument is a pointer to a I<Dl_serinfo> that " |
| 246 |
"contains the search paths. Because the number of search paths may vary, the " |
| 247 |
"size of the structure pointed to by I<info> can vary. The " |
| 248 |
"B<RTLD_DI_SERINFOSIZE> request described below allows applications to size " |
| 249 |
"the buffer suitably. The caller must perform the following steps:" |
| 250 |
msgstr "" |
| 251 |
"Возвратить пути поиска библиотек общего объекта, на который указывает " |
| 252 |
"I<handle>. Аргумент I<info> — указатель на I<Dl_serinfo> с путями поиска. " |
| 253 |
"Так как количество путей поиска может быть разным, то размер структуры, на " |
| 254 |
"которую указывает I<info>, может быть различным. Запрос " |
| 255 |
"B<RTLD_DI_SERINFOSIZE>, описанный далее, позволяет приложению установить " |
| 256 |
"подходящий размер. Вызывающий должен выполнить следующие шаги:" |
| 257 |
|
| 258 |
#. type: IP |
| 259 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 260 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 261 |
#, no-wrap |
| 262 |
msgid "(1)" |
| 263 |
msgstr "(1)" |
| 264 |
|
| 265 |
#. type: Plain text |
| 266 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 267 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 268 |
msgid "" |
| 269 |
"Use a B<RTLD_DI_SERINFOSIZE> request to populate a I<Dl_serinfo> structure " |
| 270 |
"with the size (I<dls_size>) of the structure needed for the subsequent " |
| 271 |
"B<RTLD_DI_SERINFO> request." |
| 272 |
msgstr "" |
| 273 |
"Использовать запрос B<RTLD_DI_SERINFOSIZE> для заполнения структуры " |
| 274 |
"I<Dl_serinfo> размером (I<dls_size>) структуры, необходимой для последующего " |
| 275 |
"запроса B<RTLD_DI_SERINFO>." |
| 276 |
|
| 277 |
#. type: IP |
| 278 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 279 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 280 |
#, no-wrap |
| 281 |
msgid "(2)" |
| 282 |
msgstr "(2)" |
| 283 |
|
| 284 |
#. type: Plain text |
| 285 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 286 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 287 |
msgid "Allocate a I<Dl_serinfo> buffer of the correct size (I<dls_size>)." |
| 288 |
msgstr "Выделить буфер I<Dl_serinfo> правильного размера (I<dls_size>)." |
| 289 |
|
| 290 |
#. type: IP |
| 291 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 292 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 293 |
#, no-wrap |
| 294 |
msgid "(3)" |
| 295 |
msgstr "(3)" |
| 296 |
|
| 297 |
#. type: Plain text |
| 298 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 299 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 300 |
msgid "" |
| 301 |
"Use a further B<RTLD_DI_SERINFOSIZE> request to populate the I<dls_size> and " |
| 302 |
"I<dls_cnt> fields of the buffer allocated in the previous step." |
| 303 |
msgstr "" |
| 304 |
"Использовать запрос B<RTLD_DI_SERINFOSIZE> для заполнения полей I<dls_size> " |
| 305 |
"и I<dls_cnt> буфера, выделенного на предыдущем шаге." |
| 306 |
|
| 307 |
#. type: IP |
| 308 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 309 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 310 |
#, no-wrap |
| 311 |
msgid "(4)" |
| 312 |
msgstr "(4)" |
| 313 |
|
| 314 |
#. type: Plain text |
| 315 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 316 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 317 |
msgid "Use a B<RTLD_DI_SERINFO> to obtain the library search paths." |
| 318 |
msgstr "Использовать B<RTLD_DI_SERINFO> для получения путей поиска библиотек." |
| 319 |
|
| 320 |
#. type: Plain text |
| 321 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 322 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 323 |
msgid "The I<Dl_serinfo> structure is defined as follows:" |
| 324 |
msgstr "Структура I<Dl_serinfo> определена следующим образом:" |
| 325 |
|
| 326 |
#. type: Plain text |
| 327 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 328 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 329 |
#, fuzzy, no-wrap |
| 330 |
#| msgid "" |
| 331 |
#| "typedef struct {\n" |
| 332 |
#| " size_t dls_size; /* Size in bytes of\n" |
| 333 |
#| " the whole buffer */\n" |
| 334 |
#| " unsigned int dls_cnt; /* Number of elements\n" |
| 335 |
#| " in 'dls_serpath' */\n" |
| 336 |
#| " Dl_serpath dls_serpath[1]; /* Actually longer,\n" |
| 337 |
#| " 'dls_cnt' elements */\n" |
| 338 |
#| "} Dl_serinfo;\n" |
| 339 |
msgid "" |
| 340 |
"typedef struct {\n" |
| 341 |
" size_t dls_size; /* Size in bytes of\n" |
| 342 |
" the whole buffer */\n" |
| 343 |
" unsigned int dls_cnt; /* Number of elements\n" |
| 344 |
" in \\[aq]dls_serpath\\[aq] */\n" |
| 345 |
" Dl_serpath dls_serpath[1]; /* Actually longer,\n" |
| 346 |
" \\[aq]dls_cnt\\[aq] elements */\n" |
| 347 |
"} Dl_serinfo;\n" |
| 348 |
msgstr "" |
| 349 |
"typedef struct {\n" |
| 350 |
" size_t dls_size; /* размер в байтах\n" |
| 351 |
" всего буфера */\n" |
| 352 |
" unsigned int dls_cnt; /* количество элементов\n" |
| 353 |
" в «dls_serpath» */\n" |
| 354 |
" Dl_serpath dls_serpath[1]; /* на самом деле больше,\n" |
| 355 |
" элементы «dls_cnt» */\n" |
| 356 |
"} Dl_serinfo;\n" |
| 357 |
|
| 358 |
#. type: Plain text |
| 359 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 360 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 361 |
msgid "" |
| 362 |
"Each of the I<dls_serpath> elements in the above structure is a structure of " |
| 363 |
"the following form:" |
| 364 |
msgstr "" |
| 365 |
"Каждый из элементов I<dls_serpath>, в упомянутой выше структуре, " |
| 366 |
"представляет собой структуру следующего вида:" |
| 367 |
|
| 368 |
#. type: Plain text |
| 369 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 370 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 371 |
#, no-wrap |
| 372 |
msgid "" |
| 373 |
"typedef struct {\n" |
| 374 |
" char *dls_name; /* Name of library search\n" |
| 375 |
" path directory */\n" |
| 376 |
" unsigned int dls_flags; /* Indicates where this\n" |
| 377 |
" directory came from */\n" |
| 378 |
"} Dl_serpath;\n" |
| 379 |
msgstr "" |
| 380 |
"typedef struct {\n" |
| 381 |
" char *dls_name; /* имя каталога в\n" |
| 382 |
" путях поиска библиотек */\n" |
| 383 |
" unsigned int dls_flags; /* показывает, откуда\n" |
| 384 |
" возник каталог */\n" |
| 385 |
"} Dl_serpath;\n" |
| 386 |
|
| 387 |
#. type: Plain text |
| 388 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 389 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 390 |
msgid "The I<dls_flags> field is currently unused, and always contains zero." |
| 391 |
msgstr "" |
| 392 |
"Поле I<dls_flags> в настоящее время не используется и всегда равно нулю." |
| 393 |
|
| 394 |
#. type: TP |
| 395 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 396 |
#: opensuse-tumbleweed |
| 397 |
#, fuzzy, no-wrap |
| 398 |
#| msgid "B<RTLD_DI_SERINFOSIZE> (I<Dl_serinfo *>)" |
| 399 |
msgid "B<RTLD_DI_SERINFOSIZE> (\\f[I]Dl_serinfo *\\fR)" |
| 400 |
msgstr "B<RTLD_DI_SERINFOSIZE> (I<Dl_serinfo *>)" |
| 401 |
|
| 402 |
#. type: Plain text |
| 403 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 404 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 405 |
msgid "" |
| 406 |
"Populate the I<dls_size> and I<dls_cnt> fields of the I<Dl_serinfo> " |
| 407 |
"structure pointed to by I<info> with values suitable for allocating a buffer " |
| 408 |
"for use in a subsequent B<RTLD_DI_SERINFO> request." |
| 409 |
msgstr "" |
| 410 |
"Заполнить поля I<dls_size> и I<dls_cnt> структуры I<Dl_serinfo>, на которую " |
| 411 |
"указывает I<info>, значениями, подходящими для выделения буфера, который " |
| 412 |
"будет использоваться в последующем запросе B<RTLD_DI_SERINFO>." |
| 413 |
|
| 414 |
#. type: TP |
| 415 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 416 |
#: opensuse-tumbleweed |
| 417 |
#, fuzzy, no-wrap |
| 418 |
#| msgid "B<RTLD_DI_TLS_MODID> (I<size_t *>, since glibc 2.4)" |
| 419 |
msgid "B<RTLD_DI_TLS_MODID> (\\f[I]size_t *\\fR, since glibc 2.4)" |
| 420 |
msgstr "B<RTLD_DI_TLS_MODID> (I<size_t *>, начиная с glibc 2.4)" |
| 421 |
|
| 422 |
#. type: Plain text |
| 423 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 424 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 425 |
msgid "" |
| 426 |
"Obtain the module ID of this shared object's TLS (thread-local storage) " |
| 427 |
"segment, as used in TLS relocations. If this object does not define a TLS " |
| 428 |
"segment, zero is placed in I<*info>." |
| 429 |
msgstr "" |
| 430 |
"Получить ID модуля сегмента TLS (локальное хранилище нити) общего объекта, " |
| 431 |
"которое используется в перемещениях TLS. Если этот объект не задаёт сегмент " |
| 432 |
"TLS, то в I<*info> помещается ноль." |
| 433 |
|
| 434 |
#. type: TP |
| 435 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 436 |
#: opensuse-tumbleweed |
| 437 |
#, fuzzy, no-wrap |
| 438 |
#| msgid "B<RTLD_DI_TLS_DATA> (I<void **>, since glibc 2.4)" |
| 439 |
msgid "B<RTLD_DI_TLS_DATA> (\\f[I]void **\\fR, since glibc 2.4)" |
| 440 |
msgstr "B<RTLD_DI_TLS_DATA> (I<void **>, начиная с glibc 2.4)" |
| 441 |
|
| 442 |
#. type: Plain text |
| 443 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 444 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 445 |
msgid "" |
| 446 |
"Obtain a pointer to the calling thread's TLS block corresponding to this " |
| 447 |
"shared object's TLS segment. If this object does not define a PT_TLS " |
| 448 |
"segment, or if the calling thread has not allocated a block for it, NULL is " |
| 449 |
"placed in I<*info>." |
| 450 |
msgstr "" |
| 451 |
"Получить указатель на блок TLS вызывающей нити, соответствующий этому " |
| 452 |
"сегменту TLS общего объекта. Если этот объект не задаёт сегмент PT_TLS, или " |
| 453 |
"если у вызывающей нити для этого не выделен блок, то в I<*info> помещается " |
| 454 |
"NULL." |
| 455 |
|
| 456 |
#. type: TP |
| 457 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 458 |
#: opensuse-tumbleweed |
| 459 |
#, fuzzy, no-wrap |
| 460 |
#| msgid "B<RTLD_DI_TLS_DATA> (I<void **>, since glibc 2.4)" |
| 461 |
msgid "B<RTLD_DI_PHDR> (\\f[I]const ElfW(Phdr *)\\fR, since glibc 2.34.1)" |
| 462 |
msgstr "B<RTLD_DI_TLS_DATA> (I<void **>, начиная с glibc 2.4)" |
| 463 |
|
| 464 |
#. glibc commit d056c212130280c0a54d9a4f72170ec621b70ce5 (2.36) |
| 465 |
#. glibc commit 28ea43f8d64f0dd1f2de75525157730e1532e600 (2.35.1) |
| 466 |
#. glibc commit 91c2e6c3db44297bf4cb3a2e3c40236c5b6a0b23 (2.34.1) |
| 467 |
#. type: Plain text |
| 468 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 469 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 470 |
msgid "" |
| 471 |
"Obtain the address of this shared object's program header and place it in " |
| 472 |
"I<*info>. This B<dlinfo> call returns the number of program headers in the " |
| 473 |
"shared object." |
| 474 |
msgstr "" |
| 475 |
|
| 476 |
#. type: SH |
| 477 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 478 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 479 |
#, no-wrap |
| 480 |
msgid "RETURN VALUE" |
| 481 |
msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ" |
| 482 |
|
| 483 |
#. type: Plain text |
| 484 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 485 |
#: opensuse-tumbleweed |
| 486 |
#, fuzzy |
| 487 |
#| msgid "" |
| 488 |
#| "On success, B<dlinfo>() returns 0. On failure, it returns -1; the cause " |
| 489 |
#| "of the error can be diagnosed using B<dlerror>(3)." |
| 490 |
msgid "" |
| 491 |
"On success, B<dlinfo>() returns 0 (if not specified explicitly), or a " |
| 492 |
"positive value corresponding to the request. On error, it returns -1; the " |
| 493 |
"error can be diagnosed using B<dlerror>(3)." |
| 494 |
msgstr "" |
| 495 |
"При успешном выполнении B<dlinfo>() возвращает 0. При ошибке возвращается " |
| 496 |
"-1; причину ошибки можно узнать с помощью B<dlerror>(3)." |
| 497 |
|
| 498 |
#. type: SH |
| 499 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 500 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 501 |
#, no-wrap |
| 502 |
msgid "ATTRIBUTES" |
| 503 |
msgstr "АТРИБУТЫ" |
| 504 |
|
| 505 |
#. type: Plain text |
| 506 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 507 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 508 |
msgid "" |
| 509 |
"For an explanation of the terms used in this section, see B<attributes>(7)." |
| 510 |
msgstr "Описание терминов данного раздела смотрите в B<attributes>(7)." |
| 511 |
|
| 512 |
#. type: tbl table |
| 513 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 514 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 515 |
#, no-wrap |
| 516 |
msgid "Interface" |
| 517 |
msgstr "Интерфейс" |
| 518 |
|
| 519 |
#. type: tbl table |
| 520 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 521 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 522 |
#, no-wrap |
| 523 |
msgid "Attribute" |
| 524 |
msgstr "Атрибут" |
| 525 |
|
| 526 |
#. type: tbl table |
| 527 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 528 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 529 |
#, no-wrap |
| 530 |
msgid "Value" |
| 531 |
msgstr "Значение" |
| 532 |
|
| 533 |
#. type: tbl table |
| 534 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 535 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 536 |
#, no-wrap |
| 537 |
msgid ".na\n" |
| 538 |
msgstr ".na\n" |
| 539 |
|
| 540 |
#. type: tbl table |
| 541 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 542 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 543 |
#, no-wrap |
| 544 |
msgid ".nh\n" |
| 545 |
msgstr ".nh\n" |
| 546 |
|
| 547 |
#. type: tbl table |
| 548 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 549 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 550 |
#, no-wrap |
| 551 |
msgid "B<dlinfo>()" |
| 552 |
msgstr "B<dlinfo>()" |
| 553 |
|
| 554 |
#. type: tbl table |
| 555 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 556 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 557 |
#, no-wrap |
| 558 |
msgid "Thread safety" |
| 559 |
msgstr "Безвредность в нитях" |
| 560 |
|
| 561 |
#. type: tbl table |
| 562 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 563 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 564 |
#, no-wrap |
| 565 |
msgid "MT-Safe" |
| 566 |
msgstr "MT-Safe" |
| 567 |
|
| 568 |
#. type: SH |
| 569 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 570 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 571 |
#, no-wrap |
| 572 |
msgid "VERSIONS" |
| 573 |
msgstr "ВЕРСИИ" |
| 574 |
|
| 575 |
#. type: Plain text |
| 576 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 577 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 578 |
#, fuzzy |
| 579 |
#| msgid "" |
| 580 |
#| "This function derives from the Solaris function of the same name and also " |
| 581 |
#| "appears on some other systems. The sets of requests supported by the " |
| 582 |
#| "various implementations overlaps only partially." |
| 583 |
msgid "" |
| 584 |
"The sets of requests supported by the various implementations overlaps only " |
| 585 |
"partially." |
| 586 |
msgstr "" |
| 587 |
"Данная функция произошла от функции Solaris с тем же именем, а также есть в " |
| 588 |
"некоторых других системах. Набор запросов, поддерживаемых различными " |
| 589 |
"реализациями, перекрывается лишь частично." |
| 590 |
|
| 591 |
#. type: SH |
| 592 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 593 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 594 |
#, no-wrap |
| 595 |
msgid "STANDARDS" |
| 596 |
msgstr "СТАНДАРТЫ" |
| 597 |
|
| 598 |
#. type: Plain text |
| 599 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 600 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 601 |
msgid "GNU." |
| 602 |
msgstr "GNU." |
| 603 |
|
| 604 |
#. type: SH |
| 605 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 606 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 607 |
#, no-wrap |
| 608 |
msgid "HISTORY" |
| 609 |
msgstr "ИСТОРИЯ" |
| 610 |
|
| 611 |
#. type: Plain text |
| 612 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 613 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 614 |
msgid "glibc 2.3.3. Solaris." |
| 615 |
msgstr "" |
| 616 |
|
| 617 |
#. type: SH |
| 618 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 619 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 620 |
#, no-wrap |
| 621 |
msgid "EXAMPLES" |
| 622 |
msgstr "ПРИМЕРЫ" |
| 623 |
|
| 624 |
#. type: Plain text |
| 625 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 626 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 627 |
msgid "" |
| 628 |
"The program below opens a shared objects using B<dlopen>(3) and then uses " |
| 629 |
"the B<RTLD_DI_SERINFOSIZE> and B<RTLD_DI_SERINFO> requests to obtain the " |
| 630 |
"library search path list for the library. Here is an example of what we " |
| 631 |
"might see when running the program:" |
| 632 |
msgstr "" |
| 633 |
"Программа, показанная ниже, открывает общие объекты с помощью B<dlopen>(3), " |
| 634 |
"а затем использует запросы B<RTLD_DI_SERINFOSIZE> и B<RTLD_DI_SERINFO> для " |
| 635 |
"получения библиотеки из списка путей поиска библиотек. Пример вывода работы " |
| 636 |
"программы:" |
| 637 |
|
| 638 |
#. type: Plain text |
| 639 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 640 |
#: opensuse-tumbleweed |
| 641 |
#, fuzzy, no-wrap |
| 642 |
#| msgid "" |
| 643 |
#| "$ B<./a.out /lib64/libm.so.6>\n" |
| 644 |
#| "dls_serpath[0].dls_name = /lib64\n" |
| 645 |
#| "dls_serpath[1].dls_name = /usr/lib64\n" |
| 646 |
msgid "" |
| 647 |
"$B< ./a.out /lib64/libm.so.6>;\n" |
| 648 |
"dls_serpath[0].dls_name = /lib64\n" |
| 649 |
"dls_serpath[1].dls_name = /usr/lib64\n" |
| 650 |
msgstr "" |
| 651 |
"$ B<./a.out /lib64/libm.so.6>\n" |
| 652 |
"dls_serpath[0].dls_name = /lib64\n" |
| 653 |
"dls_serpath[1].dls_name = /usr/lib64\n" |
| 654 |
|
| 655 |
#. type: SS |
| 656 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 657 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 658 |
#, no-wrap |
| 659 |
msgid "Program source" |
| 660 |
msgstr "Исходный код программы" |
| 661 |
|
| 662 |
#. type: Plain text |
| 663 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 664 |
#: opensuse-tumbleweed |
| 665 |
#, no-wrap |
| 666 |
msgid "" |
| 667 |
"#define _GNU_SOURCE\n" |
| 668 |
"#include E<lt>dlfcn.hE<gt>\n" |
| 669 |
"#include E<lt>link.hE<gt>\n" |
| 670 |
"#include E<lt>stdio.hE<gt>\n" |
| 671 |
"#include E<lt>stdlib.hE<gt>\n" |
| 672 |
"\\&\n" |
| 673 |
"int\n" |
| 674 |
"main(int argc, char *argv[])\n" |
| 675 |
"{\n" |
| 676 |
" void *handle;\n" |
| 677 |
" Dl_serinfo serinfo;\n" |
| 678 |
" Dl_serinfo *sip;\n" |
| 679 |
"\\&\n" |
| 680 |
" if (argc != 2) {\n" |
| 681 |
" fprintf(stderr, \"Usage: %s E<lt>libpathE<gt>\\[rs]n\", argv[0]);\n" |
| 682 |
" exit(EXIT_FAILURE);\n" |
| 683 |
" }\n" |
| 684 |
"\\&\n" |
| 685 |
" /* Obtain a handle for shared object specified on command line. */\n" |
| 686 |
"\\&\n" |
| 687 |
" handle = dlopen(argv[1], RTLD_NOW);\n" |
| 688 |
" if (handle == NULL) {\n" |
| 689 |
" fprintf(stderr, \"dlopen() failed: %s\\[rs]n\", dlerror());\n" |
| 690 |
" exit(EXIT_FAILURE);\n" |
| 691 |
" }\n" |
| 692 |
"\\&\n" |
| 693 |
" /* Discover the size of the buffer that we must pass to\n" |
| 694 |
" RTLD_DI_SERINFO. */\n" |
| 695 |
"\\&\n" |
| 696 |
" if (dlinfo(handle, RTLD_DI_SERINFOSIZE, &serinfo) == -1) {\n" |
| 697 |
" fprintf(stderr, \"RTLD_DI_SERINFOSIZE failed: %s\\[rs]n\", dlerror());\n" |
| 698 |
" exit(EXIT_FAILURE);\n" |
| 699 |
" }\n" |
| 700 |
"\\&\n" |
| 701 |
" /* Allocate the buffer for use with RTLD_DI_SERINFO. */\n" |
| 702 |
"\\&\n" |
| 703 |
" sip = malloc(serinfo.dls_size);\n" |
| 704 |
" if (sip == NULL) {\n" |
| 705 |
" perror(\"malloc\");\n" |
| 706 |
" exit(EXIT_FAILURE);\n" |
| 707 |
" }\n" |
| 708 |
"\\&\n" |
| 709 |
" /* Initialize the \\[aq]dls_size\\[aq] and \\[aq]dls_cnt\\[aq] fields in the newly\n" |
| 710 |
" allocated buffer. */\n" |
| 711 |
"\\&\n" |
| 712 |
" if (dlinfo(handle, RTLD_DI_SERINFOSIZE, sip) == -1) {\n" |
| 713 |
" fprintf(stderr, \"RTLD_DI_SERINFOSIZE failed: %s\\[rs]n\", dlerror());\n" |
| 714 |
" exit(EXIT_FAILURE);\n" |
| 715 |
" }\n" |
| 716 |
"\\&\n" |
| 717 |
" /* Fetch and print library search list. */\n" |
| 718 |
"\\&\n" |
| 719 |
" if (dlinfo(handle, RTLD_DI_SERINFO, sip) == -1) {\n" |
| 720 |
" fprintf(stderr, \"RTLD_DI_SERINFO failed: %s\\[rs]n\", dlerror());\n" |
| 721 |
" exit(EXIT_FAILURE);\n" |
| 722 |
" }\n" |
| 723 |
"\\&\n" |
| 724 |
" for (size_t j = 0; j E<lt> serinfo.dls_cnt; j++)\n" |
| 725 |
" printf(\"dls_serpath[%zu].dls_name = %s\\[rs]n\",\n" |
| 726 |
" j, sip-E<gt>dls_serpath[j].dls_name);\n" |
| 727 |
"\\&\n" |
| 728 |
" exit(EXIT_SUCCESS);\n" |
| 729 |
"}\n" |
| 730 |
msgstr "" |
| 731 |
|
| 732 |
#. SRC END |
| 733 |
#. type: SH |
| 734 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 735 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 736 |
#, no-wrap |
| 737 |
msgid "SEE ALSO" |
| 738 |
msgstr "СМОТРИТЕ ТАКЖЕ" |
| 739 |
|
| 740 |
#. type: Plain text |
| 741 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 742 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 743 |
msgid "" |
| 744 |
"B<dl_iterate_phdr>(3), B<dladdr>(3), B<dlerror>(3), B<dlopen>(3), " |
| 745 |
"B<dlsym>(3), B<ld.so>(8)" |
| 746 |
msgstr "" |
| 747 |
"B<dl_iterate_phdr>(3), B<dladdr>(3), B<dlerror>(3), B<dlopen>(3), " |
| 748 |
"B<dlsym>(3), B<ld.so>(8)" |
| 749 |
|
| 750 |
#. type: TH |
| 751 |
#: debian-trixie |
| 752 |
#, no-wrap |
| 753 |
msgid "2024-06-15" |
| 754 |
msgstr "15 июня 2024 г." |
| 755 |
|
| 756 |
#. type: TH |
| 757 |
#: debian-trixie |
| 758 |
#, no-wrap |
| 759 |
msgid "Linux man-pages 6.9.1" |
| 760 |
msgstr "Страницы руководства Linux 6.9.1" |
| 761 |
|
| 762 |
#. type: Plain text |
| 763 |
#: debian-trixie |
| 764 |
msgid "Dynamic linking library (I<libdl>, I<-ldl>)" |
| 765 |
msgstr "" |
| 766 |
|
| 767 |
#. type: TP |
| 768 |
#: debian-trixie fedora-44 fedora-rawhide |
| 769 |
#, no-wrap |
| 770 |
msgid "B<RTLD_DI_LMID> (I<Lmid_t *>)" |
| 771 |
msgstr "B<RTLD_DI_LMID> (I<Lmid_t *>)" |
| 772 |
|
| 773 |
#. type: TP |
| 774 |
#: debian-trixie fedora-44 fedora-rawhide |
| 775 |
#, no-wrap |
| 776 |
msgid "B<RTLD_DI_LINKMAP> (I<struct link_map **>)" |
| 777 |
msgstr "B<RTLD_DI_LINKMAP> (I<struct link_map **>)" |
| 778 |
|
| 779 |
#. type: TP |
| 780 |
#: debian-trixie fedora-44 fedora-rawhide |
| 781 |
#, no-wrap |
| 782 |
msgid "B<RTLD_DI_ORIGIN> (I<char *>)" |
| 783 |
msgstr "B<RTLD_DI_ORIGIN> (I<char *>)" |
| 784 |
|
| 785 |
#. type: TP |
| 786 |
#: debian-trixie fedora-44 fedora-rawhide |
| 787 |
#, no-wrap |
| 788 |
msgid "B<RTLD_DI_SERINFO> (I<Dl_serinfo *>)" |
| 789 |
msgstr "B<RTLD_DI_SERINFO> (I<Dl_serinfo *>)" |
| 790 |
|
| 791 |
#. type: TP |
| 792 |
#: debian-trixie fedora-44 fedora-rawhide |
| 793 |
#, no-wrap |
| 794 |
msgid "B<RTLD_DI_SERINFOSIZE> (I<Dl_serinfo *>)" |
| 795 |
msgstr "B<RTLD_DI_SERINFOSIZE> (I<Dl_serinfo *>)" |
| 796 |
|
| 797 |
#. type: TP |
| 798 |
#: debian-trixie fedora-44 fedora-rawhide |
| 799 |
#, no-wrap |
| 800 |
msgid "B<RTLD_DI_TLS_MODID> (I<size_t *>, since glibc 2.4)" |
| 801 |
msgstr "B<RTLD_DI_TLS_MODID> (I<size_t *>, начиная с glibc 2.4)" |
| 802 |
|
| 803 |
#. type: TP |
| 804 |
#: debian-trixie fedora-44 fedora-rawhide |
| 805 |
#, no-wrap |
| 806 |
msgid "B<RTLD_DI_TLS_DATA> (I<void **>, since glibc 2.4)" |
| 807 |
msgstr "B<RTLD_DI_TLS_DATA> (I<void **>, начиная с glibc 2.4)" |
| 808 |
|
| 809 |
#. type: Plain text |
| 810 |
#: debian-trixie |
| 811 |
msgid "" |
| 812 |
"On success, B<dlinfo>() returns 0. On failure, it returns -1; the cause of " |
| 813 |
"the error can be diagnosed using B<dlerror>(3)." |
| 814 |
msgstr "" |
| 815 |
"При успешном выполнении B<dlinfo>() возвращает 0. При ошибке возвращается " |
| 816 |
"-1; причину ошибки можно узнать с помощью B<dlerror>(3)." |
| 817 |
|
| 818 |
#. type: Plain text |
| 819 |
#: debian-trixie fedora-44 fedora-rawhide |
| 820 |
#, no-wrap |
| 821 |
msgid "" |
| 822 |
"$ B<./a.out /lib64/libm.so.6>\n" |
| 823 |
"dls_serpath[0].dls_name = /lib64\n" |
| 824 |
"dls_serpath[1].dls_name = /usr/lib64\n" |
| 825 |
msgstr "" |
| 826 |
"$ B<./a.out /lib64/libm.so.6>\n" |
| 827 |
"dls_serpath[0].dls_name = /lib64\n" |
| 828 |
"dls_serpath[1].dls_name = /usr/lib64\n" |
| 829 |
|
| 830 |
#. type: Plain text |
| 831 |
#: debian-trixie fedora-44 fedora-rawhide |
| 832 |
#, no-wrap |
| 833 |
msgid "" |
| 834 |
"#define _GNU_SOURCE\n" |
| 835 |
"#include E<lt>dlfcn.hE<gt>\n" |
| 836 |
"#include E<lt>link.hE<gt>\n" |
| 837 |
"#include E<lt>stdio.hE<gt>\n" |
| 838 |
"#include E<lt>stdlib.hE<gt>\n" |
| 839 |
"\\&\n" |
| 840 |
"int\n" |
| 841 |
"main(int argc, char *argv[])\n" |
| 842 |
"{\n" |
| 843 |
" void *handle;\n" |
| 844 |
" Dl_serinfo serinfo;\n" |
| 845 |
" Dl_serinfo *sip;\n" |
| 846 |
"\\&\n" |
| 847 |
" if (argc != 2) {\n" |
| 848 |
" fprintf(stderr, \"Usage: %s E<lt>libpathE<gt>\\[rs]n\", argv[0]);\n" |
| 849 |
" exit(EXIT_FAILURE);\n" |
| 850 |
" }\n" |
| 851 |
"\\&\n" |
| 852 |
" /* Obtain a handle for shared object specified on command line. */\n" |
| 853 |
"\\&\n" |
| 854 |
" handle = dlopen(argv[1], RTLD_NOW);\n" |
| 855 |
" if (handle == NULL) {\n" |
| 856 |
" fprintf(stderr, \"dlopen() failed: %s\\[rs]n\", dlerror());\n" |
| 857 |
" exit(EXIT_FAILURE);\n" |
| 858 |
" }\n" |
| 859 |
"\\&\n" |
| 860 |
" /* Discover the size of the buffer that we must pass to\n" |
| 861 |
" RTLD_DI_SERINFO. */\n" |
| 862 |
"\\&\n" |
| 863 |
" if (dlinfo(handle, RTLD_DI_SERINFOSIZE, &serinfo) == -1) {\n" |
| 864 |
" fprintf(stderr, \"RTLD_DI_SERINFOSIZE failed: %s\\[rs]n\", dlerror());\n" |
| 865 |
" exit(EXIT_FAILURE);\n" |
| 866 |
" }\n" |
| 867 |
"\\&\n" |
| 868 |
" /* Allocate the buffer for use with RTLD_DI_SERINFO. */\n" |
| 869 |
"\\&\n" |
| 870 |
" sip = malloc(serinfo.dls_size);\n" |
| 871 |
" if (sip == NULL) {\n" |
| 872 |
" perror(\"malloc\");\n" |
| 873 |
" exit(EXIT_FAILURE);\n" |
| 874 |
" }\n" |
| 875 |
"\\&\n" |
| 876 |
" /* Initialize the \\[aq]dls_size\\[aq] and \\[aq]dls_cnt\\[aq] fields in the newly\n" |
| 877 |
" allocated buffer. */\n" |
| 878 |
"\\&\n" |
| 879 |
" if (dlinfo(handle, RTLD_DI_SERINFOSIZE, sip) == -1) {\n" |
| 880 |
" fprintf(stderr, \"RTLD_DI_SERINFOSIZE failed: %s\\[rs]n\", dlerror());\n" |
| 881 |
" exit(EXIT_FAILURE);\n" |
| 882 |
" }\n" |
| 883 |
"\\&\n" |
| 884 |
" /* Fetch and print library search list. */\n" |
| 885 |
"\\&\n" |
| 886 |
" if (dlinfo(handle, RTLD_DI_SERINFO, sip) == -1) {\n" |
| 887 |
" fprintf(stderr, \"RTLD_DI_SERINFO failed: %s\\[rs]n\", dlerror());\n" |
| 888 |
" exit(EXIT_FAILURE);\n" |
| 889 |
" }\n" |
| 890 |
"\\&\n" |
| 891 |
" for (size_t j = 0; j E<lt> serinfo.dls_cnt; j++)\n" |
| 892 |
" printf(\"dls_serpath[%zu].dls_name = %s\\[rs]n\",\n" |
| 893 |
" j, sip-E<gt>dls_serpath[j].dls_name);\n" |
| 894 |
"\\&\n" |
| 895 |
" exit(EXIT_SUCCESS);\n" |
| 896 |
"}\n" |
| 897 |
msgstr "" |
| 898 |
|
| 899 |
#. type: TH |
| 900 |
#: fedora-44 fedora-rawhide |
| 901 |
#, no-wrap |
| 902 |
msgid "2024-08-28" |
| 903 |
msgstr "28 августа 2024 г." |
| 904 |
|
| 905 |
#. type: TH |
| 906 |
#: fedora-44 fedora-rawhide |
| 907 |
#, no-wrap |
| 908 |
msgid "Linux man-pages 6.13" |
| 909 |
msgstr "Страницы руководства Linux 6.13" |
| 910 |
|
| 911 |
#. type: TP |
| 912 |
#: fedora-44 fedora-rawhide |
| 913 |
#, fuzzy, no-wrap |
| 914 |
#| msgid "B<RTLD_DI_TLS_DATA> (I<void **>, since glibc 2.4)" |
| 915 |
msgid "B<RTLD_DI_PHDR> (I<const ElfW(Phdr *)>, since glibc 2.34.1)" |
| 916 |
msgstr "B<RTLD_DI_TLS_DATA> (I<void **>, начиная с glibc 2.4)" |
| 917 |
|
| 918 |
#. type: Plain text |
| 919 |
#: fedora-44 fedora-rawhide |
| 920 |
#, fuzzy |
| 921 |
#| msgid "" |
| 922 |
#| "On success, B<dlinfo>() returns 0. On failure, it returns -1; the cause " |
| 923 |
#| "of the error can be diagnosed using B<dlerror>(3)." |
| 924 |
msgid "" |
| 925 |
"On success, B<dlinfo>() returns 0 (if not specified explicitly), or a " |
| 926 |
"positive value corresponding to the request. On failure, it returns -1; the " |
| 927 |
"error can be diagnosed using B<dlerror>(3)." |
| 928 |
msgstr "" |
| 929 |
"При успешном выполнении B<dlinfo>() возвращает 0. При ошибке возвращается " |
| 930 |
"-1; причину ошибки можно узнать с помощью B<dlerror>(3)." |
| 931 |
|
| 932 |
#. type: TH |
| 933 |
#: mageia-cauldron |
| 934 |
#, no-wrap |
| 935 |
msgid "Linux man-pages 6.17" |
| 936 |
msgstr "Страницы руководства Linux 6.17" |
| 937 |
|
| 938 |
#. type: TH |
| 939 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 940 |
#, no-wrap |
| 941 |
msgid "Linux man-pages (unreleased)" |
| 942 |
msgstr "Страницы руководства Linux (не выпущены)" |