Debian Codegraph @

po/ru/man2/truncate.2.po

raw
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 # Azamat Hackimov <[email protected]>, 2014, 2016-2017.
5 # Dmitry Bolkhovskikh <[email protected]>, 2017.
6 # Yuri Kozlov <[email protected]>, 2011-2019.
7 # Иван Павлов <[email protected]>, 2017, 2019.
8 msgid ""
9 msgstr ""
10 "Project-Id-Version: manpages-l10n\n"
11 "POT-Creation-Date: 2026-06-05 06:49+0200\n"
12 "PO-Revision-Date: 2024-12-21 19:49+0300\n"
13 "Last-Translator: Yuri Kozlov <[email protected]>\n"
14 "Language-Team: Russian <[email protected]>\n"
15 "Language: ru\n"
16 "MIME-Version: 1.0\n"
17 "Content-Type: text/plain; charset=UTF-8\n"
18 "Content-Transfer-Encoding: 8bit\n"
19 "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
20 "n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || "
21 "(n%100>=11 && n%100<=14)? 2 : 3);\n"
22 "X-Generator: Lokalize 2.0\n"
23
24 #. type: TH
25 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
26 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
27 #, no-wrap
28 msgid "truncate"
29 msgstr "truncate"
30
31 #. type: TH
32 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
33 #, no-wrap
34 msgid "2026-04-12"
35 msgstr "12 апреля 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 "truncate, ftruncate - truncate a file to a specified length"
55 msgstr "truncate, ftruncate - обрезает файл до заданного размера"
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 msgid "Standard C library (I<libc>,\\ I<-lc>)"
68 msgstr "Стандартная библиотека языка C (I<libc>,\\ I<-lc>)"
69
70 #. type: SH
71 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
72 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
73 #, no-wrap
74 msgid "SYNOPSIS"
75 msgstr "СИНТАКСИС"
76
77 #. type: Plain text
78 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
79 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
80 #, no-wrap
81 msgid "B<#include E<lt>unistd.hE<gt>>\n"
82 msgstr "B<#include E<lt>unistd.hE<gt>>\n"
83
84 #. type: Plain text
85 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
86 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
87 #, no-wrap
88 msgid ""
89 "B<int truncate(const char *>I<path>B<, off_t >I<length>B<);>\n"
90 "B<int ftruncate(int >I<fd>B<, off_t >I<length>B<);>\n"
91 msgstr ""
92 "B<int truncate(const char *>I<path>B<, off_t >I<length>B<);>\n"
93 "B<int ftruncate(int >I<fd>B<, off_t >I<length>B<);>\n"
94
95 #. type: Plain text
96 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
97 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
98 msgid ""
99 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
100 msgstr ""
101 "Требования макроса тестирования свойств для glibc (см. "
102 "B<feature_test_macros>(7)):"
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 msgid "B<truncate>():"
108 msgstr "B<truncate>():"
109
110 #. || _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED
111 #. type: Plain text
112 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
113 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
114 #, no-wrap
115 msgid ""
116 " _XOPEN_SOURCE E<gt>= 500\n"
117 " || /* Since glibc 2.12: */ _POSIX_C_SOURCE E<gt>= 200809L\n"
118 " || /* glibc E<lt>= 2.19: */ _BSD_SOURCE\n"
119 msgstr ""
120 " _XOPEN_SOURCE E<gt>= 500\n"
121 " || /* начиная с glibc 2.12: */ _POSIX_C_SOURCE E<gt>= 200809L\n"
122 " || /* glibc E<lt>= 2.19: */ _BSD_SOURCE\n"
123
124 #. type: Plain text
125 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
126 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
127 msgid "B<ftruncate>():"
128 msgstr "B<ftruncate>():"
129
130 #. || _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED
131 #. type: Plain text
132 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
133 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
134 #, fuzzy, no-wrap
135 #| msgid ""
136 #| " _XOPEN_SOURCE E<gt>= 500\n"
137 #| " || /* Since glibc 2.3.5: */ _POSIX_C_SOURCE E<gt>= 200112L\n"
138 #| " || /* Glibc E<lt>= 2.19: */ _BSD_SOURCE\n"
139 msgid ""
140 " _XOPEN_SOURCE E<gt>= 500\n"
141 " || /* Since glibc 2.3.5: */ _POSIX_C_SOURCE E<gt>= 200112L\n"
142 " || /* glibc E<lt>= 2.19: */ _BSD_SOURCE\n"
143 msgstr ""
144 " _XOPEN_SOURCE E<gt>= 500\n"
145 " || /* начиная с glibc 2.3.5: */ _POSIX_C_SOURCE E<gt>= 200112L\n"
146 " || /* в версиях glibc E<lt>= 2.19: */ _BSD_SOURCE\n"
147
148 #. type: SH
149 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
150 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
151 #, no-wrap
152 msgid "DESCRIPTION"
153 msgstr "ОПИСАНИЕ"
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 "The B<truncate>() and B<ftruncate>() functions cause the regular file "
160 "named by I<path> or referenced by I<fd> to be truncated to a size of "
161 "precisely I<length> bytes."
162 msgstr ""
163 "Функции B<truncate>() и B<ftruncate>() обрезают обычный файл, указанный по "
164 "имени I<path> или ссылке I<fd>, до размера, указанного в I<length> (в "
165 "байтах)."
166
167 #. type: Plain text
168 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
169 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
170 #, fuzzy
171 #| msgid ""
172 #| "If the file previously was larger than this size, the extra data is "
173 #| "lost. If the file previously was shorter, it is extended, and the "
174 #| "extended part reads as null bytes (\\(aq\\e0\\(aq)."
175 msgid ""
176 "If the file previously was larger than this size, the extra data is lost. "
177 "If the file previously was shorter, it is extended, and the extended part "
178 "reads as null bytes (\\[aq]\\[rs]0\\[aq])."
179 msgstr ""
180 "Если до этого файл был больше указанного размера, все лишние данные будут "
181 "утеряны. Если файл был меньше, он будет увеличен, а дополнительная часть "
182 "будет заполнена нулевыми байтами («\\e0»)."
183
184 #. type: Plain text
185 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
186 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
187 msgid "The file offset is not changed."
188 msgstr "Смещение файла не изменяется."
189
190 #. type: Plain text
191 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
192 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
193 msgid ""
194 "If the size changed, then the st_ctime and st_mtime fields (respectively, "
195 "time of last status change and time of last modification; see B<inode>(7)) "
196 "for the file are updated, and the set-user-ID and set-group-ID mode bits may "
197 "be cleared."
198 msgstr ""
199 "Если размер изменился, поля st_ctime и st_mtime (время последнего изменения "
200 "состояния и время последнего изменения, соответственно; смотрите "
201 "B<inode>(7)) файла будут обновлены, а биты режимов set-user-ID и set-group-"
202 "ID могут быть сброшены."
203
204 #. type: Plain text
205 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
206 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
207 msgid ""
208 "With B<ftruncate>(), the file must be open for writing; with B<truncate>(), "
209 "the file must be writable."
210 msgstr ""
211 "Для B<ftruncate>() файл должен быть открыт на запись; для B<truncate>() файл "
212 "должен быть доступен на запись."
213
214 #. type: SH
215 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
216 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
217 #, no-wrap
218 msgid "RETURN VALUE"
219 msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ"
220
221 #. type: Plain text
222 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
223 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
224 msgid ""
225 "On success, zero is returned. On error, -1 is returned, and I<errno> is set "
226 "to indicate the error."
227 msgstr ""
228 "При успешном выполнении возвращается 0. При ошибке возвращается -1, а в "
229 "I<errno> содержится код ошибки."
230
231 #. type: SH
232 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
233 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
234 #, no-wrap
235 msgid "ERRORS"
236 msgstr "ОШИБКИ"
237
238 #. type: Plain text
239 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
240 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
241 msgid "For B<truncate>():"
242 msgstr "Для B<truncate>():"
243
244 #. type: TP
245 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
246 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
247 #, no-wrap
248 msgid "B<EACCES>"
249 msgstr "B<EACCES>"
250
251 #. type: Plain text
252 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
253 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
254 msgid ""
255 "Search permission is denied for a component of the path prefix, or the named "
256 "file is not writable by the user. (See also B<path_resolution>(7).)"
257 msgstr ""
258 "В одном из каталогов префикса не разрешен поиск, либо указанный файл не "
259 "доступен на запись для пользователя (смотрите также B<path_resolution>(7))."
260
261 #. type: TP
262 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
263 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
264 #, no-wrap
265 msgid "B<EFAULT>"
266 msgstr "B<EFAULT>"
267
268 #. type: Plain text
269 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
270 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
271 msgid ""
272 "The argument I<path> points outside the process's allocated address space."
273 msgstr ""
274 "Значение I<path> указывает за пределы адресного пространства, выделенного "
275 "процессу."
276
277 #. type: TP
278 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
279 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
280 #, no-wrap
281 msgid "B<EFBIG>"
282 msgstr "B<EFBIG>"
283
284 #. type: Plain text
285 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
286 #: opensuse-tumbleweed
287 #, fuzzy
288 #| msgid "The argument I<length> is larger than the maximum file size. (XSI)"
289 msgid "The argument I<length> is larger than the maximum file size. (XSI)"
290 msgstr "Аргумент I<length> больше максимально допустимого размера файла (XSI)."
291
292 #. type: TP
293 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
294 #, no-wrap
295 msgid "B<ENOSPC>"
296 msgstr "B<ENOSPC>"
297
298 #. type: Plain text
299 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
300 #, fuzzy
301 #| msgid ""
302 #| "There is not enough space left on the device containing the file referred "
303 #| "to by I<fd>."
304 msgid ""
305 "There is not enough space left on the device for extending the file size to "
306 "the given I<length>."
307 msgstr ""
308 "Недостаточно дискового пространства на устройстве, на котором расположен "
309 "файл, указанный в I<fd>."
310
311 #. type: TP
312 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
313 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
314 #, no-wrap
315 msgid "B<EINTR>"
316 msgstr "B<EINTR>"
317
318 #. type: Plain text
319 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
320 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
321 msgid ""
322 "While blocked waiting to complete, the call was interrupted by a signal "
323 "handler; see B<fcntl>(2) and B<signal>(7)."
324 msgstr ""
325 "При блокирующем ожидании завершения вызов был прерван обработчиком сигналов; "
326 "смотрите B<fcntl>(2) и B<signal>(7)."
327
328 #. type: TP
329 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
330 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
331 #, no-wrap
332 msgid "B<EINVAL>"
333 msgstr "B<EINVAL>"
334
335 #. type: Plain text
336 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
337 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
338 msgid ""
339 "The argument I<length> is negative or larger than the maximum file size."
340 msgstr ""
341 "Аргумент I<length> является отрицательным или больше максимально допустимого "
342 "размера файла."
343
344 #. type: TP
345 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
346 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
347 #, no-wrap
348 msgid "B<EIO>"
349 msgstr "B<EIO>"
350
351 #. type: Plain text
352 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
353 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
354 msgid "An I/O error occurred updating the inode."
355 msgstr ""
356 "Во время обновления индексного дескриптора (inode) возникла ошибка ввода/"
357 "вывода."
358
359 #. type: TP
360 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
361 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
362 #, no-wrap
363 msgid "B<EISDIR>"
364 msgstr "B<EISDIR>"
365
366 #. type: Plain text
367 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
368 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
369 msgid "The named file is a directory."
370 msgstr "Указанный файл является каталогом."
371
372 #. type: TP
373 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
374 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
375 #, no-wrap
376 msgid "B<ELOOP>"
377 msgstr "B<ELOOP>"
378
379 #. type: Plain text
380 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
381 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
382 msgid "Too many symbolic links were encountered in translating the pathname."
383 msgstr ""
384 "Во время определения pathname встретилось слишком много символьных ссылок."
385
386 #. type: TP
387 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
388 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
389 #, no-wrap
390 msgid "B<ENAMETOOLONG>"
391 msgstr "B<ENAMETOOLONG>"
392
393 #. type: Plain text
394 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
395 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
396 msgid ""
397 "A component of a pathname exceeded 255 characters, or an entire pathname "
398 "exceeded 1023 characters."
399 msgstr ""
400 "Компонент имени пути содержит более 255 символов, или весь путь содержит "
401 "более 1023 символов."
402
403 #. type: TP
404 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
405 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
406 #, no-wrap
407 msgid "B<ENOENT>"
408 msgstr "B<ENOENT>"
409
410 #. type: Plain text
411 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
412 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
413 msgid "The named file does not exist."
414 msgstr "Указанный файл не существует."
415
416 #. type: TP
417 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
418 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
419 #, no-wrap
420 msgid "B<ENOTDIR>"
421 msgstr "B<ENOTDIR>"
422
423 #. type: Plain text
424 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
425 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
426 msgid "A component of the path prefix is not a directory."
427 msgstr "Компонент в префиксе пути не является каталогом."
428
429 #. type: TP
430 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
431 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
432 #, no-wrap
433 msgid "B<EPERM>"
434 msgstr "B<EPERM>"
435
436 #. This happens for at least MSDOS and VFAT filesystems
437 #. on kernel 2.6.13
438 #. type: Plain text
439 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
440 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
441 msgid ""
442 "The underlying filesystem does not support extending a file beyond its "
443 "current size."
444 msgstr ""
445 "Используемая файловая система не поддерживает расширение файла больше его "
446 "текущего размера."
447
448 #. type: Plain text
449 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
450 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
451 msgid "The operation was prevented by a file seal; see B<fcntl>(2)."
452 msgstr ""
453 "Выполнение операции предотвращено опечатыванием (file seal); смотрите "
454 "B<fcntl>(2)."
455
456 #. type: TP
457 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
458 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
459 #, no-wrap
460 msgid "B<EROFS>"
461 msgstr "B<EROFS>"
462
463 #. type: Plain text
464 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
465 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
466 msgid "The named file resides on a read-only filesystem."
467 msgstr ""
468 "Указанный файл находится на файловой системе, смонтированной только для "
469 "чтения."
470
471 #. type: TP
472 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
473 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
474 #, no-wrap
475 msgid "B<ETXTBSY>"
476 msgstr "B<ETXTBSY>"
477
478 #. type: Plain text
479 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
480 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
481 msgid "The file is an executable file that is being executed."
482 msgstr "Файл является исполняемым файлом, который в данный момент исполняется."
483
484 #. type: Plain text
485 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
486 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
487 msgid ""
488 "For B<ftruncate>() the same errors apply, but instead of things that can be "
489 "wrong with I<path>, we now have things that can be wrong with the file "
490 "descriptor, I<fd>:"
491 msgstr ""
492 "Для B<ftruncate>() действуют те же ошибки, за исключением того, что вместо "
493 "ошибок, связанных с неправильным I<path>, появляются ошибки, связанные с "
494 "файловым дескриптором I<fd>:"
495
496 #. type: TP
497 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
498 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
499 #, no-wrap
500 msgid "B<EBADF>"
501 msgstr "B<EBADF>"
502
503 #. type: Plain text
504 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
505 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
506 msgid "I<fd> is not a valid file descriptor."
507 msgstr "Значение I<fd> не является правильным файловым дескриптором."
508
509 #. type: TP
510 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
511 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
512 #, no-wrap
513 msgid "B<EBADF> or B<EINVAL>"
514 msgstr "B<EBADF> или B<EINVAL>"
515
516 #. type: Plain text
517 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
518 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
519 msgid "I<fd> is not open for writing."
520 msgstr "Дескриптор I<fd> не открыт для записи."
521
522 #. type: Plain text
523 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
524 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
525 msgid ""
526 "I<fd> does not reference a regular file or a POSIX shared memory object."
527 msgstr ""
528 "Дескриптор I<fd> не указывает на обычный файл или объект общей памяти POSIX."
529
530 #. type: TP
531 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
532 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
533 #, no-wrap
534 msgid "B<EINVAL> or B<EBADF>"
535 msgstr "B<EINVAL> или B<EBADF>"
536
537 #. type: Plain text
538 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
539 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
540 msgid ""
541 "The file descriptor I<fd> is not open for writing. POSIX permits, and "
542 "portable applications should handle, either error for this case. (Linux "
543 "produces B<EINVAL>.)"
544 msgstr ""
545 "Файловый дескриптор I<fd> не открыт на запись. В POSIX это допускается и "
546 "переносимые приложения должны обрабатывать любую ошибку для этого случая "
547 "(Linux возвращает B<EINVAL>)."
548
549 #. type: SH
550 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
551 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
552 #, no-wrap
553 msgid "VERSIONS"
554 msgstr "ВЕРСИИ"
555
556 #. At the very least: OSF/1, Solaris 7, and FreeBSD conform, mtk, Jan 2002
557 #. type: Plain text
558 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
559 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
560 msgid ""
561 "The details in DESCRIPTION are for XSI-compliant systems. For non-XSI-"
562 "compliant systems, the POSIX standard allows two behaviors for "
563 "B<ftruncate>() when I<length> exceeds the file length (note that "
564 "B<truncate>() is not specified at all in such an environment): either "
565 "returning an error, or extending the file. Like most UNIX implementations, "
566 "Linux follows the XSI requirement when dealing with native filesystems. "
567 "However, some nonnative filesystems do not permit B<truncate>() and "
568 "B<ftruncate>() to be used to extend a file beyond its current length: a "
569 "notable example on Linux is VFAT."
570 msgstr ""
571 "В ОПИСАНИИ приведена информация для XSI-совместимых систем. Для не XSI-"
572 "совместимых систем в стандарте POSIX описано два поведения B<ftruncate>(), "
573 "когда I<length> превышает длину файла (заметим, что B<truncate>() не "
574 "обязательно быть во всех таких окружениях): или вернуть ошибку, или "
575 "расширить файл. Подобно большинству реализаций UNIX, Linux соответствует "
576 "требованию XSI, когда работает с родными файловыми системами. Однако, в "
577 "некоторых неродных файловых системах не разрешается использовать "
578 "B<truncate>() и B<ftruncate>() для расширения файла больше его текущей "
579 "длины: например, в Linux это касается VFAT."
580
581 #. type: Plain text
582 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
583 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
584 msgid ""
585 "On some 32-bit architectures, the calling signature for these system calls "
586 "differ, for the reasons described in B<syscall>(2)."
587 msgstr ""
588 "На некоторых 32-битных архитектурах интерфейс этих системных вызовов "
589 "отличается от описанного выше по причинам, указанным в B<syscall>(2)."
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-unstable mageia-cauldron opensuse-leap-16-1
600 #: opensuse-tumbleweed
601 msgid "POSIX.1-2024."
602 msgstr "POSIX.1-2024."
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 #. POSIX.1-1996 has
612 #. .BR ftruncate ().
613 #. POSIX.1-2001 also has
614 #. .BR truncate (),
615 #. as an XSI extension.
616 #. .P
617 #. SVr4 documents additional
618 #. .BR truncate ()
619 #. error conditions EMFILE, EMULTIHP, ENFILE, ENOLINK. SVr4 documents for
620 #. .BR ftruncate ()
621 #. an additional EAGAIN error condition.
622 #. type: Plain text
623 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
624 #: opensuse-tumbleweed
625 #, fuzzy
626 #| msgid "POSIX.1-2001, SVr4, 4.4BSD."
627 msgid "POSIX.1-2001, SVr4, 4.2BSD."
628 msgstr "POSIX.1-2001, SVr4, 4.4BSD."
629
630 #. type: Plain text
631 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
632 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
633 msgid ""
634 "The original Linux B<truncate>() and B<ftruncate>() system calls were not "
635 "designed to handle large file offsets. Consequently, Linux 2.4 added "
636 "B<truncate64>() and B<ftruncate64>() system calls that handle large "
637 "files. However, these details can be ignored by applications using glibc, "
638 "whose wrapper functions transparently employ the more recent system calls "
639 "where they are available."
640 msgstr ""
641 "Первоначальные версии системных вызовов B<truncate>() и B<ftruncate>() в "
642 "Linux не умели работать с большими файловыми смещениями. Позднее, в Linux "
643 "2.4 были добавлены системные вызовы B<truncate64>() и B<ftruncate64>() для "
644 "работы с большими файлами. Однако это различие может игнорироваться "
645 "приложениями, которые используют glibc, так как имеющиеся в ней обёрточные "
646 "функции самостоятельно задействуют более новый системный вызов, если он "
647 "доступен."
648
649 #. type: SH
650 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
651 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
652 #, no-wrap
653 msgid "NOTES"
654 msgstr "ПРИМЕЧАНИЯ"
655
656 #. type: Plain text
657 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
658 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
659 msgid ""
660 "B<ftruncate>() can also be used to set the size of a POSIX shared memory "
661 "object; see B<shm_open>(3)."
662 msgstr ""
663 "Вызов B<ftruncate>() также может использоваться для установки размера "
664 "объекта общей памяти POSIX; смотрите B<shm_open>(3)."
665
666 #. type: SH
667 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
668 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
669 #, no-wrap
670 msgid "BUGS"
671 msgstr "ПРОГРАММНЫЕ ОШИБКИ"
672
673 #. http://sourceware.org/bugzilla/show_bug.cgi?id=12037
674 #. type: Plain text
675 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
676 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
677 msgid ""
678 "A header file bug in glibc 2.12 meant that the minimum value of "
679 "B<_POSIX_C_SOURCE> required to expose the declaration of B<ftruncate>() was "
680 "200809L instead of 200112L. This has been fixed in later glibc versions."
681 msgstr ""
682 "Из-за ошибки в заголовочном файле glibc 2.12 минимальное значение "
683 "B<_POSIX_C_SOURCE>, требуемое для объявления декларации B<ftruncate>(), было "
684 "равно 200809L вместо 200112L. В последующих версиях glibc эта ошибка была "
685 "исправлена."
686
687 #. type: SH
688 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
689 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
690 #, no-wrap
691 msgid "SEE ALSO"
692 msgstr "СМОТРИТЕ ТАКЖЕ"
693
694 #. type: Plain text
695 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
696 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
697 msgid "B<truncate>(1), B<open>(2), B<stat>(2), B<path_resolution>(7)"
698 msgstr "B<truncate>(1), B<open>(2), B<stat>(2), B<path_resolution>(7)"
699
700 #. type: TH
701 #: debian-trixie
702 #, no-wrap
703 msgid "2024-06-15"
704 msgstr "15 июня 2024 г."
705
706 #. type: TH
707 #: debian-trixie
708 #, no-wrap
709 msgid "Linux man-pages 6.9.1"
710 msgstr "Страницы руководства Linux 6.9.1"
711
712 #. type: Plain text
713 #: debian-trixie
714 msgid "Standard C library (I<libc>, I<-lc>)"
715 msgstr "Стандартная библиотека языка C (I<libc>, I<-lc>)"
716
717 #. type: Plain text
718 #: debian-trixie fedora-44 fedora-rawhide
719 msgid "The argument I<length> is larger than the maximum file size. (XSI)"
720 msgstr "Аргумент I<length> больше максимально допустимого размера файла (XSI)."
721
722 #. type: Plain text
723 #: debian-trixie fedora-44 fedora-rawhide
724 msgid "POSIX.1-2008."
725 msgstr "POSIX.1-2008."
726
727 #. POSIX.1-1996 has
728 #. .BR ftruncate ().
729 #. POSIX.1-2001 also has
730 #. .BR truncate (),
731 #. as an XSI extension.
732 #. .P
733 #. SVr4 documents additional
734 #. .BR truncate ()
735 #. error conditions EMFILE, EMULTIHP, ENFILE, ENOLINK. SVr4 documents for
736 #. .BR ftruncate ()
737 #. an additional EAGAIN error condition.
738 #. type: Plain text
739 #: debian-trixie fedora-44 fedora-rawhide
740 #, fuzzy
741 #| msgid ""
742 #| "POSIX.1-2001, POSIX.1-2008, 4.4BSD, SVr4 (these calls first appeared in "
743 #| "4.2BSD)."
744 msgid "POSIX.1-2001, 4.4BSD, SVr4 (first appeared in 4.2BSD)."
745 msgstr ""
746 "POSIX.1-2001, POSIX.1-2008, 4.4BSD, SVr4 (данные вызовы впервые появились в "
747 "4.2BSD)."
748
749 #. type: TH
750 #: fedora-44 fedora-rawhide
751 #, no-wrap
752 msgid "2024-07-23"
753 msgstr "23 июля 2024 г."
754
755 #. type: TH
756 #: fedora-44 fedora-rawhide
757 #, no-wrap
758 msgid "Linux man-pages 6.13"
759 msgstr "Страницы руководства Linux 6.13"
760
761 #. type: TH
762 #: mageia-cauldron
763 #, no-wrap
764 msgid "2025-10-29"
765 msgstr "29 октября 2025 г."
766
767 #. type: TH
768 #: mageia-cauldron
769 #, no-wrap
770 msgid "Linux man-pages 6.17"
771 msgstr "Страницы руководства Linux 6.17"
772
773 #. type: TH
774 #: opensuse-leap-16-1 opensuse-tumbleweed
775 #, no-wrap
776 msgid "Linux man-pages (unreleased)"
777 msgstr "Страницы руководства Linux (не выпущены)"