| 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 |
# Artyom Kunyov <[email protected]>, 2012. |
| 5 |
# Azamat Hackimov <[email protected]>, 2012. |
| 6 |
# Dmitriy Ovchinnikov <[email protected]>, 2012. |
| 7 |
# Dmitry Bolkhovskikh <[email protected]>, 2017. |
| 8 |
# ITriskTI <[email protected]>, 2012. |
| 9 |
# Yuri Kozlov <[email protected]>, 2011-2019. |
| 10 |
# Иван Павлов <[email protected]>, 2017. |
| 11 |
msgid "" |
| 12 |
msgstr "" |
| 13 |
"Project-Id-Version: manpages-l10n\n" |
| 14 |
"POT-Creation-Date: 2026-06-05 06:19+0200\n" |
| 15 |
"PO-Revision-Date: 2024-12-21 19:49+0300\n" |
| 16 |
"Last-Translator: Yuri Kozlov <[email protected]>\n" |
| 17 |
"Language-Team: Russian <[email protected]>\n" |
| 18 |
"Language: ru\n" |
| 19 |
"MIME-Version: 1.0\n" |
| 20 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 21 |
"Content-Transfer-Encoding: 8bit\n" |
| 22 |
"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " |
| 23 |
"n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || " |
| 24 |
"(n%100>=11 && n%100<=14)? 2 : 3);\n" |
| 25 |
|
| 26 |
#. type: tbl table |
| 27 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 28 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 29 |
#, no-wrap |
| 30 |
msgid "basename" |
| 31 |
msgstr "basename" |
| 32 |
|
| 33 |
#. type: TH |
| 34 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 35 |
#: opensuse-tumbleweed |
| 36 |
#, no-wrap |
| 37 |
msgid "2026-02-08" |
| 38 |
msgstr "8 февраля 2026 г." |
| 39 |
|
| 40 |
#. type: TH |
| 41 |
#: archlinux debian-unstable |
| 42 |
#, fuzzy, no-wrap |
| 43 |
#| msgid "Linux man-pages 6.17" |
| 44 |
msgid "Linux man-pages 6.18" |
| 45 |
msgstr "Справочные страницы Linux 6.17" |
| 46 |
|
| 47 |
#. type: SH |
| 48 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 49 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 50 |
#, no-wrap |
| 51 |
msgid "NAME" |
| 52 |
msgstr "НАИМЕНОВАНИЕ" |
| 53 |
|
| 54 |
#. type: Plain text |
| 55 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 56 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 57 |
msgid "basename, dirname - parse pathname components" |
| 58 |
msgstr "basename, dirname - разделяет путь на компоненты" |
| 59 |
|
| 60 |
#. type: SH |
| 61 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 62 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 63 |
#, no-wrap |
| 64 |
msgid "LIBRARY" |
| 65 |
msgstr "БИБЛИОТЕКА" |
| 66 |
|
| 67 |
#. type: Plain text |
| 68 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 69 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 70 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 71 |
msgstr "Стандартная библиотека языка C (I<libc>,\\ I<-lc>)" |
| 72 |
|
| 73 |
#. type: SH |
| 74 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 75 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 76 |
#, no-wrap |
| 77 |
msgid "SYNOPSIS" |
| 78 |
msgstr "СИНТАКСИС" |
| 79 |
|
| 80 |
#. type: Plain text |
| 81 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 82 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 83 |
#, no-wrap |
| 84 |
msgid "B<#include E<lt>libgen.hE<gt>>\n" |
| 85 |
msgstr "B<#include E<lt>libgen.hE<gt>>\n" |
| 86 |
|
| 87 |
#. type: Plain text |
| 88 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 89 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 90 |
#, fuzzy, no-wrap |
| 91 |
#| msgid "B<char *basename(char *>I<path>B<);>\n" |
| 92 |
msgid "" |
| 93 |
"B<char *dirname(char *>I<path>B<);>\n" |
| 94 |
"B<char *basename(char *>I<path>B<);>\n" |
| 95 |
msgstr "B<char *basename(char *>I<path>B<);>\n" |
| 96 |
|
| 97 |
#. type: SH |
| 98 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 99 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 100 |
#, no-wrap |
| 101 |
msgid "DESCRIPTION" |
| 102 |
msgstr "ОПИСАНИЕ" |
| 103 |
|
| 104 |
#. type: Plain text |
| 105 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 106 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 107 |
#, fuzzy |
| 108 |
#| msgid "" |
| 109 |
#| "Warning: there are two different functions B<basename>() - see below." |
| 110 |
msgid "Warning: there are two different functions B<basename>(); see below." |
| 111 |
msgstr "" |
| 112 |
"Предупреждение: есть две разных функции B<basename>() — смотрите далее." |
| 113 |
|
| 114 |
#. type: Plain text |
| 115 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 116 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 117 |
#, fuzzy |
| 118 |
#| msgid "" |
| 119 |
#| "The functions B<dirname>() and B<basename>() break a null-terminated " |
| 120 |
#| "pathname string into directory and filename components. In the usual " |
| 121 |
#| "case, B<dirname>() returns the string up to, but not including, the " |
| 122 |
#| "final \\(aq/\\(aq, and B<basename>() returns the component following the " |
| 123 |
#| "final \\(aq/\\(aq. Trailing \\(aq/\\(aq characters are not counted as " |
| 124 |
#| "part of the pathname." |
| 125 |
msgid "" |
| 126 |
"The functions B<dirname>() and B<basename>() break a null-terminated " |
| 127 |
"pathname string into directory and filename components. In the usual case, " |
| 128 |
"B<dirname>() returns the string up to, but not including, the final \\[aq]/" |
| 129 |
"\\[aq], and B<basename>() returns the component following the final \\[aq]/" |
| 130 |
"\\[aq]. Trailing \\[aq]/\\[aq] characters are not counted as part of the " |
| 131 |
"pathname." |
| 132 |
msgstr "" |
| 133 |
"Функция B<dirname>() и B<basename>() разделяют строку с путём, " |
| 134 |
"заканчивающуюся null, на каталог и имя файла. Обычно, B<dirname>() " |
| 135 |
"возвращает строку до последнего символа \\(aq/\\(aq, не включая его, а " |
| 136 |
"B<basename>() возвращает часть, следующую за последним символов \\(aq/\\(aq. " |
| 137 |
"Конечные символы \\(aq/\\(aq не считаются частью пути." |
| 138 |
|
| 139 |
#. type: Plain text |
| 140 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 141 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 142 |
msgid "" |
| 143 |
"If I<path> does not contain a slash, B<dirname>() returns the string \".\" " |
| 144 |
"while B<basename>() returns a copy of I<path>. If I<path> is the string \"/" |
| 145 |
"\", then both B<dirname>() and B<basename>() return the string \"/\". If " |
| 146 |
"I<path> is a null pointer or points to an empty string, then both " |
| 147 |
"B<dirname>() and B<basename>() return the string \".\"." |
| 148 |
msgstr "" |
| 149 |
"Если I<path> не содержит косую черту, то B<dirname>() возвращает строку «.», " |
| 150 |
"а B<basename>() возвращает копию I<path>. Если строка I<path> равна «/», то " |
| 151 |
"B<dirname>() и B<basename>() возвращают строку «/». Если значение I<path> " |
| 152 |
"равно указателю null или указывает на пустую строку, то B<dirname>() и " |
| 153 |
"B<basename>() возвращают строку «.»." |
| 154 |
|
| 155 |
#. type: Plain text |
| 156 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 157 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 158 |
msgid "" |
| 159 |
"Concatenating the string returned by B<dirname>(), a \"/\", and the string " |
| 160 |
"returned by B<basename>() yields a complete pathname." |
| 161 |
msgstr "" |
| 162 |
"Если объединить строку, возвращаемую B<dirname>(), «/» и строку, " |
| 163 |
"возвращаемую B<basename>(), то получится первоначальный путь." |
| 164 |
|
| 165 |
#. type: Plain text |
| 166 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 167 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 168 |
msgid "" |
| 169 |
"Both B<dirname>() and B<basename>() may modify the contents of I<path>, so " |
| 170 |
"it may be desirable to pass a copy when calling one of these functions." |
| 171 |
msgstr "" |
| 172 |
"Функции B<dirname>() и B<basename>() могут изменить содержимое I<path>, " |
| 173 |
"поэтому желательно передавать копию строки при их вызове." |
| 174 |
|
| 175 |
#. type: Plain text |
| 176 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 177 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 178 |
msgid "" |
| 179 |
"These functions may return pointers to statically allocated memory which may " |
| 180 |
"be overwritten by subsequent calls. Alternatively, they may return a " |
| 181 |
"pointer to some part of I<path>, so that the string referred to by I<path> " |
| 182 |
"should not be modified or freed until the pointer returned by the function " |
| 183 |
"is no longer required." |
| 184 |
msgstr "" |
| 185 |
"Данные функции могут возвращать указатели на статически выделенную память, " |
| 186 |
"которая может измениться при последующих вызовах. Или же они могут " |
| 187 |
"возвращать указатель на часть I<path>, поэтому строка, на которую ссылается " |
| 188 |
"I<path>, не должна изменяться или освобождаться до тех пор, пока указатель, " |
| 189 |
"возвращаемый функцией, станет ненужным." |
| 190 |
|
| 191 |
#. type: Plain text |
| 192 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 193 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 194 |
msgid "" |
| 195 |
"The following list of examples (taken from SUSv2) shows the strings " |
| 196 |
"returned by B<dirname>() and B<basename>() for different paths:" |
| 197 |
msgstr "" |
| 198 |
"В следующих примерах (взяты из SUSv2) показаны строки, возвращаемые " |
| 199 |
"B<dirname>() и B<basename>() для различных путей:" |
| 200 |
|
| 201 |
#. type: tbl table |
| 202 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 203 |
#: opensuse-tumbleweed |
| 204 |
#, fuzzy, no-wrap |
| 205 |
#| msgid "path " |
| 206 |
msgid "path" |
| 207 |
msgstr "путь " |
| 208 |
|
| 209 |
#. type: tbl table |
| 210 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 211 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 212 |
#, no-wrap |
| 213 |
msgid "dirname" |
| 214 |
msgstr "dirname" |
| 215 |
|
| 216 |
#. type: tbl table |
| 217 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 218 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 219 |
#, no-wrap |
| 220 |
msgid "/usr/lib" |
| 221 |
msgstr "/usr/lib" |
| 222 |
|
| 223 |
#. type: tbl table |
| 224 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 225 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 226 |
#, no-wrap |
| 227 |
msgid "/usr" |
| 228 |
msgstr "/usr" |
| 229 |
|
| 230 |
#. type: tbl table |
| 231 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 232 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 233 |
#, no-wrap |
| 234 |
msgid "lib" |
| 235 |
msgstr "lib" |
| 236 |
|
| 237 |
#. type: tbl table |
| 238 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 239 |
#: opensuse-tumbleweed |
| 240 |
#, no-wrap |
| 241 |
msgid "/usr/" |
| 242 |
msgstr "/usr/" |
| 243 |
|
| 244 |
#. type: tbl table |
| 245 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 246 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 247 |
#, no-wrap |
| 248 |
msgid "/" |
| 249 |
msgstr "/" |
| 250 |
|
| 251 |
#. type: tbl table |
| 252 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 253 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 254 |
#, no-wrap |
| 255 |
msgid "usr" |
| 256 |
msgstr "usr" |
| 257 |
|
| 258 |
#. type: tbl table |
| 259 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 260 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 261 |
#, no-wrap |
| 262 |
msgid "." |
| 263 |
msgstr "." |
| 264 |
|
| 265 |
#. type: tbl table |
| 266 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 267 |
#: opensuse-tumbleweed |
| 268 |
#, fuzzy, no-wrap |
| 269 |
#| msgid "\\&..." |
| 270 |
msgid "\\&." |
| 271 |
msgstr "\\&..." |
| 272 |
|
| 273 |
#. type: tbl table |
| 274 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 275 |
#: opensuse-tumbleweed |
| 276 |
#, fuzzy, no-wrap |
| 277 |
#| msgid "\\&..." |
| 278 |
msgid "\\&.." |
| 279 |
msgstr "\\&..." |
| 280 |
|
| 281 |
#. type: tbl table |
| 282 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 283 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 284 |
#, no-wrap |
| 285 |
msgid ".." |
| 286 |
msgstr ".." |
| 287 |
|
| 288 |
#. type: SH |
| 289 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 290 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 291 |
#, no-wrap |
| 292 |
msgid "RETURN VALUE" |
| 293 |
msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ" |
| 294 |
|
| 295 |
#. type: Plain text |
| 296 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 297 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 298 |
msgid "" |
| 299 |
"Both B<dirname>() and B<basename>() return pointers to null-terminated " |
| 300 |
"strings. (Do not pass these pointers to B<free>(3).)" |
| 301 |
msgstr "" |
| 302 |
"Функции B<dirname>() и B<basename>() возвращают указатели на строки, " |
| 303 |
"оканчивающиеся null (не передавайте эти указатели B<free>(3))." |
| 304 |
|
| 305 |
#. type: SH |
| 306 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 307 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 308 |
#, no-wrap |
| 309 |
msgid "ATTRIBUTES" |
| 310 |
msgstr "АТРИБУТЫ" |
| 311 |
|
| 312 |
#. type: Plain text |
| 313 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 314 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 315 |
msgid "" |
| 316 |
"For an explanation of the terms used in this section, see B<attributes>(7)." |
| 317 |
msgstr "Описание терминов данного раздела смотрите в B<attributes>(7)." |
| 318 |
|
| 319 |
#. type: tbl table |
| 320 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 321 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 322 |
#, no-wrap |
| 323 |
msgid "Interface" |
| 324 |
msgstr "Интерфейс" |
| 325 |
|
| 326 |
#. type: tbl table |
| 327 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 328 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 329 |
#, no-wrap |
| 330 |
msgid "Attribute" |
| 331 |
msgstr "Атрибут" |
| 332 |
|
| 333 |
#. type: tbl table |
| 334 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 335 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 336 |
#, no-wrap |
| 337 |
msgid "Value" |
| 338 |
msgstr "Значение" |
| 339 |
|
| 340 |
#. type: tbl table |
| 341 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 342 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 343 |
#, no-wrap |
| 344 |
msgid ".na\n" |
| 345 |
msgstr ".na\n" |
| 346 |
|
| 347 |
#. type: tbl table |
| 348 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 349 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 350 |
#, no-wrap |
| 351 |
msgid ".nh\n" |
| 352 |
msgstr ".nh\n" |
| 353 |
|
| 354 |
#. type: tbl table |
| 355 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 356 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 357 |
#, no-wrap |
| 358 |
msgid "" |
| 359 |
"B<basename>(),\n" |
| 360 |
"B<dirname>()" |
| 361 |
msgstr "" |
| 362 |
"B<basename>(),\n" |
| 363 |
"B<dirname>()" |
| 364 |
|
| 365 |
#. type: tbl table |
| 366 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 367 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 368 |
#, no-wrap |
| 369 |
msgid "Thread safety" |
| 370 |
msgstr "Безвредность в нитях" |
| 371 |
|
| 372 |
#. type: tbl table |
| 373 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 374 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 375 |
#, no-wrap |
| 376 |
msgid "MT-Safe" |
| 377 |
msgstr "MT-Safe" |
| 378 |
|
| 379 |
#. type: SH |
| 380 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 381 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 382 |
#, no-wrap |
| 383 |
msgid "VERSIONS" |
| 384 |
msgstr "ВЕРСИИ" |
| 385 |
|
| 386 |
#. type: Plain text |
| 387 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 388 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 389 |
msgid "" |
| 390 |
"There are two different versions of B<basename>() - the POSIX version " |
| 391 |
"described above, and the GNU version, which one gets after" |
| 392 |
msgstr "" |
| 393 |
"Существует две различные версии B<basename>() — версия POSIX, описанная " |
| 394 |
"выше, и версия GNU, которая описана далее" |
| 395 |
|
| 396 |
#. type: Plain text |
| 397 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 398 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 399 |
#, no-wrap |
| 400 |
msgid "" |
| 401 |
"B< #define _GNU_SOURCE> /* See feature_test_macros(7) */\n" |
| 402 |
"B<#include E<lt>string.hE<gt>>\n" |
| 403 |
msgstr "" |
| 404 |
"B< #define _GNU_SOURCE> /* смотрите feature_test_macros(7) */\n" |
| 405 |
"B<#include E<lt>string.hE<gt>>\n" |
| 406 |
|
| 407 |
#. type: Plain text |
| 408 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 409 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 410 |
msgid "" |
| 411 |
"The GNU version never modifies its argument, and returns the empty string " |
| 412 |
"when I<path> has a trailing slash, and in particular also when it is \"/\". " |
| 413 |
"There is no GNU version of B<dirname>()." |
| 414 |
msgstr "" |
| 415 |
"Версия GNU никогда не изменяет свои аргументы и возвращает пустую строку, " |
| 416 |
"если I<path> оканчивается символом косой черты, а в частности, если значение " |
| 417 |
"равно «/». Версии GNU для B<dirname>() не существует." |
| 418 |
|
| 419 |
#. type: Plain text |
| 420 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 421 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 422 |
msgid "" |
| 423 |
"With glibc, one gets the POSIX version of B<basename>() when " |
| 424 |
"I<E<lt>libgen.hE<gt>> is included, and the GNU version otherwise." |
| 425 |
msgstr "" |
| 426 |
"Если в исходный код включён файл I<E<lt>libgen.hE<gt>>, то из glibc " |
| 427 |
"используется версия B<basename>(), описанная в POSIX, иначе — версия GNU." |
| 428 |
|
| 429 |
#. type: SH |
| 430 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 431 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 432 |
#, no-wrap |
| 433 |
msgid "STANDARDS" |
| 434 |
msgstr "СТАНДАРТЫ" |
| 435 |
|
| 436 |
#. type: Plain text |
| 437 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 438 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 439 |
msgid "POSIX.1-2008." |
| 440 |
msgstr "POSIX.1-2008." |
| 441 |
|
| 442 |
#. type: SH |
| 443 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 444 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 445 |
#, no-wrap |
| 446 |
msgid "HISTORY" |
| 447 |
msgstr "ИСТОРИЯ" |
| 448 |
|
| 449 |
#. type: Plain text |
| 450 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 451 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 452 |
msgid "POSIX.1-2001." |
| 453 |
msgstr "POSIX.1-2001." |
| 454 |
|
| 455 |
#. type: SH |
| 456 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 457 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 458 |
#, no-wrap |
| 459 |
msgid "BUGS" |
| 460 |
msgstr "ПРОГРАММНЫЕ ОШИБКИ" |
| 461 |
|
| 462 |
#. type: Plain text |
| 463 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 464 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 465 |
msgid "" |
| 466 |
"In the glibc implementation, the POSIX versions of these functions modify " |
| 467 |
"the I<path> argument, and segfault when called with a static string such as " |
| 468 |
"\"/usr/\"." |
| 469 |
msgstr "" |
| 470 |
"Функции версии POSIX, реализованные в glibc, изменяют аргумент I<path>, что " |
| 471 |
"приводит к ошибки сегментации при их вызове со статической строкой вида «/" |
| 472 |
"usr/»." |
| 473 |
|
| 474 |
#. type: Plain text |
| 475 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 476 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 477 |
#, fuzzy |
| 478 |
#| msgid "" |
| 479 |
#| "Before glibc 2.2.1, the glibc version of B<dirname>() did not correctly " |
| 480 |
#| "handle pathnames with trailing \\(aq/\\(aq characters, and generated a " |
| 481 |
#| "segfault if given a NULL argument." |
| 482 |
msgid "" |
| 483 |
"Before glibc 2.2.1, the glibc version of B<dirname>() did not correctly " |
| 484 |
"handle pathnames with trailing \\[aq]/\\[aq] characters, and generated a " |
| 485 |
"segfault if given a NULL argument." |
| 486 |
msgstr "" |
| 487 |
"До glibc 2.2.1, функция B<dirname>() некорректно обрабатывала пути, " |
| 488 |
"оканчивающиеся символами \\(aq/\\(aq, а также вызывало ошибку " |
| 489 |
"сегментирования, если указывался аргумент со значением NULL." |
| 490 |
|
| 491 |
#. type: SH |
| 492 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 493 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 494 |
#, no-wrap |
| 495 |
msgid "EXAMPLES" |
| 496 |
msgstr "ПРИМЕРЫ" |
| 497 |
|
| 498 |
#. type: Plain text |
| 499 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 500 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 501 |
msgid "" |
| 502 |
"The following code snippet demonstrates the use of B<basename>() and " |
| 503 |
"B<dirname>():" |
| 504 |
msgstr "" |
| 505 |
"Следующий пример кода демонстрирует использование B<basename>() и " |
| 506 |
"B<dirname>():" |
| 507 |
|
| 508 |
#. type: Plain text |
| 509 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 510 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 511 |
#, fuzzy, no-wrap |
| 512 |
#| msgid "" |
| 513 |
#| "dirc = strdup(path);\n" |
| 514 |
#| "basec = strdup(path);\n" |
| 515 |
#| "dname = dirname(dirc);\n" |
| 516 |
#| "bname = basename(basec);\n" |
| 517 |
#| "printf(\"dirname=%s, basename=%s\\en\", dname, bname);\n" |
| 518 |
msgid "" |
| 519 |
"char *dirc, *basec, *bname, *dname;\n" |
| 520 |
"char *path = \"/etc/passwd\";\n" |
| 521 |
"\\&\n" |
| 522 |
"dirc = strdup(path);\n" |
| 523 |
"basec = strdup(path);\n" |
| 524 |
"dname = dirname(dirc);\n" |
| 525 |
"bname = basename(basec);\n" |
| 526 |
"printf(\"dirname=%s, basename=%s\\[rs]n\", dname, bname);\n" |
| 527 |
msgstr "" |
| 528 |
"dirc = strdup(path);\n" |
| 529 |
"basec = strdup(path);\n" |
| 530 |
"dname = dirname(dirc);\n" |
| 531 |
"bname = basename(basec);\n" |
| 532 |
"printf(\"dirname=%s, basename=%s\\en\", dname, bname);\n" |
| 533 |
|
| 534 |
#. type: SH |
| 535 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 536 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 537 |
#, no-wrap |
| 538 |
msgid "SEE ALSO" |
| 539 |
msgstr "СМОТРИТЕ ТАКЖЕ" |
| 540 |
|
| 541 |
#. type: Plain text |
| 542 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 543 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 544 |
msgid "B<basename>(1), B<dirname>(1)" |
| 545 |
msgstr "B<basename>(1), B<dirname>(1)" |
| 546 |
|
| 547 |
#. type: TH |
| 548 |
#: debian-trixie |
| 549 |
#, no-wrap |
| 550 |
msgid "2024-06-15" |
| 551 |
msgstr "15 июня 2024 г." |
| 552 |
|
| 553 |
#. type: TH |
| 554 |
#: debian-trixie |
| 555 |
#, no-wrap |
| 556 |
msgid "Linux man-pages 6.9.1" |
| 557 |
msgstr "Страницы руководства Linux 6.9.1" |
| 558 |
|
| 559 |
#. type: Plain text |
| 560 |
#: debian-trixie |
| 561 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 562 |
msgstr "Стандартная библиотека языка C (I<libc>, I<-lc>)" |
| 563 |
|
| 564 |
#. type: tbl table |
| 565 |
#: debian-trixie fedora-44 fedora-rawhide |
| 566 |
#, no-wrap |
| 567 |
msgid "path " |
| 568 |
msgstr "путь " |
| 569 |
|
| 570 |
#. type: tbl table |
| 571 |
#: debian-trixie fedora-44 fedora-rawhide |
| 572 |
#, no-wrap |
| 573 |
msgid "/usr/ " |
| 574 |
msgstr "/usr/ " |
| 575 |
|
| 576 |
#. type: tbl table |
| 577 |
#: debian-trixie fedora-44 fedora-rawhide |
| 578 |
#, no-wrap |
| 579 |
msgid "usr " |
| 580 |
msgstr "usr " |
| 581 |
|
| 582 |
#. type: tbl table |
| 583 |
#: debian-trixie fedora-44 fedora-rawhide |
| 584 |
#, no-wrap |
| 585 |
msgid "/ " |
| 586 |
msgstr "/ " |
| 587 |
|
| 588 |
#. type: tbl table |
| 589 |
#: debian-trixie fedora-44 fedora-rawhide |
| 590 |
#, no-wrap |
| 591 |
msgid "\\&. " |
| 592 |
msgstr "\\&. " |
| 593 |
|
| 594 |
#. type: tbl table |
| 595 |
#: debian-trixie fedora-44 fedora-rawhide |
| 596 |
#, no-wrap |
| 597 |
msgid "\\&.. " |
| 598 |
msgstr "\\&.. " |
| 599 |
|
| 600 |
#. type: TH |
| 601 |
#: fedora-44 fedora-rawhide |
| 602 |
#, no-wrap |
| 603 |
msgid "2024-07-23" |
| 604 |
msgstr "23 июля 2024 г." |
| 605 |
|
| 606 |
#. type: TH |
| 607 |
#: fedora-44 fedora-rawhide |
| 608 |
#, no-wrap |
| 609 |
msgid "Linux man-pages 6.13" |
| 610 |
msgstr "Страницы руководства Linux 6.13" |
| 611 |
|
| 612 |
#. type: TH |
| 613 |
#: mageia-cauldron |
| 614 |
#, no-wrap |
| 615 |
msgid "Linux man-pages 6.17" |
| 616 |
msgstr "Страницы руководства Linux 6.17" |
| 617 |
|
| 618 |
#. type: TH |
| 619 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 620 |
#, no-wrap |
| 621 |
msgid "Linux man-pages (unreleased)" |
| 622 |
msgstr "Страницы руководства Linux (не выпущены)" |