Debian Codegraph @

po/ru/man3/printf.3.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 # Alexey, 2016.
5 # Azamat Hackimov <[email protected]>, 2014-2017.
6 # kogamatranslator49 <[email protected]>, 2015.
7 # Darima Kogan <[email protected]>, 2014.
8 # Max Is <[email protected]>, 2016.
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:36+0200\n"
15 "PO-Revision-Date: 2024-12-21 19:50+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 "X-Generator: Lokalize 2.0\n"
26
27 #. type: TH
28 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
29 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
30 #, fuzzy, no-wrap
31 #| msgid "B<printf>(3)"
32 msgid "printf"
33 msgstr "B<printf>(3)"
34
35 #. type: TH
36 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
37 #, no-wrap
38 msgid "2026-02-16"
39 msgstr "16 февраля 2026 г."
40
41 #. type: TH
42 #: archlinux debian-unstable
43 #, fuzzy, no-wrap
44 #| msgid "Linux man-pages 6.17"
45 msgid "Linux man-pages 6.18"
46 msgstr "Справочные страницы Linux 6.17"
47
48 #. type: SH
49 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
50 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
51 #, no-wrap
52 msgid "NAME"
53 msgstr "НАИМЕНОВАНИЕ"
54
55 #. type: Plain text
56 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
57 #: opensuse-tumbleweed
58 #, fuzzy
59 #| msgid ""
60 #| "printf, fprintf, dprintf, sprintf, snprintf, vprintf, vfprintf, vdprintf, "
61 #| "vsprintf, vsnprintf - formatted output conversion"
62 msgid ""
63 "printf, fprintf, dprintf, vprintf, vfprintf, vdprintf, - formatted output "
64 "conversion"
65 msgstr ""
66 "printf, fprintf, dprintf, sprintf, snprintf, vprintf, vfprintf, vdprintf, "
67 "vsprintf, vsnprintf - преобразование форматированного вывода"
68
69 #. type: SH
70 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
71 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
72 #, no-wrap
73 msgid "LIBRARY"
74 msgstr "БИБЛИОТЕКА"
75
76 #. type: Plain text
77 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
78 #: opensuse-leap-16-1 opensuse-tumbleweed
79 msgid "Standard C library (I<libc>,\\ I<-lc>)"
80 msgstr "Стандартная библиотека языка C (I<libc>,\\ I<-lc>)"
81
82 #. type: SH
83 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
84 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
85 #, no-wrap
86 msgid "SYNOPSIS"
87 msgstr "СИНТАКСИС"
88
89 #. type: Plain text
90 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
91 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
92 #, no-wrap
93 msgid "B<#include E<lt>stdio.hE<gt>>\n"
94 msgstr "B<#include E<lt>stdio.hE<gt>>\n"
95
96 #. type: Plain text
97 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
98 #: opensuse-tumbleweed
99 #, fuzzy, no-wrap
100 #| msgid ""
101 #| "B<int printf(const char *>I<format>B<, ...);>\n"
102 #| "B<int fprintf(FILE *>I<stream>B<, const char *>I<format>B<, ...);>\n"
103 #| "B<int dprintf(int >I<fd>B<, const char *>I<format>B<, ...);>\n"
104 #| "B<int sprintf(char *>I<str>B<, const char *>I<format>B<, ...);>\n"
105 #| "B<int snprintf(char *>I<str>B<, size_t >I<size>B<, const char *>I<format>B<, ...);>\n"
106 msgid ""
107 "B<int printf(const char *restrict >I<format>B<, ...);>\n"
108 "B<int fprintf(FILE *restrict >I<stream>B<,>\n"
109 "B< const char *restrict >I<format>B<, ...);>\n"
110 "B<int dprintf(int >I<fd>B<,>\n"
111 "B< const char *restrict >I<format>B<, ...);>\n"
112 msgstr ""
113 "B<int printf(const char *>I<format>B<, ...);>\n"
114 "B<int fprintf(FILE *>I<stream>B<, const char *>I<format>B<, ...);>\n"
115 "B<int dprintf(int >I<fd>B<, const char *>I<format>B<, ...);>\n"
116 "B<int sprintf(char *>I<str>B<, const char *>I<format>B<, ...);>\n"
117 "B<int snprintf(char *>I<str>B<, size_t >I<size>B<, const char *>I<format>B<, ...);>\n"
118
119 #. type: Plain text
120 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
121 #: opensuse-tumbleweed
122 #, fuzzy, no-wrap
123 #| msgid ""
124 #| "B<int vprintf(const char *>I<format>B<, va_list >I<ap>B<);>\n"
125 #| "B<int vfprintf(FILE *>I<stream>B<, const char *>I<format>B<, va_list >I<ap>B<);>\n"
126 #| "B<int vdprintf(int >I<fd>B<, const char *>I<format>B<, va_list >I<ap>B<);>\n"
127 #| "B<int vsprintf(char *>I<str>B<, const char *>I<format>B<, va_list >I<ap>B<);>\n"
128 #| "B<int vsnprintf(char *>I<str>B<, size_t >I<size>B<, const char *>I<format>B<, va_list >I<ap>B<);>\n"
129 msgid ""
130 "B<int vprintf(const char *restrict >I<format>B<, va_list >I<ap>B<);>\n"
131 "B<int vfprintf(FILE *restrict >I<stream>B<,>\n"
132 "B< const char *restrict >I<format>B<, va_list >I<ap>B<);>\n"
133 "B<int vdprintf(int >I<fd>B<,>\n"
134 "B< const char *restrict >I<format>B<, va_list >I<ap>B<);>\n"
135 msgstr ""
136 "B<int vprintf(const char *>I<format>B<, va_list >I<ap>B<);>\n"
137 "B<int vfprintf(FILE *>I<stream>B<, const char *>I<format>B<, va_list >I<ap>B<);>\n"
138 "B<int vdprintf(int >I<fd>B<, const char *>I<format>B<, va_list >I<ap>B<);>\n"
139 "B<int vsprintf(char *>I<str>B<, const char *>I<format>B<, va_list >I<ap>B<);>\n"
140 "B<int vsnprintf(char *>I<str>B<, size_t >I<size>B<, const char *>I<format>B<, va_list >I<ap>B<);>\n"
141
142 #. type: Plain text
143 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
144 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
145 msgid ""
146 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
147 msgstr ""
148 "Требования макроса тестирования свойств для glibc (см. "
149 "B<feature_test_macros>(7)):"
150
151 #. type: Plain text
152 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
153 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
154 msgid "B<dprintf>(), B<vdprintf>():"
155 msgstr "B<dprintf>(), B<vdprintf>():"
156
157 #. type: Plain text
158 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
159 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
160 #, no-wrap
161 msgid ""
162 " Since glibc 2.10:\n"
163 " _POSIX_C_SOURCE E<gt>= 200809L\n"
164 " Before glibc 2.10:\n"
165 " _GNU_SOURCE\n"
166 msgstr ""
167 " Начиная с glibc 2.10:\n"
168 " _POSIX_C_SOURCE E<gt>= 200809L\n"
169 " До glibc 2.10:\n"
170 " _BSD_SOURCE\n"
171
172 #. type: SH
173 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
174 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
175 #, no-wrap
176 msgid "DESCRIPTION"
177 msgstr "ОПИСАНИЕ"
178
179 #. type: Plain text
180 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
181 #: opensuse-tumbleweed
182 #, fuzzy
183 #| msgid ""
184 #| "The functions in the B<printf>() family produce output according to a "
185 #| "I<format> as described below. The functions B<printf>() and "
186 #| "B<vprintf>() write output to I<stdout>, the standard output stream; "
187 #| "B<fprintf>() and B<vfprintf>() write output to the given output "
188 #| "I<stream>; B<sprintf>(), B<snprintf>(), B<vsprintf>() and "
189 #| "B<vsnprintf>() write to the character string I<str>."
190 msgid ""
191 "The functions in the B<printf>() family produce output according to a "
192 "I<format> as described below. The functions B<printf>() and B<vprintf>() "
193 "write output to I<stdout>, the standard output stream; B<fprintf>() and "
194 "B<vfprintf>() write output to the given output I<stream>."
195 msgstr ""
196 "Функции семейства B<printf>() выводят данные в соответствии с параметром "
197 "I<format>, описанным ниже. Функции B<printf>() и B<vprintf>() направляют "
198 "данные в стандартный поток вывода I<stdout>; функции B<fprintf>() и "
199 "B<vfprintf>() направляют данные в заданный поток вывода I<stream>; функции "
200 "B<sprintf>(), B<snprintf>(), B<vsprintf>() и B<vsnprintf>() направляют "
201 "данные в символьную строку I<str>."
202
203 #. type: Plain text
204 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
205 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
206 #, fuzzy
207 #| msgid ""
208 #| "The function B<dprintf>() is the same as B<fprintf>() except that it "
209 #| "outputs to a file descriptor, I<fd>, instead of to a I<stdio> stream."
210 msgid ""
211 "The function B<dprintf>() is the same as B<fprintf>() except that it "
212 "outputs to a file descriptor, I<fd>, instead of to a B<stdio>(3) stream."
213 msgstr ""
214 "Функция B<dprintf>() подобна B<fprintf>() за исключением того, что выводит "
215 "данные в файловый дескриптор I<fd>, а не в поток I<stdio>."
216
217 #. type: Plain text
218 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
219 #: opensuse-tumbleweed
220 #, fuzzy
221 #| msgid ""
222 #| "The functions B<vprintf>(), B<vfprintf>(), B<vdprintf>(), B<vsprintf>(), "
223 #| "B<vsnprintf>() are equivalent to the functions B<printf>(), "
224 #| "B<fprintf>(), B<dprintf>(), B<sprintf>(), B<snprintf>(), respectively, "
225 #| "except that they are called with a I<va_list> instead of a variable "
226 #| "number of arguments. These functions do not call the I<va_end> macro. "
227 #| "Because they invoke the I<va_arg> macro, the value of I<ap> is undefined "
228 #| "after the call. See B<stdarg>(3)."
229 msgid ""
230 "The functions B<vprintf>(), B<vfprintf>(), B<vdprintf>() are equivalent to "
231 "the functions B<printf>(), B<fprintf>(), B<dprintf>(), respectively, except "
232 "that they are called with a I<va_list> instead of a variable number of "
233 "arguments. These functions do not call the I<va_end> macro. Because they "
234 "invoke the I<va_arg> macro, the value of I<ap> is undefined after the call. "
235 "See B<stdarg>(3)."
236 msgstr ""
237 "Функции B<vprintf>(), B<vfprintf>(), B<vdprintf>(), B<vsprintf>(), "
238 "B<vsnprintf>() эквивалентны B<printf>(), B<fprintf>(), B<dprintf>(), "
239 "B<sprintf>(), B<snprintf>(), соответственно, за исключением того, что они "
240 "вызываются с I<va_list>, а не переменным числом аргументов. Эти функции не "
241 "вызывают макрос I<va_end>. Так как они вызывают макрос I<va_arg>, значение "
242 "I<ap> не определено после вызова. Смотрите B<stdarg>(3)."
243
244 #. type: Plain text
245 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
246 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
247 msgid ""
248 "All of these functions write the output under the control of a I<format> "
249 "string that specifies how subsequent arguments (or arguments accessed via "
250 "the variable-length argument facilities of B<stdarg>(3)) are converted for "
251 "output."
252 msgstr ""
253 "Все эти функции выводят данные в соответствии со строкой I<format>, которая "
254 "определяет, каким образом последующие параметры (или доступные параметры "
255 "переменной длины из B<stdarg>(3)) преобразуют поток вывода."
256
257 #. type: SS
258 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
259 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
260 #, no-wrap
261 msgid "Format of the format string"
262 msgstr "Структура строки формата"
263
264 #. type: Plain text
265 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
266 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
267 msgid ""
268 "The format string is a character string, beginning and ending in its initial "
269 "shift state, if any. The format string is composed of zero or more "
270 "directives: ordinary characters (not B<%>), which are copied unchanged to "
271 "the output stream; and conversion specifications, each of which results in "
272 "fetching zero or more subsequent arguments. Each conversion specification "
273 "is introduced by the character B<%>, and ends with a I<conversion "
274 "specifier>. In between there may be (in this order) zero or more I<flags>, "
275 "an optional minimum I<field width>, an optional I<precision> and an optional "
276 "I<length modifier>."
277 msgstr ""
278 "Строка параметров — это строка символов, начинающаяся и заканчивающаяся в "
279 "своём начальном состоянии сдвига, если оно есть. Строка может состоять из "
280 "нуля или более директив: обычных символов (кроме B<%>), которые неизменно "
281 "копируются в поток выхода; и спецификаторов преобразования, по каждому из "
282 "которых выбирается ноль или более последующих параметров. Каждый "
283 "спецификатор преобразований начинается с символа B<%> и заканчивается "
284 "I<спецификатором преобразования>. Между ними могут находиться (в "
285 "определённом порядке) ноль или более I<флагов>, необязательная минимальная "
286 "I<ширина поля>, необязательная I<точность> и необязательный I<модификатор "
287 "длины>."
288
289 #. type: Plain text
290 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
291 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
292 #, fuzzy
293 #| msgid "The perfmon2 interface specification"
294 msgid "The overall syntax of a conversion specification is:"
295 msgstr "Спецификация интерфейса perfmon2"
296
297 #. type: Plain text
298 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
299 #: opensuse-leap-16-1 opensuse-tumbleweed
300 #, no-wrap
301 msgid "%[argument$][flags][width][.precision][length modifier]conversion\n"
302 msgstr ""
303
304 #. type: Plain text
305 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
306 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
307 #, fuzzy
308 #| msgid ""
309 #| "The arguments must correspond properly (after type promotion) with the "
310 #| "conversion specifier. By default, the arguments are used in the order "
311 #| "given, where each \\(aq*\\(aq (see I<Field width> and I<Precision> below) "
312 #| "and each conversion specifier asks for the next argument (and it is an "
313 #| "error if insufficiently many arguments are given). One can also specify "
314 #| "explicitly which argument is taken, at each place where an argument is "
315 #| "required, by writing \"%m$\" instead of \\(aq%\\(aq and \"*m$\" instead "
316 #| "of \\(aq*\\(aq, where the decimal integer I<m> denotes the position in "
317 #| "the argument list of the desired argument, indexed starting from 1. Thus,"
318 msgid ""
319 "The arguments must correspond properly (after type promotion) with the "
320 "conversion specifier. By default, the arguments are used in the order "
321 "given, where each \\[aq]*\\[aq] (see I<Field width> and I<Precision> below) "
322 "and each conversion specifier asks for the next argument (and it is an error "
323 "if insufficiently many arguments are given). One can also specify "
324 "explicitly which argument is taken, at each place where an argument is "
325 "required, by writing \"%m$\" instead of \\[aq]%\\[aq] and \"*m$\" instead of "
326 "\\[aq]*\\[aq], where the decimal integer I<m> denotes the position in the "
327 "argument list of the desired argument, indexed starting from 1. Thus,"
328 msgstr ""
329 "Параметры должны точно соответствовать (после преобразования типа) "
330 "спецификаторам преобразований. По умолчанию параметры используются в порядке "
331 "поступления, где каждая «*» (смотрите I<Ширина поля> и I<Точность> ниже) и "
332 "каждый спецификатор преобразования требуют последующего параметра (если "
333 "указано недостаточно параметров, то это приведёт к ошибке). Возможно явное "
334 "указание на то, какой параметр будет следующим, с помощью записи «%m$» "
335 "вместо «%» и «*m$» вместо «*ю, где десятичная цифра I<m> означает позицию "
336 "нужного параметра в их списке; список начинается с единицы. Таким образом,"
337
338 #. type: Plain text
339 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
340 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
341 #, no-wrap
342 msgid "printf(\"%*d\", width, num);\n"
343 msgstr "printf(\"%*d\", width, num);\n"
344
345 #. type: Plain text
346 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
347 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
348 msgid "and"
349 msgstr "и"
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 #, no-wrap
355 msgid "printf(\"%2$*1$d\", width, num);\n"
356 msgstr "printf(\"%2$*1$d\", width, num);\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 #, fuzzy
362 #| msgid ""
363 #| "are equivalent. The second style allows repeated references to the same "
364 #| "argument. The C99 standard does not include the style using \\(aq$\\(aq, "
365 #| "which comes from the Single UNIX Specification. If the style using \\(aq$"
366 #| "\\(aq is used, it must be used throughout for all conversions taking an "
367 #| "argument and all width and precision arguments, but it may be mixed with "
368 #| "\"%%\" formats, which do not consume an argument. There may be no gaps "
369 #| "in the numbers of arguments specified using \\(aq$\\(aq; for example, if "
370 #| "arguments 1 and 3 are specified, argument 2 must also be specified "
371 #| "somewhere in the format string."
372 msgid ""
373 "are equivalent. The second style allows repeated references to the same "
374 "argument. The C99 standard does not include the style using \\[aq]$\\[aq], "
375 "which comes from the Single UNIX Specification. If the style using \\[aq]$\\"
376 "[aq] is used, it must be used throughout for all conversions taking an "
377 "argument and all width and precision arguments, but it may be mixed with \"%%"
378 "\" formats, which do not consume an argument. There may be no gaps in the "
379 "numbers of arguments specified using \\[aq]$\\[aq]; for example, if "
380 "arguments 1 and 3 are specified, argument 2 must also be specified somewhere "
381 "in the format string."
382 msgstr ""
383 "означают одно и то же. Вторая форма записи позволяет производить указание на "
384 "тот же параметр несколько раз. Стандарт C99 не поддерживает использование "
385 "«$», который пришёл из Single UNIX Specification. Если используется «$», то "
386 "он должен использоваться для всех преобразований аргументов и во всех "
387 "аргументах ширины и точности, но он может быть смешан с форматами «%%», "
388 "которые не поглощают аргументы. Там может не быть пробелов между числами "
389 "аргументов, обусловленные использованием «$». Например, если аргументы 1 и 3 "
390 "определены, то аргумент 2 должен также быть определён где-то в строке "
391 "параметров."
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 #, fuzzy
397 #| msgid ""
398 #| "For some numeric conversions a radix character (\"decimal point\") or "
399 #| "thousands' grouping character is used. The actual character used depends "
400 #| "on the B<LC_NUMERIC> part of the locale. (See B<setlocale>(3).) The "
401 #| "POSIX locale uses \\(aq.\\(aq as radix character, and does not have a "
402 #| "grouping character. Thus,"
403 msgid ""
404 "For some numeric conversions a radix character (\"decimal point\") or "
405 "thousands' grouping character is used. The actual character used depends on "
406 "the B<LC_NUMERIC> part of the locale. (See B<setlocale>(3).) The POSIX "
407 "locale uses \\[aq].\\[aq] as radix character, and does not have a grouping "
408 "character. Thus,"
409 msgstr ""
410 "В некоторых цифровых преобразованиях используется символ разделения целой и "
411 "дробной частей или символ разделения тысяч. Текущий символ зависит от "
412 "локали, а именно от значения переменной B<LC_NUMERIC> (смотрите "
413 "B<setlocale>(3)).В локали POSIX по умолчанию используется символ «.» и не "
414 "отсутствует символ разделения. Таким образом,"
415
416 #. type: Plain text
417 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
418 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
419 #, fuzzy, no-wrap
420 #| msgid " printf(\"%\\(aq.2f\", 1234567.89);\n"
421 msgid "printf(\"%\\[aq].2f\", 1234567.89);\n"
422 msgstr " printf(\"%\\(aq.2f\", 1234567.89);\n"
423
424 #. type: Plain text
425 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
426 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
427 msgid ""
428 "results in \"1234567.89\" in the POSIX locale, in \"1234567,89\" in the "
429 "nl_NL locale, and in \"1.234.567,89\" in the da_DK locale."
430 msgstr ""
431 "выводит «1234567.89» при локали POSIX, «1234567,89» при локали nl_NL и "
432 "«1.234.567,89» при локали da_DK."
433
434 #. type: SS
435 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
436 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
437 #, no-wrap
438 msgid "Flag characters"
439 msgstr "Флаги"
440
441 #. type: Plain text
442 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
443 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
444 msgid "The character % is followed by zero or more of the following flags:"
445 msgstr "За символом % может быть указано ноль или несколько следующих флагов:"
446
447 #. type: TP
448 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
449 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
450 #, no-wrap
451 msgid "B<#>"
452 msgstr "B<#>"
453
454 #. type: Plain text
455 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
456 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
457 #, fuzzy
458 #| msgid ""
459 #| "The value should be converted to an \"alternate form\". For B<o> "
460 #| "conversions, the first character of the output string is made zero (by "
461 #| "prefixing a 0 if it was not zero already). For B<x> and B<X> "
462 #| "conversions, a nonzero result has the string \"0x\" (or \"0X\" for B<X> "
463 #| "conversions) prepended to it. For B<a>, B<A>, B<e>, B<E>, B<f>, B<F>, "
464 #| "B<g>, and B<G> conversions, the result will always contain a decimal "
465 #| "point, even if no digits follow it (normally, a decimal point appears in "
466 #| "the results of those conversions only if a digit follows). For B<g> and "
467 #| "B<G> conversions, trailing zeros are not removed from the result as they "
468 #| "would otherwise be. For other conversions, the result is undefined."
469 msgid ""
470 "The value should be converted to an \"alternate form\". For B<o> "
471 "conversions, the first character of the output string is made zero (by "
472 "prefixing a 0 if it was not zero already). For B<x> and B<X> conversions, a "
473 "nonzero result has the string \"0x\" (or \"0X\" for B<X> conversions) "
474 "prepended to it. For B<a>, B<A>, B<e>, B<E>, B<f>, B<F>, B<g>, and B<G> "
475 "conversions, the result will always contain a decimal point, even if no "
476 "digits follow it (normally, a decimal point appears in the results of those "
477 "conversions only if a digit follows). For B<g> and B<G> conversions, "
478 "trailing zeros are not removed from the result as they would otherwise be. "
479 "For B<m>, if I<errno> contains a valid error code, the output of "
480 "I<strerrorname_np(errno)> is printed; otherwise, the value stored in "
481 "I<errno> is printed as a decimal number. For other conversions, the result "
482 "is undefined."
483 msgstr ""
484 "Значение преобразуется в «альтернативную форму». Для преобразования типа "
485 "B<o> первый символ выходного потока будет нуль (префикс 0, если до этого его "
486 "не было указано). Для преобразований типа B<x> и B<X> к ненулевому "
487 "результату добавляется «0x» (или «0X» для преобразования типа B<X>). При "
488 "преобразованиях типа B<a>, B<A>, B<e>, B<E>, B<f>, B<F>, B<g> и B<G> "
489 "результат всегда будет содержать десятичную точку, даже если за ней не "
490 "следует цифр (обычно десятичная точка присутствует в результате таких "
491 "преобразований только, если за ними следуют цифры). Для преобразований B<g> "
492 "и B<G> завершающие нули не удаляются из результата, как это обычно "
493 "случается. Результат для других преобразований не определён."
494
495 #. type: TP
496 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
497 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
498 #, no-wrap
499 msgid "B<\\&0>"
500 msgstr "B<\\&0>"
501
502 #. type: Plain text
503 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
504 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
505 #, fuzzy
506 #| msgid ""
507 #| "The value should be zero padded. For B<d>, B<i>, B<o>, B<u>, B<x>, B<X>, "
508 #| "B<a>, B<A>, B<e>, B<E>, B<f>, B<F>, B<g>, and B<G> conversions, the "
509 #| "converted value is padded on the left with zeros rather than blanks. If "
510 #| "the B<\\&0> and B<-> flags both appear, the B<\\&0> flag is ignored. If "
511 #| "a precision is given with a numeric conversion (B<d>, B<i>, B<o>, B<u>, "
512 #| "B<x>, and B<X>), the B<\\&0> flag is ignored. For other conversions, the "
513 #| "behavior is undefined."
514 msgid ""
515 "The value should be zero padded. For B<d>, B<i>, B<o>, B<u>, B<x>, B<X>, "
516 "B<a>, B<A>, B<e>, B<E>, B<f>, B<F>, B<g>, and B<G> conversions, the "
517 "converted value is padded on the left with zeros rather than blanks. If the "
518 "B<\\&0> and B<-> flags both appear, the B<\\&0> flag is ignored. If a "
519 "precision is given with an integer conversion (B<d>, B<i>, B<o>, B<u>, B<x>, "
520 "and B<X>), the B<\\&0> flag is ignored. For other conversions, the behavior "
521 "is undefined."
522 msgstr ""
523 "В значение добавляются нули. При преобразованиях типа B<d>, B<i>, B<o>, "
524 "B<u>, B<x>, B<X>, B<a>, B<A>, B<e>, B<E>, B<f>, B<F>, B<g> и B<G> "
525 "преобразуемое значение слева дополняется нулями (вместо пробелов). Если "
526 "присутствуют флаги B<\\&0> и B<->, то флаг B<\\&0> игнорируется. Если в "
527 "числовом преобразовании указана точность (B<d>, B<i>, B<o>, B<u>, B<x>, и "
528 "B<X>), то флаг B<\\&0> игнорируется. Поведение флага при других "
529 "преобразованиях не определено."
530
531 #. type: TP
532 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
533 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
534 #, no-wrap
535 msgid "B<->"
536 msgstr "B<->"
537
538 #. type: Plain text
539 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
540 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
541 msgid ""
542 "The converted value is to be left adjusted on the field boundary. (The "
543 "default is right justification.) The converted value is padded on the right "
544 "with blanks, rather than on the left with blanks or zeros. A B<-> overrides "
545 "a B<\\&0> if both are given."
546 msgstr ""
547 "Выравнивает результат преобразования по левой границе поля (по умолчанию "
548 "выравнивание выполняется справа). Преобразованное значение дополняется "
549 "справа пробелами, а не пробелами или нулями слева. Флаг B<-> отменяет флаг "
550 "«0», если было указано оба флага."
551
552 #. type: TP
553 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
554 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
555 #, no-wrap
556 msgid "B<\\[aq] \\[aq]>"
557 msgstr ""
558
559 #. type: Plain text
560 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
561 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
562 msgid ""
563 "(a space) A blank should be left before a positive number (or empty string) "
564 "produced by a signed conversion."
565 msgstr ""
566 "(пробел). Устанавливает слева перед положительными числами (или пустой "
567 "строкой) знак пробела при знаковых преобразованиях."
568
569 #. type: TP
570 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
571 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
572 #, no-wrap
573 msgid "B<+>"
574 msgstr "B<+>"
575
576 #. type: Plain text
577 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
578 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
579 msgid ""
580 "A sign (+ or -) should always be placed before a number produced by a signed "
581 "conversion. By default, a sign is used only for negative numbers. A B<+> "
582 "overrides a space if both are used."
583 msgstr ""
584 "Знак + или - всегда помещается перед преобразованным числом со знаком. По "
585 "умолчанию знак используется только для отрицательных чисел. Флаг B<+> "
586 "отменяет действие пробела, если указаны оба флага."
587
588 #. type: Plain text
589 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
590 #: opensuse-leap-16-1 opensuse-tumbleweed
591 #, fuzzy
592 #| msgid ""
593 #| "The five flag characters above are defined in the C99 standard. The "
594 #| "Single UNIX Specification specifies one further flag character."
595 msgid ""
596 "The five flag characters above are defined in the C99 standard. POSIX "
597 "specifies one further flag character."
598 msgstr ""
599 "Пять флагов, описанных выше, определены в стандарте C99. В стандарте Single "
600 "UNIX Specification определён ещё один дополнительный флаг."
601
602 #. type: TP
603 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
604 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
605 #, no-wrap
606 msgid "B<\\[aq]>"
607 msgstr ""
608
609 #. type: Plain text
610 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
611 #: opensuse-leap-16-1 opensuse-tumbleweed
612 msgid ""
613 "For decimal conversion (B<i>, B<d>, B<u>, B<f>, B<F>, B<g>, B<G>) the "
614 "output is to be grouped with thousands' grouping characters as a I<non-"
615 "monetary> quantity. Misleadingly, this isn't necessarily every thousand: "
616 "for example Karbi (\"mjw_IN\"), groups its digits into 3 once, then 2 "
617 "repeatedly. Compare B<locale>(7) I<grouping> and I<thousands_sep>, "
618 "contrast with I<mon_grouping>/I<mon_thousands_sep> and B<strfmon>(3). This "
619 "is a no-op in the default \"C\" locale."
620 msgstr ""
621
622 #. type: Plain text
623 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
624 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
625 msgid "glibc 2.2 adds one further flag character."
626 msgstr "В glibc 2.2 добавлен ещё один флаг."
627
628 #. type: TP
629 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
630 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
631 #, no-wrap
632 msgid "B<I>"
633 msgstr "B<I>"
634
635 #. outdigits keyword in locale file
636 #. type: Plain text
637 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
638 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
639 msgid ""
640 "For decimal integer conversion (B<i>, B<d>, B<u>) the output uses the "
641 "locale's alternative output digits, if any. For example, since glibc 2.2.3 "
642 "this will give Arabic-Indic digits in the Persian (\"fa_IR\") locale."
643 msgstr ""
644 "При преобразовании целых десятичных чисел (B<i>, B<d>, B<u>) в результате "
645 "используется альтернативное представление цифр согласно локали. Например, "
646 "начиная с glibc 2.2.3 это даёт арабско-индийские цифры для персидской локали "
647 "(«fa_IR»)."
648
649 #. type: SS
650 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
651 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
652 #, no-wrap
653 msgid "Field width"
654 msgstr "Ширина поля"
655
656 #. type: Plain text
657 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
658 #: opensuse-tumbleweed
659 #, fuzzy
660 #| msgid ""
661 #| "An optional decimal digit string (with nonzero first digit) specifying a "
662 #| "minimum field width. If the converted value has fewer characters than "
663 #| "the field width, it will be padded with spaces on the left (or right, if "
664 #| "the left-adjustment flag has been given). Instead of a decimal digit "
665 #| "string one may write \"*\" or \"*m$\" (for some decimal integer I<m>) to "
666 #| "specify that the field width is given in the next argument, or in the "
667 #| "I<m>-th argument, respectively, which must be of type I<int>. A negative "
668 #| "field width is taken as a \\(aq-\\(aq flag followed by a positive field "
669 #| "width. In no case does a nonexistent or small field width cause "
670 #| "truncation of a field; if the result of a conversion is wider than the "
671 #| "field width, the field is expanded to contain the conversion result."
672 msgid ""
673 "An optional decimal digit string (with nonzero first digit) specifying a "
674 "minimum field width. If the converted value has fewer characters than the "
675 "field width, it will be padded with spaces on the left (or right, if the "
676 "left-adjustment flag has been given). Instead of a decimal digit string one "
677 "may write \"*\" or \"*m$\" (for some decimal integer I<m>) to specify that "
678 "the field width is given in the next argument, or in the I<m>-th argument, "
679 "respectively, which must be of type I<int>. A negative field width is taken "
680 "as a \\[aq]-\\[aq] flag followed by a positive field width. In no case does "
681 "a nonexistent or small field width cause truncation of a field; if the "
682 "result of a conversion is wider than the field width, the field is expanded "
683 "to contain the conversion result."
684 msgstr ""
685 "Необязательная строка из десятичных цифр (с первой цифрой, отличной от нуля) "
686 "определяет минимальную ширину поля. Если преобразованное значение имеет "
687 "меньшее количество знаков, чем ширина поля, то оно слева дополняется "
688 "пробелами (или справа, если указан флаг выравнивания по левому краю). Вместо "
689 "строки десятичных цифр можно указать «*» или «*m$» (для некоторого "
690 "десятичного числа I<m>), чтобы определить ширину поля по ширине следующего "
691 "аргумента или аргумента с номером I<m> (должен быть типа I<int>), "
692 "соответственно. Отрицательная ширина поля принимается как флаг «-», "
693 "устанавливающий положительную ширину поля. Несуществующая или небольшая "
694 "ширина поля не делает его усечённым; если результат преобразования больше "
695 "ширины поля, то поле расширяется, чтобы вместить в себя преобразованное "
696 "значение."
697
698 #. type: SS
699 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
700 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
701 #, no-wrap
702 msgid "Precision"
703 msgstr "Точность"
704
705 #. type: Plain text
706 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
707 #: opensuse-tumbleweed
708 #, fuzzy
709 #| msgid ""
710 #| "An optional precision, in the form of a period (\\(aq.\\(aq) followed by "
711 #| "an optional decimal digit string. Instead of a decimal digit string one "
712 #| "may write \"*\" or \"*m$\" (for some decimal integer I<m>) to specify "
713 #| "that the precision is given in the next argument, or in the I<m>-th "
714 #| "argument, respectively, which must be of type I<int>. If the precision "
715 #| "is given as just \\(aq.\\(aq, the precision is taken to be zero. A "
716 #| "negative precision is taken as if the precision were omitted. This gives "
717 #| "the minimum number of digits to appear for B<d>, B<i>, B<o>, B<u>, B<x>, "
718 #| "and B<X> conversions, the number of digits to appear after the radix "
719 #| "character for B<a>, B<A>, B<e>, B<E>, B<f>, and B<F> conversions, the "
720 #| "maximum number of significant digits for B<g> and B<G> conversions, or "
721 #| "the maximum number of characters to be printed from a string for B<s> and "
722 #| "B<S> conversions."
723 msgid ""
724 "An optional precision, in the form of a period (\\[aq].\\[aq]) followed by "
725 "an optional decimal digit string. Instead of a decimal digit string one may "
726 "write \"*\" or \"*m$\" (for some decimal integer I<m>) to specify that the "
727 "precision is given in the next argument, or in the I<m>-th argument, "
728 "respectively, which must be of type I<int>. If the precision is given as "
729 "just \\[aq].\\[aq], the precision is taken to be zero. A negative precision "
730 "is taken as if the precision were omitted. This gives the minimum number of "
731 "digits to appear for B<d>, B<i>, B<o>, B<u>, B<x>, and B<X> conversions, the "
732 "number of digits to appear after the radix character for B<a>, B<A>, B<e>, "
733 "B<E>, B<f>, and B<F> conversions, the maximum number of significant digits "
734 "for B<g> and B<G> conversions, or the maximum number of characters to be "
735 "printed from a string for B<s> and B<S> conversions."
736 msgstr ""
737 "Необязательный параметр точности в виде знака точки («.») сопровождается "
738 "необязательной строкой десятичных цифр. Вместо строки десятичных цифр можно "
739 "указать «*» или «*m$» (для некоторого десятичного числа I<m>), чтобы "
740 "определить значение точности по следующему аргументу или аргументу с номером "
741 "I<m> (должен быть типа I<int>), соответственно. Если точность указана как "
742 "«.», то она обрабатывается как нулевая. Отрицательная точность "
743 "обрабатывается как если не указывалась совсем. Это позволяет ограничивать "
744 "количество выводимых символов для преобразований B<d>, B<i>, B<o>, B<u>, "
745 "B<x> и B<X>; показывать определённое количество цифр после десятичной точки "
746 "для преобразований B<a>, B<A>, B<e>, B<E>, B<f> и B<F>; показывать "
747 "максимальное количество значащих цифр для преобразований B<g> и B<G> или "
748 "максимальное количество символов для печати строк при преобразованиях B<s> и "
749 "B<S>."
750
751 #. type: SS
752 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
753 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
754 #, no-wrap
755 msgid "Length modifier"
756 msgstr "Модификатор длины"
757
758 #. type: Plain text
759 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
760 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
761 msgid ""
762 "Here, \"integer conversion\" stands for B<d>, B<i>, B<o>, B<u>, B<x>, or "
763 "B<X> conversion."
764 msgstr ""
765 "Устанавливаются для следующих «преобразований целого» B<d>, B<i>, B<o>, "
766 "B<u>, B<x> или B<X>."
767
768 #. type: TP
769 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
770 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
771 #, no-wrap
772 msgid "B<hh>"
773 msgstr "B<hh>"
774
775 #. type: Plain text
776 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
777 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
778 msgid ""
779 "A following integer conversion corresponds to a I<signed char> or I<unsigned "
780 "char> argument, or a following B<n> conversion corresponds to a pointer to a "
781 "I<signed char> argument."
782 msgstr ""
783 "Преобразование целого числа соответствует аргументам I<signed char> или "
784 "I<unsigned char>, а также тип преобразования B<n> соответствует указателю на "
785 "аргумент I<signed char>."
786
787 #. type: TP
788 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
789 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
790 #, no-wrap
791 msgid "B<h>"
792 msgstr "B<h>"
793
794 #. type: Plain text
795 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
796 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
797 #, fuzzy
798 #| msgid ""
799 #| "A following integer conversion corresponds to a I<short int> or "
800 #| "I<unsigned short int> argument, or a following B<n> conversion "
801 #| "corresponds to a pointer to a I<short int> argument."
802 msgid ""
803 "A following integer conversion corresponds to a I<short> or I<unsigned "
804 "short> argument, or a following B<n> conversion corresponds to a pointer to "
805 "a I<short> argument."
806 msgstr ""
807 "Преобразование целого числа соответствует аргументам I<short int> или "
808 "I<unsigned short int>, а также тип преобразования B<n> соответствует "
809 "указателю на аргумент I<short int>."
810
811 #. type: TP
812 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
813 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
814 #, no-wrap
815 msgid "B<l>"
816 msgstr "B<l>"
817
818 #. type: Plain text
819 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
820 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
821 #, fuzzy
822 #| msgid ""
823 #| "(ell) A following integer conversion corresponds to a I<long int> or "
824 #| "I<unsigned long int> argument, or a following B<n> conversion corresponds "
825 #| "to a pointer to a I<long int> argument, or a following B<c> conversion "
826 #| "corresponds to a I<wint_t> argument, or a following B<s> conversion "
827 #| "corresponds to a pointer to I<wchar_t> argument."
828 msgid ""
829 "(ell) A following integer conversion corresponds to a I<long> or I<unsigned "
830 "long> argument, or a following B<n> conversion corresponds to a pointer to a "
831 "I<long> argument, or a following B<c> conversion corresponds to a I<wint_t> "
832 "argument, or a following B<s> conversion corresponds to a pointer to "
833 "I<wchar_t> argument. On a following B<a>, B<A>, B<e>, B<E>, B<f>, B<F>, "
834 "B<g>, or B<G> conversion, this length modifier is ignored (C99; not in "
835 "SUSv2)."
836 msgstr ""
837 "(эль) Преобразование целого числа соответствует аргументам I<long int> или "
838 "I<unsigned long int>; тип преобразования B<n> соответствует указателю на "
839 "аргумент I<long int>; тип преобразования B<c> соответствует аргументу "
840 "I<wint_t>; тип преобразования B<s> соответствует указателю на аргумент "
841 "I<wchar_t>."
842
843 #. type: TP
844 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
845 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
846 #, no-wrap
847 msgid "B<ll>"
848 msgstr "B<ll>"
849
850 #. type: Plain text
851 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
852 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
853 #, fuzzy
854 #| msgid ""
855 #| "(ell-ell). A following integer conversion corresponds to a I<long long "
856 #| "int> or I<unsigned long long int> argument, or a following B<n> "
857 #| "conversion corresponds to a pointer to a I<long long int> argument."
858 msgid ""
859 "(ell-ell). A following integer conversion corresponds to a I<long long> or "
860 "I<unsigned long long> argument, or a following B<n> conversion corresponds "
861 "to a pointer to a I<long long> argument."
862 msgstr ""
863 "(эль-эль) Преобразование целого числа соответствует аргументам I<long long "
864 "int> или I<unsigned long long int>, а также тип преобразования B<n> "
865 "соответствует указателю на аргумент I<long long int>."
866
867 #. type: TP
868 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
869 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
870 #, no-wrap
871 msgid "B<q>"
872 msgstr "B<q>"
873
874 #. type: Plain text
875 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
876 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
877 msgid ""
878 "A synonym for B<ll>. This is a nonstandard extension, derived from BSD; "
879 "avoid its use in new code."
880 msgstr ""
881 "Синоним B<ll>. Является нестандартным расширением, унаследовано от BSD; не "
882 "используйте в новом коде."
883
884 #. type: TP
885 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
886 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
887 #, no-wrap
888 msgid "B<L>"
889 msgstr "B<L>"
890
891 #. type: Plain text
892 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
893 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
894 msgid ""
895 "A following B<a>, B<A>, B<e>, B<E>, B<f>, B<F>, B<g>, or B<G> conversion "
896 "corresponds to a I<long double> argument. (C99 allows %LF, but SUSv2 does "
897 "not.)"
898 msgstr ""
899 "Типы преобразования B<a>, B<A>, B<e>, B<E>, B<f>, B<F>, B<g> или B<G> "
900 "соответствуют аргументу I<long double> (в C99 допускается %LF, но в SUSv2 "
901 "нет)."
902
903 #. type: TP
904 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
905 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
906 #, no-wrap
907 msgid "B<j>"
908 msgstr "B<j>"
909
910 #. type: Plain text
911 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
912 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
913 msgid ""
914 "A following integer conversion corresponds to an I<intmax_t> or I<uintmax_t> "
915 "argument, or a following B<n> conversion corresponds to a pointer to an "
916 "I<intmax_t> argument."
917 msgstr ""
918 "Преобразование целого числа соответствует аргументам I<intmax_t> или "
919 "I<uintmax_t>, а также тип преобразования B<n> соответствует указателю на "
920 "аргумент I<intmax_t>."
921
922 #. type: TP
923 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
924 #, fuzzy, no-wrap
925 #| msgid "B<w>"
926 msgid "B<w>I<N>"
927 msgstr "B<w>"
928
929 #. type: Plain text
930 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
931 msgid ""
932 "A following integer conversion corresponds to an integer of a width of I<N> "
933 "bits (C23)."
934 msgstr ""
935
936 #. type: TP
937 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
938 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
939 #, no-wrap
940 msgid "B<z>"
941 msgstr "B<z>"
942
943 #. type: Plain text
944 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
945 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
946 msgid ""
947 "A following integer conversion corresponds to a I<size_t> or I<ssize_t> "
948 "argument, or a following B<n> conversion corresponds to a pointer to a "
949 "I<size_t> argument."
950 msgstr ""
951 "Преобразование целого числа соответствует аргументам I<size_t> или "
952 "I<ssize_t>, а также тип преобразования B<n> соответствует указателю на "
953 "аргумент I<size_t>."
954
955 #. type: TP
956 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
957 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
958 #, no-wrap
959 msgid "B<Z>"
960 msgstr "B<Z>"
961
962 #. type: Plain text
963 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
964 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
965 msgid ""
966 "A nonstandard synonym for B<z> that predates the appearance of B<z>. Do not "
967 "use in new code."
968 msgstr ""
969 "Нестандартный синоним B<z>, который появился до B<z>. Не используйте в "
970 "новом коде."
971
972 #. type: TP
973 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
974 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
975 #, no-wrap
976 msgid "B<t>"
977 msgstr "B<t>"
978
979 #. type: Plain text
980 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
981 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
982 msgid ""
983 "A following integer conversion corresponds to a I<ptrdiff_t> argument, or a "
984 "following B<n> conversion corresponds to a pointer to a I<ptrdiff_t> "
985 "argument."
986 msgstr ""
987 "Преобразование целого числа соответствует аргументам I<ptrdiff_t> или тип "
988 "преобразования B<n> соответствует указателю на аргумент I<ptrdiff_t>."
989
990 #. type: Plain text
991 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
992 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
993 msgid ""
994 "SUSv3 specifies all of the above, except for those modifiers explicitly "
995 "noted as being nonstandard extensions. SUSv2 specified only the length "
996 "modifiers B<h> (in B<hd>, B<hi>, B<ho>, B<hx>, B<hX>, B<hn>) and B<l> (in "
997 "B<ld>, B<li>, B<lo>, B<lx>, B<lX>, B<ln>, B<lc>, B<ls>) and B<L> (in B<Le>, "
998 "B<LE>, B<Lf>, B<Lg>, B<LG>)."
999 msgstr ""
1000 "В SUSv3 определено всё вышеперечисленное, за исключением указанных как "
1001 "нестандартное расширение. В SUSv2 определены только модификаторы длины B<h> "
1002 "(в B<hd>, B<hi>, B<ho>, B<hx>, B<hX>, B<hn>) и B<l> (в B<ld>, B<li>, B<lo>, "
1003 "B<lx>, B<lX>, B<ln>, B<lc>, B<ls>) и B<L> (в B<Le>, B<LE>, B<Lf>, B<Lg>, "
1004 "B<LG>)."
1005
1006 #. type: Plain text
1007 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1008 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1009 #, fuzzy
1010 #| msgid ""
1011 #| "As a nonstandard extension, the GNU implementations treats B<ll> and B<L> "
1012 #| "as synonyms, so that one can, for example, write B<llg> (as a synonym for "
1013 #| "the standards-compliant LgB<)> and B<Ld> (as a synonym for the standards "
1014 #| "compliant B<lld>). Such usage is nonportable."
1015 msgid ""
1016 "As a nonstandard extension, the GNU implementations treats B<ll> and B<L> as "
1017 "synonyms, so that one can, for example, write B<llg> (as a synonym for the "
1018 "standards-compliant B<Lg>) and B<Ld> (as a synonym for the standards "
1019 "compliant B<lld>). Such usage is nonportable."
1020 msgstr ""
1021 "Не по стандарту реализации GNU считают B<ll> и B<L> синонимами, поэтому, "
1022 "например, можно написать B<llg> (синоним стандартного LgB<)> и B<Ld> "
1023 "(синоним стандартного B<lld>). Такое использование не переносимо."
1024
1025 #. type: SS
1026 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1027 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1028 #, no-wrap
1029 msgid "Conversion specifiers"
1030 msgstr "Тип преобразования"
1031
1032 #. type: Plain text
1033 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1034 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1035 msgid ""
1036 "A character that specifies the type of conversion to be applied. The "
1037 "conversion specifiers and their meanings are:"
1038 msgstr ""
1039 "Символы, которые определены как типы преобразования. Типы преобразования и "
1040 "их значения:"
1041
1042 #. type: TP
1043 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1044 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1045 #, no-wrap
1046 msgid "B<d>, B<i>"
1047 msgstr "B<d>, B<i>"
1048
1049 #. type: Plain text
1050 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1051 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1052 msgid ""
1053 "The I<int> argument is converted to signed decimal notation. The precision, "
1054 "if any, gives the minimum number of digits that must appear; if the "
1055 "converted value requires fewer digits, it is padded on the left with zeros. "
1056 "The default precision is 1. When 0 is printed with an explicit precision 0, "
1057 "the output is empty."
1058 msgstr ""
1059 "Параметр I<int> преобразует символы в их знаковое десятичное отображение. "
1060 "Точность (если указана) задаёт минимальное количество цифр в изображении "
1061 "результата; если результат можно показать с помощью меньшего количества "
1062 "цифр, то слева добавляются незначащие нули. По умолчанию значение точности "
1063 "равно единице. При выводе нуля с нулевой точностью выходной поток будет пуст."
1064
1065 #. type: TP
1066 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1067 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1068 #, no-wrap
1069 msgid "B<o>, B<u>, B<x>, B<X>"
1070 msgstr "B<o>, B<u>, B<x>, B<X>"
1071
1072 #. type: Plain text
1073 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1074 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1075 msgid ""
1076 "The I<unsigned int> argument is converted to unsigned octal (B<o>), unsigned "
1077 "decimal (B<u>), or unsigned hexadecimal (B<x> and B<X>) notation. The "
1078 "letters B<abcdef> are used for B<x> conversions; the letters B<ABCDEF> are "
1079 "used for B<X> conversions. The precision, if any, gives the minimum number "
1080 "of digits that must appear; if the converted value requires fewer digits, it "
1081 "is padded on the left with zeros. The default precision is 1. When 0 is "
1082 "printed with an explicit precision 0, the output is empty."
1083 msgstr ""
1084 "Параметр I<unsigned int> преобразуется в беззнаковое восьмеричное число "
1085 "(B<o>), беззнаковое десятичное (B<u>) или беззнаковое шестнадцатеричное "
1086 "(B<x> и B<X>). Буквы B<abcdef> используются в преобразованиях B<x>; буквы "
1087 "B<ABCDEF> используются в преобразованиях B<X>. Точность (если указана) "
1088 "задаёт минимальное количество цифр в изображении результата; если результат "
1089 "можно показать с помощью меньшего количества цифр, то слева добавляются "
1090 "незначащие нули. По умолчанию значение точности равно единице. При выводе "
1091 "нуля с нулевой точностью выходной поток будет пуст."
1092
1093 #. type: TP
1094 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1095 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1096 #, no-wrap
1097 msgid "B<e>, B<E>"
1098 msgstr "B<e>, B<E>"
1099
1100 #. type: Plain text
1101 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1102 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1103 msgid ""
1104 "The I<double> argument is rounded and converted in the style "
1105 "[-]dB<\\&.>dddB<e>\\(+-dd where there is one digit (which is nonzero if the "
1106 "argument is nonzero) before the decimal-point character and the number of "
1107 "digits after it is equal to the precision; if the precision is missing, it "
1108 "is taken as 6; if the precision is zero, no decimal-point character "
1109 "appears. An B<E> conversion uses the letter B<E> (rather than B<e>) to "
1110 "introduce the exponent. The exponent always contains at least two digits; "
1111 "if the value is zero, the exponent is 00."
1112 msgstr ""
1113 "Параметр I<double> округляется и преобразуется в вид [-]dB<\\&.>dddB<e>\\(+-"
1114 "dd, в котором есть одна цифра (не равная нулю, если аргумент не равен нулю) "
1115 "до символа десятичной точки и количество цифр после, указывающих на "
1116 "требуемую точность. Если точность отсутствует, она принимается равной 6; "
1117 "если точность равна нулю, десятичная точка не показывается. В преобразовании "
1118 "для представление экспоненты B<E> используется буква B<E> (а не B<e>). В "
1119 "экспоненте всегда не менее двух цифр; если значение ноль, то экспонента "
1120 "выводится как 00."
1121
1122 #. type: TP
1123 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1124 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1125 #, no-wrap
1126 msgid "B<f>, B<F>"
1127 msgstr "B<f>, B<F>"
1128
1129 #. type: Plain text
1130 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1131 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1132 msgid ""
1133 "The I<double> argument is rounded and converted to decimal notation in the "
1134 "style [-]dddB<\\&.>ddd, where the number of digits after the decimal-point "
1135 "character is equal to the precision specification. If the precision is "
1136 "missing, it is taken as 6; if the precision is explicitly zero, no decimal-"
1137 "point character appears. If a decimal point appears, at least one digit "
1138 "appears before it."
1139 msgstr ""
1140 "Параметр I<double> округляется и преобразуется в десятичное выражение в виде "
1141 "[-]dddB<\\&.>ddd, где количество цифр после десятичной точки указывает на "
1142 "требуемую точность. Если точность отсутствует, она принимается равной 6-и; "
1143 "если точность равна нулю, десятичная точка не показывается. Если десятичная "
1144 "точка есть, перед ней должна быть минимум одна цифра"
1145
1146 #. type: Plain text
1147 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1148 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1149 msgid ""
1150 "(SUSv2 does not know about B<F> and says that character string "
1151 "representations for infinity and NaN may be made available. SUSv3 adds a "
1152 "specification for B<F>. The C99 standard specifies \"[-]inf\" or "
1153 "\"[-]infinity\" for infinity, and a string starting with \"nan\" for NaN, in "
1154 "the case of B<f> conversion, and \"[-]INF\" or \"[-]INFINITY\" or \"NAN\" in "
1155 "the case of B<F> conversion.)"
1156 msgstr ""
1157 "(в SUSv2 отсутствует информация о B<F> и указано, что этот символ "
1158 "предназначен для отображения символов бесконечности и NaN. В SUSv3 добавлен "
1159 "тип B<F>. В стандарте C99 определены «[-]inf» или «[-]infinity» для указания "
1160 "бесконечности, и строка начинающаяся с «nan» для NaN в случае, если тип "
1161 "преобразования равен B<f>, а начинающаяся с «[-]INF», «[-]INFINITY» или "
1162 "«NAN» в случае, если тип преобразования равен B<F>)."
1163
1164 #. type: TP
1165 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1166 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1167 #, no-wrap
1168 msgid "B<g>, B<G>"
1169 msgstr "B<g>, B<G>"
1170
1171 #. type: Plain text
1172 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1173 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1174 msgid ""
1175 "The I<double> argument is converted in style B<f> or B<e> (or B<F> or B<E> "
1176 "for B<G> conversions). The precision specifies the number of significant "
1177 "digits. If the precision is missing, 6 digits are given; if the precision "
1178 "is zero, it is treated as 1. Style B<e> is used if the exponent from its "
1179 "conversion is less than -4 or greater than or equal to the precision. "
1180 "Trailing zeros are removed from the fractional part of the result; a decimal "
1181 "point appears only if it is followed by at least one digit."
1182 msgstr ""
1183 "Параметр I<double> преобразуется в стиле B<f> или B<e> (или B<F> или B<E>, "
1184 "для преобразования B<G>). Точность определяется количеством значащих цифр. "
1185 "Если точность отсутствует, то она определяется равной 6-и цифрам; если "
1186 "точность равна нулю, то она трактуется как 1. Стиль B<e> используется, если "
1187 "экспонента преобразования меньше -4, или больше или равна ей. Завершающие "
1188 "нули удаляются из дробной части результата; десятичная точка стоит, только "
1189 "если за ней следует, по крайней мере, одна цифра."
1190
1191 #. type: TP
1192 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1193 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1194 #, no-wrap
1195 msgid "B<a>, B<A>"
1196 msgstr "B<a>, B<A>"
1197
1198 #. type: Plain text
1199 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1200 #: opensuse-leap-16-1 opensuse-tumbleweed
1201 #, fuzzy
1202 #| msgid ""
1203 #| "(C99; not in SUSv2, but added in SUSv3) For B<a> conversion, the "
1204 #| "I<double> argument is converted to hexadecimal notation (using the "
1205 #| "letters abcdef) in the style [-]B<0x>hB<\\&.>hhhhB<p>\\(+-; for B<A> "
1206 #| "conversion the prefix B<0X>, the letters ABCDEF, and the exponent "
1207 #| "separator B<P> is used. There is one hexadecimal digit before the "
1208 #| "decimal point, and the number of digits after it is equal to the "
1209 #| "precision. The default precision suffices for an exact representation of "
1210 #| "the value if an exact representation in base 2 exists and otherwise is "
1211 #| "sufficiently large to distinguish values of type I<double>. The digit "
1212 #| "before the decimal point is unspecified for nonnormalized numbers, and "
1213 #| "nonzero but otherwise unspecified for normalized numbers."
1214 msgid ""
1215 "(C99; not in SUSv2, but added in SUSv3) For B<a> conversion, the I<double> "
1216 "argument is converted to hexadecimal notation (using the letters abcdef) in "
1217 "the style [-]B<0x>hB<\\&.>hhhhB<p>\\(+-d; for B<A> conversion the prefix "
1218 "B<0X>, the letters ABCDEF, and the exponent separator B<P> is used. There "
1219 "is one hexadecimal digit before the radix point, and the number of digits "
1220 "after it is equal to the precision. The default precision suffices for an "
1221 "exact representation of the value if an exact representation in base 2 "
1222 "exists and otherwise is sufficiently large to distinguish values of type "
1223 "I<double>. The digit before the radix point is unspecified for "
1224 "nonnormalized numbers, and nonzero but otherwise unspecified for normalized "
1225 "numbers. The exponent, I<d>, is the appropriate exponent of 2 expressed as "
1226 "a decimal integer; it always contains at least one digit; if the value is "
1227 "zero, the exponent is 0."
1228 msgstr ""
1229 "(C99; отсутствует в SUSv2, до добавлено в SUSv3) Для преобразования типа "
1230 "B<a> параметр I<double> отображается в шестнадцатеричной форме (с помощью "
1231 "букв abcdef) вида [-]B<0x>hB<\\&.>hhhhB<p>\\(+-; для преобразований типа "
1232 "B<A> используется префикс B<0X>, буквы ABCDEF и и разделитель экспоненты "
1233 "B<P>. Точность равна шестнадцатеричному разряду перед десятичной точкой и "
1234 "количеству цифр после неё. По умолчанию точность принимается равной точному "
1235 "значению разряда, если оно соответствует ему по основанию 2, и в противном "
1236 "случае размер её является достаточным для определения значения типа "
1237 "I<double>. Разряд перед десятичной точкой не определён для ненормализованных "
1238 "чисел и не равен нулю, но не определён для нормализованных чисел."
1239
1240 #. type: TP
1241 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1242 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1243 #, no-wrap
1244 msgid "B<c>"
1245 msgstr "B<c>"
1246
1247 #. type: Plain text
1248 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1249 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1250 msgid ""
1251 "If no B<l> modifier is present, the I<int> argument is converted to an "
1252 "I<unsigned char>, and the resulting character is written. If an B<l> "
1253 "modifier is present, the I<wint_t> (wide character) argument is converted to "
1254 "a multibyte sequence by a call to the B<wcrtomb>(3) function, with a "
1255 "conversion state starting in the initial state, and the resulting multibyte "
1256 "string is written."
1257 msgstr ""
1258 "Если модификатор B<l> не указан, то параметр I<int> преобразуется в "
1259 "I<unsigned char> и выводится как результирующее значение. Если B<l> указан, "
1260 "то параметр I<wint_t> (широкий символ) преобразуется в многобайтовую "
1261 "последовательность вызовом функции B<wcrtomb>(3); первое его значение "
1262 "преобразуется в начальное значение и выводится в виде многобайтовой строки."
1263
1264 #. type: TP
1265 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1266 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1267 #, no-wrap
1268 msgid "B<s>"
1269 msgstr "B<s>"
1270
1271 #. type: Plain text
1272 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1273 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1274 #, fuzzy
1275 #| msgid ""
1276 #| "If no B<l> modifier is present: the I<const char\\ *> argument is "
1277 #| "expected to be a pointer to an array of character type (pointer to a "
1278 #| "string). Characters from the array are written up to (but not including) "
1279 #| "a terminating null byte (\\(aq\\e0\\(aq); if a precision is specified, no "
1280 #| "more than the number specified are written. If a precision is given, no "
1281 #| "null byte need be present; if the precision is not specified, or is "
1282 #| "greater than the size of the array, the array must contain a terminating "
1283 #| "null byte."
1284 msgid ""
1285 "If no B<l> modifier is present: the I<const char\\ *> argument is expected "
1286 "to be a pointer to an array of character type (pointer to a string). "
1287 "Characters from the array are written up to (but not including) a "
1288 "terminating null byte (\\[aq]\\[rs]0\\[aq]); if a precision is specified, no "
1289 "more than the number specified are written. If a precision is given, no "
1290 "null byte need be present; if the precision is not specified, or is greater "
1291 "than the size of the array, the array must contain a terminating null byte."
1292 msgstr ""
1293 "Если модификатор B<l> не указан: параметр I<const char\\ *> преобразуется в "
1294 "указатель на массив символьного типа (строковый указатель). Символы из "
1295 "массива выводятся до конечного байта null (\\(aq\\e0\\(aq, не включая его); "
1296 "если указана точность, то выводится не более установленного количества "
1297 "символов. Если точность указана, то байт null не нужен. Если точность не "
1298 "указана или она больше, чем размер массива, то массив должен содержать "
1299 "конечный байт null."
1300
1301 #. type: Plain text
1302 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1303 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1304 msgid ""
1305 "If an B<l> modifier is present: the I<const wchar_t\\ *> argument is "
1306 "expected to be a pointer to an array of wide characters. Wide characters "
1307 "from the array are converted to multibyte characters (each by a call to the "
1308 "B<wcrtomb>(3) function, with a conversion state starting in the initial "
1309 "state before the first wide character), up to and including a terminating "
1310 "null wide character. The resulting multibyte characters are written up to "
1311 "(but not including) the terminating null byte. If a precision is specified, "
1312 "no more bytes than the number specified are written, but no partial "
1313 "multibyte characters are written. Note that the precision determines the "
1314 "number of I<bytes> written, not the number of I<wide characters> or I<screen "
1315 "positions>. The array must contain a terminating null wide character, "
1316 "unless a precision is given and it is so small that the number of bytes "
1317 "written exceeds it before the end of the array is reached."
1318 msgstr ""
1319 "Если модификатор B<l> указан: параметр I<const wchar_t\\ *> должен быть "
1320 "указателем на массив широких символов. Широкие символы из массива "
1321 "преобразуются в многобайтовые символы (каждый вызовом функции B<wcrtomb>(3), "
1322 "при этом первое значение преобразуется в начальное значение первого широкого "
1323 "символа) и так до конечного широкого символа null. Результирующие "
1324 "многобайтовые символы выводятся до конечного байта null (не включая его). "
1325 "Если указана точность, то выводится количество байтов, не превышающее это "
1326 "значение, а оставшаяся часть многобайтовых символов не выводится. Заметим, "
1327 "что точность определяется количеством выведенных I<байт>, не I<широких "
1328 "символов> или I<положением на экране>. Массив должен содержать конечный "
1329 "широкий символ null, если точность не указана, и содержать количество байт, "
1330 "меньше размера массива."
1331
1332 #. type: TP
1333 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1334 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1335 #, no-wrap
1336 msgid "B<C>"
1337 msgstr "B<C>"
1338
1339 #. type: Plain text
1340 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1341 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1342 msgid ""
1343 "(Not in C99 or C11, but in SUSv2, SUSv3, and SUSv4.) Synonym for B<lc>. "
1344 "Don't use."
1345 msgstr ""
1346 "(отсутствует в C99 или C11, но есть в SUSv2, SUSv3 и SUSv4) Синоним B<lc>. "
1347 "Не используйте."
1348
1349 #. type: TP
1350 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1351 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1352 #, no-wrap
1353 msgid "B<S>"
1354 msgstr "B<S>"
1355
1356 #. type: Plain text
1357 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1358 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1359 msgid ""
1360 "(Not in C99 or C11, but in SUSv2, SUSv3, and SUSv4.) Synonym for B<ls>. "
1361 "Don't use."
1362 msgstr ""
1363 "(отсутствует в C99 или C11, но есть в SUSv2, SUSv3 и SUSv4) Синоним B<ls>. "
1364 "Не используйте."
1365
1366 #. type: TP
1367 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1368 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1369 #, no-wrap
1370 msgid "B<p>"
1371 msgstr "B<p>"
1372
1373 #. type: Plain text
1374 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1375 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1376 msgid ""
1377 "The I<void\\ *> pointer argument is printed in hexadecimal (as if by B<%#x> "
1378 "or B<%#lx>)."
1379 msgstr ""
1380 "Параметр указателя I<void\\ *>, выводящийся в шестнадцатеричном виде (также "
1381 "как при B<%#x> или B<%#lx>)."
1382
1383 #. type: TP
1384 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1385 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1386 #, no-wrap
1387 msgid "B<n>"
1388 msgstr "B<n>"
1389
1390 #. type: Plain text
1391 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1392 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1393 msgid ""
1394 "The number of characters written so far is stored into the integer pointed "
1395 "to by the corresponding argument. That argument shall be an I<int\\ *>, or "
1396 "variant whose size matches the (optionally) supplied integer length "
1397 "modifier. No argument is converted. (This specifier is not supported by "
1398 "the bionic C library.) The behavior is undefined if the conversion "
1399 "specification includes any flags, a field width, or a precision."
1400 msgstr ""
1401 "Количество символов, выводящихся в целом типе int * (или других) без "
1402 "преобразующих параметров. Данный параметр должен быть I<int\\ *> или его "
1403 "вариантом, размер которого совпадает с (необязательно) указываемым целым "
1404 "модификатором длины. Параметр не преобразуется (данный тип не поддерживается "
1405 "библиотекой bionic C). Поведение не определено, если тип преобразования "
1406 "содержит флаги, ширину поля или точность."
1407
1408 #. type: TP
1409 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1410 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1411 #, no-wrap
1412 msgid "B<m>"
1413 msgstr "B<m>"
1414
1415 #. type: Plain text
1416 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1417 #: opensuse-tumbleweed
1418 #, fuzzy
1419 #| msgid ""
1420 #| "(Glibc extension; supported by uClibc and musl.) Print output of "
1421 #| "I<strerror(errno)>. No argument is required."
1422 msgid ""
1423 "(glibc extension; supported by uClibc and musl, and on Android from API "
1424 "level 29.) Print output of I<strerror(errno)> (or I<strerrorname_np(errno)> "
1425 "in the alternate form). No argument is required."
1426 msgstr ""
1427 "(расширение glibc; поддерживается uClibc и musl) Выводит содержимое "
1428 "I<strerror(errno)>. Параметр не требуется."
1429
1430 #. type: TP
1431 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1432 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1433 #, no-wrap
1434 msgid "B<%>"
1435 msgstr "B<%>"
1436
1437 #. type: Plain text
1438 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1439 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1440 #, fuzzy
1441 #| msgid ""
1442 #| "A \\(aq%\\(aq is written. No argument is converted. The complete "
1443 #| "conversion specification is \\(aq%%\\(aq."
1444 msgid ""
1445 "A \\[aq]%\\[aq] is written. No argument is converted. The complete "
1446 "conversion specification is \\[aq]%%\\[aq]."
1447 msgstr ""
1448 "Выводит символ \\(aq%\\(aq. Параметр не требуется. Полный спецификатор "
1449 "преобразования — \\(aq%%\\(aq."
1450
1451 #. type: SH
1452 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1453 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1454 #, no-wrap
1455 msgid "RETURN VALUE"
1456 msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ"
1457
1458 #. type: Plain text
1459 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1460 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1461 #, fuzzy
1462 #| msgid ""
1463 #| "Upon successful return, these functions return the number of characters "
1464 #| "printed (excluding the null byte used to end output to strings)."
1465 msgid ""
1466 "Upon successful return, these functions return the number of bytes printed "
1467 "(excluding the null byte used to end output to strings)."
1468 msgstr ""
1469 "При успешном выполнении данные функции возвращают количество напечатанных "
1470 "символов (не включая байт null, используемый в конце выводимых строк)."
1471
1472 #. type: Plain text
1473 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1474 #: opensuse-tumbleweed
1475 #, fuzzy
1476 #| msgid "On error, -1 is returned, and I<errno> is set to indicate the error."
1477 msgid ""
1478 "On error, a negative value is returned, and I<errno> is set to indicate the "
1479 "error."
1480 msgstr ""
1481 "В случае ошибки возвращается -1, а I<errno> устанавливается в значение "
1482 "ошибки."
1483
1484 #. type: SH
1485 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1486 #: opensuse-tumbleweed
1487 #, no-wrap
1488 msgid "ERRORS"
1489 msgstr "ОШИБКИ"
1490
1491 #. type: Plain text
1492 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1493 #: opensuse-tumbleweed
1494 msgid ""
1495 "See B<write>(2) and B<putwc>(3). In addition, the following error may "
1496 "occur:"
1497 msgstr ""
1498
1499 #. type: TP
1500 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1501 #: opensuse-tumbleweed
1502 #, no-wrap
1503 msgid "B<EOVERFLOW>"
1504 msgstr "B<EOVERFLOW>"
1505
1506 #. type: Plain text
1507 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1508 #: opensuse-tumbleweed
1509 msgid "The value to be returned is greater than B<INT_MAX>."
1510 msgstr ""
1511
1512 #. type: Plain text
1513 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1514 #: opensuse-tumbleweed
1515 msgid "The B<dprintf>() function may fail additionally if:"
1516 msgstr ""
1517
1518 #. type: TP
1519 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1520 #: opensuse-tumbleweed
1521 #, no-wrap
1522 msgid "B<EBADF>"
1523 msgstr "B<EBADF>"
1524
1525 #. type: Plain text
1526 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1527 #: opensuse-tumbleweed
1528 #, fuzzy
1529 #| msgid "I<fd> is not a valid file descriptor."
1530 msgid "The I<fd> argument is not a valid file descriptor."
1531 msgstr "Значение I<fd> не является правильным файловым дескриптором."
1532
1533 #. type: SH
1534 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1535 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1536 #, no-wrap
1537 msgid "ATTRIBUTES"
1538 msgstr "АТРИБУТЫ"
1539
1540 #. type: Plain text
1541 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1542 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1543 msgid ""
1544 "For an explanation of the terms used in this section, see B<attributes>(7)."
1545 msgstr "Описание терминов данного раздела смотрите в B<attributes>(7)."
1546
1547 #. type: tbl table
1548 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1549 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1550 #, no-wrap
1551 msgid "Interface"
1552 msgstr "Интерфейс"
1553
1554 #. type: tbl table
1555 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1556 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1557 #, no-wrap
1558 msgid "Attribute"
1559 msgstr "Атрибут"
1560
1561 #. type: tbl table
1562 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1563 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1564 #, no-wrap
1565 msgid "Value"
1566 msgstr "Значение"
1567
1568 #. type: tbl table
1569 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1570 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1571 #, no-wrap
1572 msgid ".na\n"
1573 msgstr ".na\n"
1574
1575 #. type: tbl table
1576 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1577 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1578 #, no-wrap
1579 msgid ".nh\n"
1580 msgstr ".nh\n"
1581
1582 #. type: tbl table
1583 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1584 #: opensuse-tumbleweed
1585 #, fuzzy, no-wrap
1586 #| msgid "B<fprintf>(), B<printf>(), B<sprintf>(), B<vprintf>(), B<vfprintf>(), B<vsprintf>(): POSIX.1-2001, POSIX.1-2008, C89, C99."
1587 msgid ""
1588 "B<printf>(),\n"
1589 "B<fprintf>(),\n"
1590 "B<vprintf>(),\n"
1591 "B<vfprintf>()"
1592 msgstr "B<fprintf>(), B<printf>(), B<sprintf>(), B<vprintf>(), B<vfprintf>(), B<vsprintf>(): POSIX.1-2001, POSIX.1-2008, C89, C99."
1593
1594 #. type: tbl table
1595 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1596 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1597 #, no-wrap
1598 msgid "Thread safety"
1599 msgstr "Безвредность в нитях"
1600
1601 #. type: tbl table
1602 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1603 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1604 #, no-wrap
1605 msgid "MT-Safe locale"
1606 msgstr "MT-Safe locale"
1607
1608 #. type: SH
1609 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1610 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1611 #, no-wrap
1612 msgid "STANDARDS"
1613 msgstr "СТАНДАРТЫ"
1614
1615 #. type: TP
1616 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1617 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1618 #, fuzzy, no-wrap
1619 #| msgid "B<printf>(3)"
1620 msgid "B<fprintf>()"
1621 msgstr "B<printf>(3)"
1622
1623 #. type: TQ
1624 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1625 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1626 #, fuzzy, no-wrap
1627 #| msgid "B<printf>(3)"
1628 msgid "B<printf>()"
1629 msgstr "B<printf>(3)"
1630
1631 #. type: TQ
1632 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1633 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1634 #, fuzzy, no-wrap
1635 #| msgid "B<printf>(3)"
1636 msgid "B<vprintf>()"
1637 msgstr "B<printf>(3)"
1638
1639 #. type: TQ
1640 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1641 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1642 #, fuzzy, no-wrap
1643 #| msgid "B<printf>(3)"
1644 msgid "B<vfprintf>()"
1645 msgstr "B<printf>(3)"
1646
1647 #. type: Plain text
1648 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1649 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1650 msgid "C11, POSIX.1-2008."
1651 msgstr "C11, POSIX.1-2008."
1652
1653 #. type: TP
1654 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1655 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1656 #, fuzzy, no-wrap
1657 #| msgid "B<printf>(3)"
1658 msgid "B<dprintf>()"
1659 msgstr "B<printf>(3)"
1660
1661 #. type: TQ
1662 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1663 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1664 #, fuzzy, no-wrap
1665 #| msgid "B<printf>(3)"
1666 msgid "B<vdprintf>()"
1667 msgstr "B<printf>(3)"
1668
1669 #. type: Plain text
1670 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1671 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1672 msgid "GNU, POSIX.1-2008."
1673 msgstr "GNU, POSIX.1-2008."
1674
1675 #. type: SH
1676 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1677 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1678 #, no-wrap
1679 msgid "HISTORY"
1680 msgstr "ИСТОРИЯ"
1681
1682 #. type: Plain text
1683 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1684 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1685 msgid "C89, POSIX.1-2001."
1686 msgstr "C89, POSIX.1-2001."
1687
1688 #. type: Plain text
1689 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1690 #: opensuse-leap-16-1 opensuse-tumbleweed
1691 msgid "Issue 4 of the X/Open Portability Guide (SUSv1, 1994) adds B<\\[aq]>."
1692 msgstr ""
1693
1694 #. #-#-#-#-# archlinux: printf.3.pot (PACKAGE VERSION) #-#-#-#-#
1695 #. Linux libc4 knows about the five C standard flags.
1696 #. It knows about the length modifiers \f[B]h\f[], \f[B]l\f[], \f[B]L\f[],
1697 #. and the conversions
1698 #. \f[B]c\f[], \f[B]d\f[], \f[B]e\f[], \f[B]E\f[], \f[B]f\f[], \f[B]F\f[],
1699 #. \f[B]g\f[], \f[B]G\f[], \f[B]i\f[], \f[B]n\f[], \f[B]o\f[], \f[B]p\f[],
1700 #. \f[B]s\f[], \f[B]u\f[], \f[B]x\f[], and \f[B]X\f[],
1701 #. where \f[B]F\f[] is a synonym for \f[B]f\f[].
1702 #. Additionally, it accepts \f[B]D\f[], \f[B]O\f[], and \f[B]U\f[] as synonyms
1703 #. for \f[B]ld\f[], \f[B]lo\f[], and \f[B]lu\f[].
1704 #. (This is bad, and caused serious bugs later, when
1705 #. support for \f[B]%D\f[] disappeared.)
1706 #. No locale-dependent radix character,
1707 #. no thousands' separator, no NaN or infinity, no "%m$" and "*m$".
1708 #. .P
1709 #. Linux libc5 knows about the five C standard flags and the \[aq] flag,
1710 #. locale, "%m$" and "*m$".
1711 #. It knows about the length modifiers \f[B]h\f[], \f[B]l\f[], \f[B]L\f[],
1712 #. \f[B]Z\f[], and \f[B]q\f[], but accepts \f[B]L\f[] and \f[B]q\f[]
1713 #. both for \f[I]long double\f[] and for \f[I]long long\f[] (this is a bug).
1714 #. It no longer recognizes \f[B]F\f[], \f[B]D\f[], \f[B]O\f[], and \f[B]U\f[],
1715 #. but adds the conversion character
1716 #. .BR m ,
1717 #. which outputs
1718 #. .IR strerror(errno) .
1719 #. .P
1720 #. glibc 2.0 adds conversion characters \f[B]C\f[] and \f[B]S\f[].
1721 #. .P
1722 #. type: Plain text
1723 #. #-#-#-#-# debian-trixie: printf.3.pot (PACKAGE VERSION) #-#-#-#-#
1724 #. Linux libc4 knows about the five C standard flags.
1725 #. It knows about the length modifiers \fBh\fP, \fBl\fP, \fBL\fP,
1726 #. and the conversions
1727 #. \fBc\fP, \fBd\fP, \fBe\fP, \fBE\fP, \fBf\fP, \fBF\fP,
1728 #. \fBg\fP, \fBG\fP, \fBi\fP, \fBn\fP, \fBo\fP, \fBp\fP,
1729 #. \fBs\fP, \fBu\fP, \fBx\fP, and \fBX\fP,
1730 #. where \fBF\fP is a synonym for \fBf\fP.
1731 #. Additionally, it accepts \fBD\fP, \fBO\fP, and \fBU\fP as synonyms
1732 #. for \fBld\fP, \fBlo\fP, and \fBlu\fP.
1733 #. (This is bad, and caused serious bugs later, when
1734 #. support for \fB%D\fP disappeared.)
1735 #. No locale-dependent radix character,
1736 #. no thousands' separator, no NaN or infinity, no "%m$" and "*m$".
1737 #. .P
1738 #. Linux libc5 knows about the five C standard flags and the \[aq] flag,
1739 #. locale, "%m$" and "*m$".
1740 #. It knows about the length modifiers \fBh\fP, \fBl\fP, \fBL\fP,
1741 #. \fBZ\fP, and \fBq\fP, but accepts \fBL\fP and \fBq\fP
1742 #. both for \fIlong double\fP and for \fIlong long\fP (this is a bug).
1743 #. It no longer recognizes \fBF\fP, \fBD\fP, \fBO\fP, and \fBU\fP,
1744 #. but adds the conversion character
1745 #. .BR m ,
1746 #. which outputs
1747 #. .IR strerror(errno) .
1748 #. .P
1749 #. glibc 2.0 adds conversion characters \fBC\fP and \fBS\fP.
1750 #. .P
1751 #. type: Plain text
1752 #. #-#-#-#-# debian-unstable: printf.3.pot (PACKAGE VERSION) #-#-#-#-#
1753 #. Linux libc4 knows about the five C standard flags.
1754 #. It knows about the length modifiers \f[B]h\f[], \f[B]l\f[], \f[B]L\f[],
1755 #. and the conversions
1756 #. \f[B]c\f[], \f[B]d\f[], \f[B]e\f[], \f[B]E\f[], \f[B]f\f[], \f[B]F\f[],
1757 #. \f[B]g\f[], \f[B]G\f[], \f[B]i\f[], \f[B]n\f[], \f[B]o\f[], \f[B]p\f[],
1758 #. \f[B]s\f[], \f[B]u\f[], \f[B]x\f[], and \f[B]X\f[],
1759 #. where \f[B]F\f[] is a synonym for \f[B]f\f[].
1760 #. Additionally, it accepts \f[B]D\f[], \f[B]O\f[], and \f[B]U\f[] as synonyms
1761 #. for \f[B]ld\f[], \f[B]lo\f[], and \f[B]lu\f[].
1762 #. (This is bad, and caused serious bugs later, when
1763 #. support for \f[B]%D\f[] disappeared.)
1764 #. No locale-dependent radix character,
1765 #. no thousands' separator, no NaN or infinity, no "%m$" and "*m$".
1766 #. .P
1767 #. Linux libc5 knows about the five C standard flags and the \[aq] flag,
1768 #. locale, "%m$" and "*m$".
1769 #. It knows about the length modifiers \f[B]h\f[], \f[B]l\f[], \f[B]L\f[],
1770 #. \f[B]Z\f[], and \f[B]q\f[], but accepts \f[B]L\f[] and \f[B]q\f[]
1771 #. both for \f[I]long double\f[] and for \f[I]long long\f[] (this is a bug).
1772 #. It no longer recognizes \f[B]F\f[], \f[B]D\f[], \f[B]O\f[], and \f[B]U\f[],
1773 #. but adds the conversion character
1774 #. .BR m ,
1775 #. which outputs
1776 #. .IR strerror(errno) .
1777 #. .P
1778 #. glibc 2.0 adds conversion characters \f[B]C\f[] and \f[B]S\f[].
1779 #. .P
1780 #. type: Plain text
1781 #. #-#-#-#-# fedora-44: printf.3.pot (PACKAGE VERSION) #-#-#-#-#
1782 #. Linux libc4 knows about the five C standard flags.
1783 #. It knows about the length modifiers \fBh\fP, \fBl\fP, \fBL\fP,
1784 #. and the conversions
1785 #. \fBc\fP, \fBd\fP, \fBe\fP, \fBE\fP, \fBf\fP, \fBF\fP,
1786 #. \fBg\fP, \fBG\fP, \fBi\fP, \fBn\fP, \fBo\fP, \fBp\fP,
1787 #. \fBs\fP, \fBu\fP, \fBx\fP, and \fBX\fP,
1788 #. where \fBF\fP is a synonym for \fBf\fP.
1789 #. Additionally, it accepts \fBD\fP, \fBO\fP, and \fBU\fP as synonyms
1790 #. for \fBld\fP, \fBlo\fP, and \fBlu\fP.
1791 #. (This is bad, and caused serious bugs later, when
1792 #. support for \fB%D\fP disappeared.)
1793 #. No locale-dependent radix character,
1794 #. no thousands' separator, no NaN or infinity, no "%m$" and "*m$".
1795 #. .P
1796 #. Linux libc5 knows about the five C standard flags and the \[aq] flag,
1797 #. locale, "%m$" and "*m$".
1798 #. It knows about the length modifiers \fBh\fP, \fBl\fP, \fBL\fP,
1799 #. \fBZ\fP, and \fBq\fP, but accepts \fBL\fP and \fBq\fP
1800 #. both for \fIlong double\fP and for \fIlong long\fP (this is a bug).
1801 #. It no longer recognizes \fBF\fP, \fBD\fP, \fBO\fP, and \fBU\fP,
1802 #. but adds the conversion character
1803 #. .BR m ,
1804 #. which outputs
1805 #. .IR strerror(errno) .
1806 #. .P
1807 #. glibc 2.0 adds conversion characters \fBC\fP and \fBS\fP.
1808 #. .P
1809 #. type: Plain text
1810 #. #-#-#-#-# fedora-rawhide: printf.3.pot (PACKAGE VERSION) #-#-#-#-#
1811 #. Linux libc4 knows about the five C standard flags.
1812 #. It knows about the length modifiers \fBh\fP, \fBl\fP, \fBL\fP,
1813 #. and the conversions
1814 #. \fBc\fP, \fBd\fP, \fBe\fP, \fBE\fP, \fBf\fP, \fBF\fP,
1815 #. \fBg\fP, \fBG\fP, \fBi\fP, \fBn\fP, \fBo\fP, \fBp\fP,
1816 #. \fBs\fP, \fBu\fP, \fBx\fP, and \fBX\fP,
1817 #. where \fBF\fP is a synonym for \fBf\fP.
1818 #. Additionally, it accepts \fBD\fP, \fBO\fP, and \fBU\fP as synonyms
1819 #. for \fBld\fP, \fBlo\fP, and \fBlu\fP.
1820 #. (This is bad, and caused serious bugs later, when
1821 #. support for \fB%D\fP disappeared.)
1822 #. No locale-dependent radix character,
1823 #. no thousands' separator, no NaN or infinity, no "%m$" and "*m$".
1824 #. .P
1825 #. Linux libc5 knows about the five C standard flags and the \[aq] flag,
1826 #. locale, "%m$" and "*m$".
1827 #. It knows about the length modifiers \fBh\fP, \fBl\fP, \fBL\fP,
1828 #. \fBZ\fP, and \fBq\fP, but accepts \fBL\fP and \fBq\fP
1829 #. both for \fIlong double\fP and for \fIlong long\fP (this is a bug).
1830 #. It no longer recognizes \fBF\fP, \fBD\fP, \fBO\fP, and \fBU\fP,
1831 #. but adds the conversion character
1832 #. .BR m ,
1833 #. which outputs
1834 #. .IR strerror(errno) .
1835 #. .P
1836 #. glibc 2.0 adds conversion characters \fBC\fP and \fBS\fP.
1837 #. .P
1838 #. type: Plain text
1839 #. #-#-#-#-# mageia-cauldron: printf.3.pot (PACKAGE VERSION) #-#-#-#-#
1840 #. Linux libc4 knows about the five C standard flags.
1841 #. It knows about the length modifiers \f[B]h\f[], \f[B]l\f[], \f[B]L\f[],
1842 #. and the conversions
1843 #. \f[B]c\f[], \f[B]d\f[], \f[B]e\f[], \f[B]E\f[], \f[B]f\f[], \f[B]F\f[],
1844 #. \f[B]g\f[], \f[B]G\f[], \f[B]i\f[], \f[B]n\f[], \f[B]o\f[], \f[B]p\f[],
1845 #. \f[B]s\f[], \f[B]u\f[], \f[B]x\f[], and \f[B]X\f[],
1846 #. where \f[B]F\f[] is a synonym for \f[B]f\f[].
1847 #. Additionally, it accepts \f[B]D\f[], \f[B]O\f[], and \f[B]U\f[] as synonyms
1848 #. for \f[B]ld\f[], \f[B]lo\f[], and \f[B]lu\f[].
1849 #. (This is bad, and caused serious bugs later, when
1850 #. support for \f[B]%D\f[] disappeared.)
1851 #. No locale-dependent radix character,
1852 #. no thousands' separator, no NaN or infinity, no "%m$" and "*m$".
1853 #. .P
1854 #. Linux libc5 knows about the five C standard flags and the \[aq] flag,
1855 #. locale, "%m$" and "*m$".
1856 #. It knows about the length modifiers \f[B]h\f[], \f[B]l\f[], \f[B]L\f[],
1857 #. \f[B]Z\f[], and \f[B]q\f[], but accepts \f[B]L\f[] and \f[B]q\f[]
1858 #. both for \f[I]long double\f[] and for \f[I]long long\f[] (this is a bug).
1859 #. It no longer recognizes \f[B]F\f[], \f[B]D\f[], \f[B]O\f[], and \f[B]U\f[],
1860 #. but adds the conversion character
1861 #. .BR m ,
1862 #. which outputs
1863 #. .IR strerror(errno) .
1864 #. .P
1865 #. glibc 2.0 adds conversion characters \f[B]C\f[] and \f[B]S\f[].
1866 #. .P
1867 #. type: Plain text
1868 #. #-#-#-#-# opensuse-leap-16-1: printf.3.pot (PACKAGE VERSION) #-#-#-#-#
1869 #. Linux libc4 knows about the five C standard flags.
1870 #. It knows about the length modifiers \f[B]h\f[], \f[B]l\f[], \f[B]L\f[],
1871 #. and the conversions
1872 #. \f[B]c\f[], \f[B]d\f[], \f[B]e\f[], \f[B]E\f[], \f[B]f\f[], \f[B]F\f[],
1873 #. \f[B]g\f[], \f[B]G\f[], \f[B]i\f[], \f[B]n\f[], \f[B]o\f[], \f[B]p\f[],
1874 #. \f[B]s\f[], \f[B]u\f[], \f[B]x\f[], and \f[B]X\f[],
1875 #. where \f[B]F\f[] is a synonym for \f[B]f\f[].
1876 #. Additionally, it accepts \f[B]D\f[], \f[B]O\f[], and \f[B]U\f[] as synonyms
1877 #. for \f[B]ld\f[], \f[B]lo\f[], and \f[B]lu\f[].
1878 #. (This is bad, and caused serious bugs later, when
1879 #. support for \f[B]%D\f[] disappeared.)
1880 #. No locale-dependent radix character,
1881 #. no thousands' separator, no NaN or infinity, no "%m$" and "*m$".
1882 #. .P
1883 #. Linux libc5 knows about the five C standard flags and the \[aq] flag,
1884 #. locale, "%m$" and "*m$".
1885 #. It knows about the length modifiers \f[B]h\f[], \f[B]l\f[], \f[B]L\f[],
1886 #. \f[B]Z\f[], and \f[B]q\f[], but accepts \f[B]L\f[] and \f[B]q\f[]
1887 #. both for \f[I]long double\f[] and for \f[I]long long\f[] (this is a bug).
1888 #. It no longer recognizes \f[B]F\f[], \f[B]D\f[], \f[B]O\f[], and \f[B]U\f[],
1889 #. but adds the conversion character
1890 #. .BR m ,
1891 #. which outputs
1892 #. .IR strerror(errno) .
1893 #. .P
1894 #. glibc 2.0 adds conversion characters \f[B]C\f[] and \f[B]S\f[].
1895 #. .P
1896 #. type: Plain text
1897 #. #-#-#-#-# opensuse-tumbleweed: printf.3.pot (PACKAGE VERSION) #-#-#-#-#
1898 #. Linux libc4 knows about the five C standard flags.
1899 #. It knows about the length modifiers \f[B]h\f[], \f[B]l\f[], \f[B]L\f[],
1900 #. and the conversions
1901 #. \f[B]c\f[], \f[B]d\f[], \f[B]e\f[], \f[B]E\f[], \f[B]f\f[], \f[B]F\f[],
1902 #. \f[B]g\f[], \f[B]G\f[], \f[B]i\f[], \f[B]n\f[], \f[B]o\f[], \f[B]p\f[],
1903 #. \f[B]s\f[], \f[B]u\f[], \f[B]x\f[], and \f[B]X\f[],
1904 #. where \f[B]F\f[] is a synonym for \f[B]f\f[].
1905 #. Additionally, it accepts \f[B]D\f[], \f[B]O\f[], and \f[B]U\f[] as synonyms
1906 #. for \f[B]ld\f[], \f[B]lo\f[], and \f[B]lu\f[].
1907 #. (This is bad, and caused serious bugs later, when
1908 #. support for \f[B]%D\f[] disappeared.)
1909 #. No locale-dependent radix character,
1910 #. no thousands' separator, no NaN or infinity, no "%m$" and "*m$".
1911 #. .P
1912 #. Linux libc5 knows about the five C standard flags and the \[aq] flag,
1913 #. locale, "%m$" and "*m$".
1914 #. It knows about the length modifiers \f[B]h\f[], \f[B]l\f[], \f[B]L\f[],
1915 #. \f[B]Z\f[], and \f[B]q\f[], but accepts \f[B]L\f[] and \f[B]q\f[]
1916 #. both for \f[I]long double\f[] and for \f[I]long long\f[] (this is a bug).
1917 #. It no longer recognizes \f[B]F\f[], \f[B]D\f[], \f[B]O\f[], and \f[B]U\f[],
1918 #. but adds the conversion character
1919 #. .BR m ,
1920 #. which outputs
1921 #. .IR strerror(errno) .
1922 #. .P
1923 #. glibc 2.0 adds conversion characters \f[B]C\f[] and \f[B]S\f[].
1924 #. .P
1925 #. type: Plain text
1926 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1927 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1928 msgid ""
1929 "glibc 2.1 adds length modifiers B<hh>, B<j>, B<t>, and B<z> and conversion "
1930 "characters B<a> and B<A>."
1931 msgstr ""
1932 "В glibc 2.1 добавлены модификаторы длины B<hh>, B<j>, B<t> и B<z> и символы "
1933 "преобразования B<a> и B<A>."
1934
1935 #. type: Plain text
1936 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1937 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1938 msgid ""
1939 "glibc 2.2 adds the conversion character B<F> with C99 semantics, and the "
1940 "flag character B<I>."
1941 msgstr ""
1942 "В glibc 2.2 добавлен символ преобразования B<F> с семантикой C99, а также "
1943 "флаг B<I>."
1944
1945 #. #-#-#-#-# archlinux: printf.3.pot (PACKAGE VERSION) #-#-#-#-#
1946 #. .SH HISTORY
1947 #. UNIX V7 defines the three routines
1948 #. .BR printf (),
1949 #. .BR fprintf (),
1950 #. .BR sprintf (),
1951 #. and has the flag \-, the width or precision *, the length modifier l,
1952 #. and the conversions doxfegcsu, and also D,O,U,X as synonyms for ld,lo,lu,lx.
1953 #. This is still true for 2.9.1BSD, but 2.10BSD has the flags
1954 #. #, + and <space> and no longer mentions D,O,U,X.
1955 #. 2.11BSD has
1956 #. .BR vprintf (),
1957 #. .BR vfprintf (),
1958 #. .BR vsprintf (),
1959 #. and warns not to use D,O,U,X.
1960 #. 4.3BSD Reno has the flag 0, the length modifiers h and L,
1961 #. and the conversions n, p, E, G, X (with current meaning)
1962 #. and deprecates D,O,U.
1963 #. 4.4BSD introduces the functions
1964 #. .BR snprintf ()
1965 #. and
1966 #. .BR vsnprintf (),
1967 #. and the length modifier q.
1968 #. FreeBSD also has functions
1969 #. .BR asprintf ()
1970 #. and
1971 #. .BR vasprintf (),
1972 #. that allocate a buffer large enough for
1973 #. .BR sprintf ().
1974 #. In glibc there are functions
1975 #. .BR dprintf ()
1976 #. and
1977 #. .BR vdprintf ()
1978 #. that print to a file descriptor instead of a stream.
1979 #. type: Plain text
1980 #. #-#-#-#-# debian-trixie: printf.3.pot (PACKAGE VERSION) #-#-#-#-#
1981 #. type: Plain text
1982 #. #-#-#-#-# debian-unstable: printf.3.pot (PACKAGE VERSION) #-#-#-#-#
1983 #. .SH HISTORY
1984 #. UNIX V7 defines the three routines
1985 #. .BR printf (),
1986 #. .BR fprintf (),
1987 #. .BR sprintf (),
1988 #. and has the flag \-, the width or precision *, the length modifier l,
1989 #. and the conversions doxfegcsu, and also D,O,U,X as synonyms for ld,lo,lu,lx.
1990 #. This is still true for 2.9.1BSD, but 2.10BSD has the flags
1991 #. #, + and <space> and no longer mentions D,O,U,X.
1992 #. 2.11BSD has
1993 #. .BR vprintf (),
1994 #. .BR vfprintf (),
1995 #. .BR vsprintf (),
1996 #. and warns not to use D,O,U,X.
1997 #. 4.3BSD Reno has the flag 0, the length modifiers h and L,
1998 #. and the conversions n, p, E, G, X (with current meaning)
1999 #. and deprecates D,O,U.
2000 #. 4.4BSD introduces the functions
2001 #. .BR snprintf ()
2002 #. and
2003 #. .BR vsnprintf (),
2004 #. and the length modifier q.
2005 #. FreeBSD also has functions
2006 #. .BR asprintf ()
2007 #. and
2008 #. .BR vasprintf (),
2009 #. that allocate a buffer large enough for
2010 #. .BR sprintf ().
2011 #. In glibc there are functions
2012 #. .BR dprintf ()
2013 #. and
2014 #. .BR vdprintf ()
2015 #. that print to a file descriptor instead of a stream.
2016 #. type: Plain text
2017 #. #-#-#-#-# fedora-44: printf.3.pot (PACKAGE VERSION) #-#-#-#-#
2018 #. type: Plain text
2019 #. #-#-#-#-# fedora-rawhide: printf.3.pot (PACKAGE VERSION) #-#-#-#-#
2020 #. type: Plain text
2021 #. #-#-#-#-# mageia-cauldron: printf.3.pot (PACKAGE VERSION) #-#-#-#-#
2022 #. .SH HISTORY
2023 #. UNIX V7 defines the three routines
2024 #. .BR printf (),
2025 #. .BR fprintf (),
2026 #. .BR sprintf (),
2027 #. and has the flag \-, the width or precision *, the length modifier l,
2028 #. and the conversions doxfegcsu, and also D,O,U,X as synonyms for ld,lo,lu,lx.
2029 #. This is still true for 2.9.1BSD, but 2.10BSD has the flags
2030 #. #, + and <space> and no longer mentions D,O,U,X.
2031 #. 2.11BSD has
2032 #. .BR vprintf (),
2033 #. .BR vfprintf (),
2034 #. .BR vsprintf (),
2035 #. and warns not to use D,O,U,X.
2036 #. 4.3BSD Reno has the flag 0, the length modifiers h and L,
2037 #. and the conversions n, p, E, G, X (with current meaning)
2038 #. and deprecates D,O,U.
2039 #. 4.4BSD introduces the functions
2040 #. .BR snprintf ()
2041 #. and
2042 #. .BR vsnprintf (),
2043 #. and the length modifier q.
2044 #. FreeBSD also has functions
2045 #. .BR asprintf ()
2046 #. and
2047 #. .BR vasprintf (),
2048 #. that allocate a buffer large enough for
2049 #. .BR sprintf ().
2050 #. In glibc there are functions
2051 #. .BR dprintf ()
2052 #. and
2053 #. .BR vdprintf ()
2054 #. that print to a file descriptor instead of a stream.
2055 #. type: Plain text
2056 #. #-#-#-#-# opensuse-leap-16-1: printf.3.pot (PACKAGE VERSION) #-#-#-#-#
2057 #. .SH HISTORY
2058 #. UNIX V7 defines the three routines
2059 #. .BR printf (),
2060 #. .BR fprintf (),
2061 #. .BR sprintf (),
2062 #. and has the flag \-, the width or precision *, the length modifier l,
2063 #. and the conversions doxfegcsu, and also D,O,U,X as synonyms for ld,lo,lu,lx.
2064 #. This is still true for 2.9.1BSD, but 2.10BSD has the flags
2065 #. #, + and <space> and no longer mentions D,O,U,X.
2066 #. 2.11BSD has
2067 #. .BR vprintf (),
2068 #. .BR vfprintf (),
2069 #. .BR vsprintf (),
2070 #. and warns not to use D,O,U,X.
2071 #. 4.3BSD Reno has the flag 0, the length modifiers h and L,
2072 #. and the conversions n, p, E, G, X (with current meaning)
2073 #. and deprecates D,O,U.
2074 #. 4.4BSD introduces the functions
2075 #. .BR snprintf ()
2076 #. and
2077 #. .BR vsnprintf (),
2078 #. and the length modifier q.
2079 #. FreeBSD also has functions
2080 #. .BR asprintf ()
2081 #. and
2082 #. .BR vasprintf (),
2083 #. that allocate a buffer large enough for
2084 #. .BR sprintf ().
2085 #. In glibc there are functions
2086 #. .BR dprintf ()
2087 #. and
2088 #. .BR vdprintf ()
2089 #. that print to a file descriptor instead of a stream.
2090 #. type: Plain text
2091 #. #-#-#-#-# opensuse-tumbleweed: printf.3.pot (PACKAGE VERSION) #-#-#-#-#
2092 #. .SH HISTORY
2093 #. UNIX V7 defines the three routines
2094 #. .BR printf (),
2095 #. .BR fprintf (),
2096 #. .BR sprintf (),
2097 #. and has the flag \-, the width or precision *, the length modifier l,
2098 #. and the conversions doxfegcsu, and also D,O,U,X as synonyms for ld,lo,lu,lx.
2099 #. This is still true for 2.9.1BSD, but 2.10BSD has the flags
2100 #. #, + and <space> and no longer mentions D,O,U,X.
2101 #. 2.11BSD has
2102 #. .BR vprintf (),
2103 #. .BR vfprintf (),
2104 #. .BR vsprintf (),
2105 #. and warns not to use D,O,U,X.
2106 #. 4.3BSD Reno has the flag 0, the length modifiers h and L,
2107 #. and the conversions n, p, E, G, X (with current meaning)
2108 #. and deprecates D,O,U.
2109 #. 4.4BSD introduces the functions
2110 #. .BR snprintf ()
2111 #. and
2112 #. .BR vsnprintf (),
2113 #. and the length modifier q.
2114 #. FreeBSD also has functions
2115 #. .BR asprintf ()
2116 #. and
2117 #. .BR vasprintf (),
2118 #. that allocate a buffer large enough for
2119 #. .BR sprintf ().
2120 #. In glibc there are functions
2121 #. .BR dprintf ()
2122 #. and
2123 #. .BR vdprintf ()
2124 #. that print to a file descriptor instead of a stream.
2125 #. type: Plain text
2126 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2127 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2128 msgid ""
2129 "glibc 2.35 gives a meaning to the alternate form (B<#>) of the B<m> "
2130 "conversion specifier, that is I<%#m>."
2131 msgstr ""
2132
2133 #. type: SH
2134 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2135 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2136 #, no-wrap
2137 msgid "BUGS"
2138 msgstr "ПРОГРАММНЫЕ ОШИБКИ"
2139
2140 #. .P
2141 #. Some floating-point conversions under early libc4
2142 #. caused memory leaks.
2143 #. type: Plain text
2144 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2145 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2146 msgid ""
2147 "Code such as B<printf(>I<foo>B<);> often indicates a bug, since I<foo> may "
2148 "contain a % character. If I<foo> comes from untrusted user input, it may "
2149 "contain B<%n>, causing the B<printf>() call to write to memory and creating "
2150 "a security hole."
2151 msgstr ""
2152 "Код, подобный B<printf(>I<foo>B<);> часто означает ошибку, так как I<foo> "
2153 "может содержать символ %. Если содержимое I<foo> пришло из недоверительного "
2154 "пользовательского ввода, то в нём может содержаться B<%n>, из-за чего вызов "
2155 "B<printf>() сделать запись в память и создаст дыру в безопасности."
2156
2157 #. type: SH
2158 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2159 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2160 #, no-wrap
2161 msgid "EXAMPLES"
2162 msgstr "ПРИМЕРЫ"
2163
2164 #. type: Plain text
2165 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2166 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2167 msgid "To print I<Pi> to five decimal places:"
2168 msgstr "Печать I<Pi> с пятью знаками:"
2169
2170 #. type: Plain text
2171 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2172 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2173 #, fuzzy, no-wrap
2174 #| msgid ""
2175 #| "#include E<lt>math.hE<gt>\n"
2176 #| "#include E<lt>stdio.hE<gt>\n"
2177 #| "fprintf(stdout, \"pi = %.5f\\en\", 4 * atan(1.0));\n"
2178 msgid ""
2179 "#include E<lt>math.hE<gt>\n"
2180 "#include E<lt>stdio.hE<gt>\n"
2181 "fprintf(stdout, \"pi = %.5f\\[rs]n\", 4 * atan(1.0));\n"
2182 msgstr ""
2183 "#include E<lt>math.hE<gt>\n"
2184 "#include E<lt>stdio.hE<gt>\n"
2185 "fprintf(stdout, \"pi = %.5f\\en\", 4 * atan(1.0));\n"
2186
2187 #. type: Plain text
2188 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2189 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2190 msgid ""
2191 "To print a date and time in the form \"Sunday, July 3, 10:02\", where "
2192 "I<weekday> and I<month> are pointers to strings:"
2193 msgstr ""
2194 "Печать даты и времени в виде «Sunday, July 3, 10:02», где I<weekday> и "
2195 "I<month> указатели на строки:"
2196
2197 #. type: Plain text
2198 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2199 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2200 #, fuzzy, no-wrap
2201 #| msgid ""
2202 #| "#include E<lt>stdio.hE<gt>\n"
2203 #| "fprintf(stdout, \"%s, %s %d, %.2d:%.2d\\en\",\n"
2204 #| " weekday, month, day, hour, min);\n"
2205 msgid ""
2206 "#include E<lt>stdio.hE<gt>\n"
2207 "fprintf(stdout, \"%s, %s %d, %.2d:%.2d\\[rs]n\",\n"
2208 " weekday, month, day, hour, min);\n"
2209 msgstr ""
2210 "#include E<lt>stdio.hE<gt>\n"
2211 "fprintf(stdout, \"%s, %s %d, %.2d:%.2d\\en\",\n"
2212 " weekday, month, day, hour, min);\n"
2213
2214 #. type: Plain text
2215 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2216 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2217 msgid ""
2218 "Many countries use the day-month-year order. Hence, an internationalized "
2219 "version must be able to print the arguments in an order specified by the "
2220 "format:"
2221 msgstr ""
2222 "Во многих странах используется порядок день-месяц-год. Вот печать аргументов "
2223 "в формате с учётом интернациональности:"
2224
2225 #. type: Plain text
2226 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2227 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2228 #, no-wrap
2229 msgid ""
2230 "#include E<lt>stdio.hE<gt>\n"
2231 "fprintf(stdout, format,\n"
2232 " weekday, month, day, hour, min);\n"
2233 msgstr ""
2234 "#include E<lt>stdio.hE<gt>\n"
2235 "fprintf(stdout, format,\n"
2236 " weekday, month, day, hour, min);\n"
2237
2238 #. type: Plain text
2239 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2240 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2241 msgid ""
2242 "where I<format> depends on locale, and may permute the arguments. With the "
2243 "value:"
2244 msgstr ""
2245 "где I<format> зависит от локали и может переставлять аргументы. Со значением:"
2246
2247 #. type: Plain text
2248 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
2249 #: opensuse-tumbleweed
2250 #, fuzzy, no-wrap
2251 #| msgid "\"%1$s, %3$d. %2$s, %4$d:%5$.2d\\en\"\n"
2252 msgid "\"%1$s, %3$d.\\& %2$s, %4$d:%5$.2d\\[rs]n\"\n"
2253 msgstr "\"%1$s, %3$d. %2$s, %4$d:%5$.2d\\en\"\n"
2254
2255 #. type: Plain text
2256 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
2257 #: opensuse-tumbleweed
2258 #, fuzzy
2259 #| msgid "one might obtain \"Sonntag, 3. Juli, 10:02\"."
2260 msgid "one might obtain \"Sonntag, 3.\\& Juli, 10:02\"."
2261 msgstr "получается «Sonntag, 3. Juli, 10:02»."
2262
2263 #. type: SH
2264 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2265 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2266 #, no-wrap
2267 msgid "SEE ALSO"
2268 msgstr "СМОТРИТЕ ТАКЖЕ"
2269
2270 #. type: Plain text
2271 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
2272 #: opensuse-tumbleweed
2273 #, fuzzy
2274 #| msgid ""
2275 #| "B<printf>(1), B<asprintf>(3), B<puts>(3), B<scanf>(3), B<setlocale>(3), "
2276 #| "B<strfromd>(3), B<wcrtomb>(3), B<wprintf>(3), B<locale>(5)"
2277 msgid ""
2278 "B<printf>(1), B<asprintf>(3), B<puts>(3), B<scanf>(3), B<setlocale>(3), "
2279 "B<snprintf>(3), B<strfromd>(3), B<wcrtomb>(3), B<wprintf>(3), B<locale>(5)"
2280 msgstr ""
2281 "B<printf>(1), B<asprintf>(3), B<puts>(3), B<scanf>(3), B<setlocale>(3), "
2282 "B<strfromd>(3), B<wcrtomb>(3), B<wprintf>(3), B<locale>(5)"
2283
2284 #. type: TH
2285 #: debian-trixie
2286 #, no-wrap
2287 msgid "2024-06-15"
2288 msgstr "15 июня 2024 г."
2289
2290 #. type: TH
2291 #: debian-trixie
2292 #, no-wrap
2293 msgid "Linux man-pages 6.9.1"
2294 msgstr "Страницы руководства Linux 6.9.1"
2295
2296 #. type: Plain text
2297 #: debian-trixie fedora-44 fedora-rawhide
2298 msgid ""
2299 "printf, fprintf, dprintf, sprintf, snprintf, vprintf, vfprintf, vdprintf, "
2300 "vsprintf, vsnprintf - formatted output conversion"
2301 msgstr ""
2302 "printf, fprintf, dprintf, sprintf, snprintf, vprintf, vfprintf, vdprintf, "
2303 "vsprintf, vsnprintf - преобразование форматированного вывода"
2304
2305 #. type: Plain text
2306 #: debian-trixie
2307 msgid "Standard C library (I<libc>, I<-lc>)"
2308 msgstr "Стандартная библиотека языка C (I<libc>, I<-lc>)"
2309
2310 #. type: Plain text
2311 #: debian-trixie fedora-44 fedora-rawhide
2312 #, fuzzy, no-wrap
2313 #| msgid ""
2314 #| "B<int printf(const char *>I<format>B<, ...);>\n"
2315 #| "B<int fprintf(FILE *>I<stream>B<, const char *>I<format>B<, ...);>\n"
2316 #| "B<int dprintf(int >I<fd>B<, const char *>I<format>B<, ...);>\n"
2317 #| "B<int sprintf(char *>I<str>B<, const char *>I<format>B<, ...);>\n"
2318 #| "B<int snprintf(char *>I<str>B<, size_t >I<size>B<, const char *>I<format>B<, ...);>\n"
2319 msgid ""
2320 "B<int printf(const char *restrict >I<format>B<, ...);>\n"
2321 "B<int fprintf(FILE *restrict >I<stream>B<,>\n"
2322 "B< const char *restrict >I<format>B<, ...);>\n"
2323 "B<int dprintf(int >I<fd>B<,>\n"
2324 "B< const char *restrict >I<format>B<, ...);>\n"
2325 "B<int sprintf(char *restrict >I<str>B<,>\n"
2326 "B< const char *restrict >I<format>B<, ...);>\n"
2327 "B<int snprintf(char >I<str>B<[restrict .>I<size>B<], size_t >I<size>B<,>\n"
2328 "B< const char *restrict >I<format>B<, ...);>\n"
2329 msgstr ""
2330 "B<int printf(const char *>I<format>B<, ...);>\n"
2331 "B<int fprintf(FILE *>I<stream>B<, const char *>I<format>B<, ...);>\n"
2332 "B<int dprintf(int >I<fd>B<, const char *>I<format>B<, ...);>\n"
2333 "B<int sprintf(char *>I<str>B<, const char *>I<format>B<, ...);>\n"
2334 "B<int snprintf(char *>I<str>B<, size_t >I<size>B<, const char *>I<format>B<, ...);>\n"
2335
2336 #. type: Plain text
2337 #: debian-trixie fedora-44 fedora-rawhide
2338 #, fuzzy, no-wrap
2339 #| msgid ""
2340 #| "B<int vprintf(const char *>I<format>B<, va_list >I<ap>B<);>\n"
2341 #| "B<int vfprintf(FILE *>I<stream>B<, const char *>I<format>B<, va_list >I<ap>B<);>\n"
2342 #| "B<int vdprintf(int >I<fd>B<, const char *>I<format>B<, va_list >I<ap>B<);>\n"
2343 #| "B<int vsprintf(char *>I<str>B<, const char *>I<format>B<, va_list >I<ap>B<);>\n"
2344 #| "B<int vsnprintf(char *>I<str>B<, size_t >I<size>B<, const char *>I<format>B<, va_list >I<ap>B<);>\n"
2345 msgid ""
2346 "B<int vprintf(const char *restrict >I<format>B<, va_list >I<ap>B<);>\n"
2347 "B<int vfprintf(FILE *restrict >I<stream>B<,>\n"
2348 "B< const char *restrict >I<format>B<, va_list >I<ap>B<);>\n"
2349 "B<int vdprintf(int >I<fd>B<,>\n"
2350 "B< const char *restrict >I<format>B<, va_list >I<ap>B<);>\n"
2351 "B<int vsprintf(char *restrict >I<str>B<,>\n"
2352 "B< const char *restrict >I<format>B<, va_list >I<ap>B<);>\n"
2353 "B<int vsnprintf(char >I<str>B<[restrict .>I<size>B<], size_t >I<size>B<,>\n"
2354 "B< const char *restrict >I<format>B<, va_list >I<ap>B<);>\n"
2355 msgstr ""
2356 "B<int vprintf(const char *>I<format>B<, va_list >I<ap>B<);>\n"
2357 "B<int vfprintf(FILE *>I<stream>B<, const char *>I<format>B<, va_list >I<ap>B<);>\n"
2358 "B<int vdprintf(int >I<fd>B<, const char *>I<format>B<, va_list >I<ap>B<);>\n"
2359 "B<int vsprintf(char *>I<str>B<, const char *>I<format>B<, va_list >I<ap>B<);>\n"
2360 "B<int vsnprintf(char *>I<str>B<, size_t >I<size>B<, const char *>I<format>B<, va_list >I<ap>B<);>\n"
2361
2362 #. type: Plain text
2363 #: debian-trixie fedora-44 fedora-rawhide
2364 msgid "B<snprintf>(), B<vsnprintf>():"
2365 msgstr "B<snprintf>(), B<vsnprintf>():"
2366
2367 #. type: Plain text
2368 #: debian-trixie fedora-44 fedora-rawhide
2369 #, fuzzy, no-wrap
2370 #| msgid ""
2371 #| "_XOPEN_SOURCE\\ E<gt>=\\ 500 || _ISOC99_SOURCE ||\n"
2372 #| " || /* Glibc versions E<lt>= 2.19: */ _BSD_SOURCE\n"
2373 msgid ""
2374 " _XOPEN_SOURCE E<gt>= 500 || _ISOC99_SOURCE\n"
2375 " || /* glibc E<lt>= 2.19: */ _BSD_SOURCE\n"
2376 msgstr ""
2377 "_XOPEN_SOURCE\\ E<gt>=\\ 500 || _ISOC99_SOURCE ||\n"
2378 " || /* версии glibc E<lt>= 2.19: */ _BSD_SOURCE\n"
2379
2380 #. type: Plain text
2381 #: debian-trixie fedora-44 fedora-rawhide
2382 #, fuzzy
2383 #| msgid ""
2384 #| "The functions in the B<printf>() family produce output according to a "
2385 #| "I<format> as described below. The functions B<printf>() and "
2386 #| "B<vprintf>() write output to I<stdout>, the standard output stream; "
2387 #| "B<fprintf>() and B<vfprintf>() write output to the given output "
2388 #| "I<stream>; B<sprintf>(), B<snprintf>(), B<vsprintf>() and "
2389 #| "B<vsnprintf>() write to the character string I<str>."
2390 msgid ""
2391 "The functions in the B<printf>() family produce output according to a "
2392 "I<format> as described below. The functions B<printf>() and B<vprintf>() "
2393 "write output to I<stdout>, the standard output stream; B<fprintf>() and "
2394 "B<vfprintf>() write output to the given output I<stream>; B<sprintf>(), "
2395 "B<snprintf>(), B<vsprintf>(), and B<vsnprintf>() write to the character "
2396 "string I<str>."
2397 msgstr ""
2398 "Функции семейства B<printf>() выводят данные в соответствии с параметром "
2399 "I<format>, описанным ниже. Функции B<printf>() и B<vprintf>() направляют "
2400 "данные в стандартный поток вывода I<stdout>; функции B<fprintf>() и "
2401 "B<vfprintf>() направляют данные в заданный поток вывода I<stream>; функции "
2402 "B<sprintf>(), B<snprintf>(), B<vsprintf>() и B<vsnprintf>() направляют "
2403 "данные в символьную строку I<str>."
2404
2405 #. type: Plain text
2406 #: debian-trixie fedora-44 fedora-rawhide
2407 #, fuzzy
2408 #| msgid ""
2409 #| "The functions B<snprintf>() and B<vsnprintf>() write at most I<size> "
2410 #| "bytes (including the terminating null byte (\\(aq\\e0\\(aq)) to I<str>."
2411 msgid ""
2412 "The functions B<snprintf>() and B<vsnprintf>() write at most I<size> bytes "
2413 "(including the terminating null byte (\\[aq]\\[rs]0\\[aq])) to I<str>."
2414 msgstr ""
2415 "Функции B<snprintf>() и B<vsnprintf>() записывают не более I<size> байт "
2416 "(включая конечный байт null (\\(aq\\e0\\(aq)) в I<str>."
2417
2418 #. type: Plain text
2419 #: debian-trixie fedora-44 fedora-rawhide
2420 msgid ""
2421 "The functions B<vprintf>(), B<vfprintf>(), B<vdprintf>(), B<vsprintf>(), "
2422 "B<vsnprintf>() are equivalent to the functions B<printf>(), B<fprintf>(), "
2423 "B<dprintf>(), B<sprintf>(), B<snprintf>(), respectively, except that they "
2424 "are called with a I<va_list> instead of a variable number of arguments. "
2425 "These functions do not call the I<va_end> macro. Because they invoke the "
2426 "I<va_arg> macro, the value of I<ap> is undefined after the call. See "
2427 "B<stdarg>(3)."
2428 msgstr ""
2429 "Функции B<vprintf>(), B<vfprintf>(), B<vdprintf>(), B<vsprintf>(), "
2430 "B<vsnprintf>() эквивалентны B<printf>(), B<fprintf>(), B<dprintf>(), "
2431 "B<sprintf>(), B<snprintf>(), соответственно, за исключением того, что они "
2432 "вызываются с I<va_list>, а не переменным числом аргументов. Эти функции не "
2433 "вызывают макрос I<va_end>. Так как они вызывают макрос I<va_arg>, значение "
2434 "I<ap> не определено после вызова. Смотрите B<stdarg>(3)."
2435
2436 #. type: Plain text
2437 #: debian-trixie fedora-44 fedora-rawhide
2438 #, fuzzy
2439 #| msgid ""
2440 #| "C99 and POSIX.1-2001 specify that the results are undefined if a call to "
2441 #| "B<sprintf>(), B<snprintf>(), B<vsprintf>(), or B<vsnprintf>() would "
2442 #| "cause copying to take place between objects that overlap (e.g., if the "
2443 #| "target string array and one of the supplied input arguments refer to the "
2444 #| "same buffer). See NOTES."
2445 msgid ""
2446 "C99 and POSIX.1-2001 specify that the results are undefined if a call to "
2447 "B<sprintf>(), B<snprintf>(), B<vsprintf>(), or B<vsnprintf>() would cause "
2448 "copying to take place between objects that overlap (e.g., if the target "
2449 "string array and one of the supplied input arguments refer to the same "
2450 "buffer). See CAVEATS."
2451 msgstr ""
2452 "В C99 и POSIX.1-2001 указано, что результат не определён, если вызов "
2453 "B<sprintf>(), B<snprintf>(), B<vsprintf>() или B<vsnprintf>() привёл бы "
2454 "копированию между перекрывающимися объектами (например, если массив строк "
2455 "назначения и один из указанных входных аргументов ссылаются на один буфер). "
2456 "Смотрите ЗАМЕЧАНИЯ."
2457
2458 #. type: Plain text
2459 #: debian-trixie
2460 #, no-wrap
2461 msgid "%[$][flags][width][.precision][length modifier]conversion\n"
2462 msgstr ""
2463
2464 #. type: Plain text
2465 #: debian-trixie
2466 msgid ""
2467 "The five flag characters above are defined in the C99 standard. The Single "
2468 "UNIX Specification specifies one further flag character."
2469 msgstr ""
2470 "Пять флагов, описанных выше, определены в стандарте C99. В стандарте Single "
2471 "UNIX Specification определён ещё один дополнительный флаг."
2472
2473 #. type: Plain text
2474 #: debian-trixie
2475 #, fuzzy
2476 #| msgid ""
2477 #| "For decimal conversion (B<i>, B<d>, B<u>, B<f>, B<F>, B<g>, B<G>) the "
2478 #| "output is to be grouped with thousands' grouping characters if the locale "
2479 #| "information indicates any. (See B<setlocale>(3).) Note that many "
2480 #| "versions of B<gcc>(1) cannot parse this option and will issue a "
2481 #| "warning. (SUSv2 did not include I<%\\(aqF>, but SUSv3 added it.)"
2482 msgid ""
2483 "For decimal conversion (B<i>, B<d>, B<u>, B<f>, B<F>, B<g>, B<G>) the "
2484 "output is to be grouped with thousands' grouping characters if the locale "
2485 "information indicates any. (See B<setlocale>(3).) Note that many versions "
2486 "of B<gcc>(1) cannot parse this option and will issue a warning. (SUSv2 did "
2487 "not include I<%\\[aq]F>, but SUSv3 added it.) Note also that the default "
2488 "locale of a C program is \"C\" whose locale information indicates no "
2489 "thousands' grouping character. Therefore, without a prior call to "
2490 "B<setlocale>(3), no thousands' grouping characters will be printed."
2491 msgstr ""
2492 "При десятичных преобразованиях (B<i>, B<d>, B<u>, B<f>, B<F>, B<g>, B<G>) "
2493 "результат группируется символом разделителя тысяч, если информация "
2494 "локализации указывает на это (смотрите B<setlocale>(3)). Заметим, что многие "
2495 "версии B<gcc>(1) не могут распознать этот флаг и выводят соответствующее "
2496 "предупреждение (SUSv2 не содержи I<%\\(aqF>, но в SUSv3 его добавили)."
2497
2498 #. type: Plain text
2499 #: debian-trixie fedora-44 fedora-rawhide
2500 #, fuzzy
2501 #| msgid ""
2502 #| "An optional decimal digit string (with nonzero first digit) specifying a "
2503 #| "minimum field width. If the converted value has fewer characters than "
2504 #| "the field width, it will be padded with spaces on the left (or right, if "
2505 #| "the left-adjustment flag has been given). Instead of a decimal digit "
2506 #| "string one may write \"*\" or \"*m$\" (for some decimal integer I<m>) to "
2507 #| "specify that the field width is given in the next argument, or in the "
2508 #| "I<m>-th argument, respectively, which must be of type I<int>. A negative "
2509 #| "field width is taken as a \\(aq-\\(aq flag followed by a positive field "
2510 #| "width. In no case does a nonexistent or small field width cause "
2511 #| "truncation of a field; if the result of a conversion is wider than the "
2512 #| "field width, the field is expanded to contain the conversion result."
2513 msgid ""
2514 "An optional decimal digit string (with nonzero first digit) specifying a "
2515 "minimum field width. If the converted value has fewer characters than the "
2516 "field width, it will be padded with spaces on the left (or right, if the "
2517 "left-adjustment flag has been given). Instead of a decimal digit string one "
2518 "may write \"*\" or \"*m$\" (for some decimal integer I<m>) to specify that "
2519 "the field width is given in the next argument, or in the I<m>-th argument, "
2520 "respectively, which must be of type I<int>. A negative field width is taken "
2521 "as a \\[aq]-\\[aq] flag followed by a positive field width. In no case does "
2522 "a nonexistent or small field width cause truncation of a field; if the "
2523 "result of a conversion is wider than the field width, the field is expanded "
2524 "to contain the conversion result."
2525 msgstr ""
2526 "Необязательная строка из десятичных цифр (с первой цифрой, отличной от нуля) "
2527 "определяет минимальную ширину поля. Если преобразованное значение имеет "
2528 "меньшее количество знаков, чем ширина поля, то оно слева дополняется "
2529 "пробелами (или справа, если указан флаг выравнивания по левому краю). Вместо "
2530 "строки десятичных цифр можно указать «*» или «*m$» (для некоторого "
2531 "десятичного числа I<m>), чтобы определить ширину поля по ширине следующего "
2532 "аргумента или аргумента с номером I<m> (должен быть типа I<int>), "
2533 "соответственно. Отрицательная ширина поля принимается как флаг «-», "
2534 "устанавливающий положительную ширину поля. Несуществующая или небольшая "
2535 "ширина поля не делает его усечённым; если результат преобразования больше "
2536 "ширины поля, то поле расширяется, чтобы вместить в себя преобразованное "
2537 "значение."
2538
2539 #. type: Plain text
2540 #: debian-trixie fedora-44 fedora-rawhide
2541 #, fuzzy
2542 #| msgid ""
2543 #| "An optional precision, in the form of a period (\\(aq.\\(aq) followed by "
2544 #| "an optional decimal digit string. Instead of a decimal digit string one "
2545 #| "may write \"*\" or \"*m$\" (for some decimal integer I<m>) to specify "
2546 #| "that the precision is given in the next argument, or in the I<m>-th "
2547 #| "argument, respectively, which must be of type I<int>. If the precision "
2548 #| "is given as just \\(aq.\\(aq, the precision is taken to be zero. A "
2549 #| "negative precision is taken as if the precision were omitted. This gives "
2550 #| "the minimum number of digits to appear for B<d>, B<i>, B<o>, B<u>, B<x>, "
2551 #| "and B<X> conversions, the number of digits to appear after the radix "
2552 #| "character for B<a>, B<A>, B<e>, B<E>, B<f>, and B<F> conversions, the "
2553 #| "maximum number of significant digits for B<g> and B<G> conversions, or "
2554 #| "the maximum number of characters to be printed from a string for B<s> and "
2555 #| "B<S> conversions."
2556 msgid ""
2557 "An optional precision, in the form of a period (\\[aq].\\[aq]) followed by "
2558 "an optional decimal digit string. Instead of a decimal digit string one may "
2559 "write \"*\" or \"*m$\" (for some decimal integer I<m>) to specify that the "
2560 "precision is given in the next argument, or in the I<m>-th argument, "
2561 "respectively, which must be of type I<int>. If the precision is given as "
2562 "just \\[aq].\\[aq], the precision is taken to be zero. A negative precision "
2563 "is taken as if the precision were omitted. This gives the minimum number of "
2564 "digits to appear for B<d>, B<i>, B<o>, B<u>, B<x>, and B<X> conversions, the "
2565 "number of digits to appear after the radix character for B<a>, B<A>, B<e>, "
2566 "B<E>, B<f>, and B<F> conversions, the maximum number of significant digits "
2567 "for B<g> and B<G> conversions, or the maximum number of characters to be "
2568 "printed from a string for B<s> and B<S> conversions."
2569 msgstr ""
2570 "Необязательный параметр точности в виде знака точки («.») сопровождается "
2571 "необязательной строкой десятичных цифр. Вместо строки десятичных цифр можно "
2572 "указать «*» или «*m$» (для некоторого десятичного числа I<m>), чтобы "
2573 "определить значение точности по следующему аргументу или аргументу с номером "
2574 "I<m> (должен быть типа I<int>), соответственно. Если точность указана как "
2575 "«.», то она обрабатывается как нулевая. Отрицательная точность "
2576 "обрабатывается как если не указывалась совсем. Это позволяет ограничивать "
2577 "количество выводимых символов для преобразований B<d>, B<i>, B<o>, B<u>, "
2578 "B<x> и B<X>; показывать определённое количество цифр после десятичной точки "
2579 "для преобразований B<a>, B<A>, B<e>, B<E>, B<f> и B<F>; показывать "
2580 "максимальное количество значащих цифр для преобразований B<g> и B<G> или "
2581 "максимальное количество символов для печати строк при преобразованиях B<s> и "
2582 "B<S>."
2583
2584 #. type: Plain text
2585 #: debian-trixie
2586 #, fuzzy
2587 #| msgid ""
2588 #| "(C99; not in SUSv2, but added in SUSv3) For B<a> conversion, the "
2589 #| "I<double> argument is converted to hexadecimal notation (using the "
2590 #| "letters abcdef) in the style [-]B<0x>hB<\\&.>hhhhB<p>\\(+-; for B<A> "
2591 #| "conversion the prefix B<0X>, the letters ABCDEF, and the exponent "
2592 #| "separator B<P> is used. There is one hexadecimal digit before the "
2593 #| "decimal point, and the number of digits after it is equal to the "
2594 #| "precision. The default precision suffices for an exact representation of "
2595 #| "the value if an exact representation in base 2 exists and otherwise is "
2596 #| "sufficiently large to distinguish values of type I<double>. The digit "
2597 #| "before the decimal point is unspecified for nonnormalized numbers, and "
2598 #| "nonzero but otherwise unspecified for normalized numbers."
2599 msgid ""
2600 "(C99; not in SUSv2, but added in SUSv3) For B<a> conversion, the I<double> "
2601 "argument is converted to hexadecimal notation (using the letters abcdef) in "
2602 "the style [-]B<0x>hB<\\&.>hhhhB<p>\\(+-d; for B<A> conversion the prefix "
2603 "B<0X>, the letters ABCDEF, and the exponent separator B<P> is used. There "
2604 "is one hexadecimal digit before the decimal point, and the number of digits "
2605 "after it is equal to the precision. The default precision suffices for an "
2606 "exact representation of the value if an exact representation in base 2 "
2607 "exists and otherwise is sufficiently large to distinguish values of type "
2608 "I<double>. The digit before the decimal point is unspecified for "
2609 "nonnormalized numbers, and nonzero but otherwise unspecified for normalized "
2610 "numbers. The exponent always contains at least one digit; if the value is "
2611 "zero, the exponent is 0."
2612 msgstr ""
2613 "(C99; отсутствует в SUSv2, до добавлено в SUSv3) Для преобразования типа "
2614 "B<a> параметр I<double> отображается в шестнадцатеричной форме (с помощью "
2615 "букв abcdef) вида [-]B<0x>hB<\\&.>hhhhB<p>\\(+-; для преобразований типа "
2616 "B<A> используется префикс B<0X>, буквы ABCDEF и и разделитель экспоненты "
2617 "B<P>. Точность равна шестнадцатеричному разряду перед десятичной точкой и "
2618 "количеству цифр после неё. По умолчанию точность принимается равной точному "
2619 "значению разряда, если оно соответствует ему по основанию 2, и в противном "
2620 "случае размер её является достаточным для определения значения типа "
2621 "I<double>. Разряд перед десятичной точкой не определён для ненормализованных "
2622 "чисел и не равен нулю, но не определён для нормализованных чисел."
2623
2624 #. type: Plain text
2625 #: debian-trixie fedora-44 fedora-rawhide
2626 #, fuzzy
2627 #| msgid ""
2628 #| "(Glibc extension; supported by uClibc and musl.) Print output of "
2629 #| "I<strerror(errno)>. No argument is required."
2630 msgid ""
2631 "(glibc extension; supported by uClibc and musl.) Print output of "
2632 "I<strerror(errno)> (or I<strerrorname_np(errno)> in the alternate form). No "
2633 "argument is required."
2634 msgstr ""
2635 "(расширение glibc; поддерживается uClibc и musl) Выводит содержимое "
2636 "I<strerror(errno)>. Параметр не требуется."
2637
2638 #. type: Plain text
2639 #: debian-trixie fedora-44 fedora-rawhide
2640 #, fuzzy
2641 #| msgid ""
2642 #| "The functions B<snprintf>() and B<vsnprintf>() do not write more than "
2643 #| "I<size> bytes (including the terminating null byte (\\(aq\\e0\\(aq)). If "
2644 #| "the output was truncated due to this limit, then the return value is the "
2645 #| "number of characters (excluding the terminating null byte) which would "
2646 #| "have been written to the final string if enough space had been "
2647 #| "available. Thus, a return value of I<size> or more means that the output "
2648 #| "was truncated. (See also below under NOTES.)"
2649 msgid ""
2650 "The functions B<snprintf>() and B<vsnprintf>() do not write more than "
2651 "I<size> bytes (including the terminating null byte (\\[aq]\\[rs]0\\[aq])). "
2652 "If the output was truncated due to this limit, then the return value is the "
2653 "number of characters (excluding the terminating null byte) which would have "
2654 "been written to the final string if enough space had been available. Thus, "
2655 "a return value of I<size> or more means that the output was truncated. (See "
2656 "also below under CAVEATS.)"
2657 msgstr ""
2658 "Функции B<snprintf>() и B<vsnprintf>() записывают не более I<size> байт "
2659 "(включая конечный байт null (\\(aq\\e0\\(aq)). Если вывод был обрезан из-за "
2660 "данного ограничения, то возвращаемое значение это количество символов (не "
2661 "включая конечный байт null), которое было бы записано в результирующую "
2662 "строку, если бы было достаточно места. Таким образом, если возвращённое "
2663 "значение больше или равно I<size>, то вывод был обрезан (также смотрите "
2664 "ЗАМЕЧАНИЯ ниже)."
2665
2666 #. type: Plain text
2667 #: debian-trixie fedora-44 fedora-rawhide
2668 msgid "If an output error is encountered, a negative value is returned."
2669 msgstr "Если возникла ошибка, то возвращается отрицательное значение."
2670
2671 #. type: tbl table
2672 #: debian-trixie fedora-44 fedora-rawhide
2673 #, fuzzy, no-wrap
2674 #| msgid "B<fprintf>(), B<printf>(), B<sprintf>(), B<vprintf>(), B<vfprintf>(), B<vsprintf>(): POSIX.1-2001, POSIX.1-2008, C89, C99."
2675 msgid ""
2676 "B<printf>(),\n"
2677 "B<fprintf>(),\n"
2678 "B<sprintf>(),\n"
2679 "B<snprintf>(),\n"
2680 "B<vprintf>(),\n"
2681 "B<vfprintf>(),\n"
2682 "B<vsprintf>(),\n"
2683 "B<vsnprintf>()"
2684 msgstr "B<fprintf>(), B<printf>(), B<sprintf>(), B<vprintf>(), B<vfprintf>(), B<vsprintf>(): POSIX.1-2001, POSIX.1-2008, C89, C99."
2685
2686 #. type: TQ
2687 #: debian-trixie fedora-44 fedora-rawhide
2688 #, fuzzy, no-wrap
2689 #| msgid "B<printf>(3)"
2690 msgid "B<sprintf>()"
2691 msgstr "B<printf>(3)"
2692
2693 #. type: TQ
2694 #: debian-trixie fedora-44 fedora-rawhide
2695 #, fuzzy, no-wrap
2696 #| msgid "B<printf>(3)"
2697 msgid "B<vsprintf>()"
2698 msgstr "B<printf>(3)"
2699
2700 #. type: TP
2701 #: debian-trixie fedora-44 fedora-rawhide
2702 #, fuzzy, no-wrap
2703 #| msgid "B<printf>(3)"
2704 msgid "B<snprintf>()"
2705 msgstr "B<printf>(3)"
2706
2707 #. type: TQ
2708 #: debian-trixie fedora-44 fedora-rawhide
2709 #, fuzzy, no-wrap
2710 #| msgid "B<printf>(3)"
2711 msgid "B<vsnprintf>()"
2712 msgstr "B<printf>(3)"
2713
2714 #. type: Plain text
2715 #: debian-trixie fedora-44 fedora-rawhide
2716 #, fuzzy
2717 #| msgid "C99, POSIX.1-2001."
2718 msgid "SUSv2, C99, POSIX.1-2001."
2719 msgstr "C99, POSIX.1-2001."
2720
2721 #. type: Plain text
2722 #: debian-trixie fedora-44 fedora-rawhide
2723 msgid ""
2724 "Concerning the return value of B<snprintf>(), SUSv2 and C99 contradict each "
2725 "other: when B<snprintf>() is called with I<size>=0 then SUSv2 stipulates an "
2726 "unspecified return value less than 1, while C99 allows I<str> to be NULL in "
2727 "this case, and gives the return value (as always) as the number of "
2728 "characters that would have been written in case the output string has been "
2729 "large enough. POSIX.1-2001 and later align their specification of "
2730 "B<snprintf>() with C99."
2731 msgstr ""
2732 "Что касается возвращаемого значения B<snprintf>(), то стандарты SUSv2 и C99 "
2733 "противоречат друг другу: когда B<snprintf>() вызывается с I<size>=0, то "
2734 "SUSv2 предусматривает возврат неопределённого значения меньше единицы, а C99 "
2735 "устанавливает в этом случае I<str> равным NULL и возвращает значение (как "
2736 "обычно) в виде количества символов, достаточного для выходной строки. В "
2737 "POSIX.1-2001 и новее поведение B<snprintf>() совпадает с C99."
2738
2739 #. type: SH
2740 #: debian-trixie fedora-44 fedora-rawhide
2741 #, no-wrap
2742 msgid "CAVEATS"
2743 msgstr ""
2744
2745 #. type: Plain text
2746 #: debian-trixie fedora-44 fedora-rawhide
2747 msgid "Some programs imprudently rely on code such as the following"
2748 msgstr "В некоторых программах неосмотрительно используется код"
2749
2750 #. type: Plain text
2751 #: debian-trixie fedora-44 fedora-rawhide
2752 #, fuzzy, no-wrap
2753 #| msgid " sprintf(buf, \"%s some further text\", buf);\n"
2754 msgid "sprintf(buf, \"%s some further text\", buf);\n"
2755 msgstr " sprintf(buf, \"%s some further text\", buf);\n"
2756
2757 #. http://sourceware.org/bugzilla/show_bug.cgi?id=7075
2758 #. type: Plain text
2759 #: debian-trixie fedora-44 fedora-rawhide
2760 msgid ""
2761 "to append text to I<buf>. However, the standards explicitly note that the "
2762 "results are undefined if source and destination buffers overlap when calling "
2763 "B<sprintf>(), B<snprintf>(), B<vsprintf>(), and B<vsnprintf>(). Depending "
2764 "on the version of B<gcc>(1) used, and the compiler options employed, calls "
2765 "such as the above will B<not> produce the expected results."
2766 msgstr ""
2767 "для добавления текста в I<buf>. Однако в стандартах явно сказано, что "
2768 "результат не определён, если буферы источника и приёмника перекрываются при "
2769 "вызовах B<sprintf>(), B<snprintf>(), B<vsprintf>() и B<vsnprintf>(). В "
2770 "зависимости о версии B<gcc>(1) и указанных параметрах компилятора, подобные "
2771 "вызовы B<не> приводят к ожидаемым результатам."
2772
2773 #. .SH HISTORY
2774 #. UNIX V7 defines the three routines
2775 #. .BR printf (),
2776 #. .BR fprintf (),
2777 #. .BR sprintf (),
2778 #. and has the flag \-, the width or precision *, the length modifier l,
2779 #. and the conversions doxfegcsu, and also D,O,U,X as synonyms for ld,lo,lu,lx.
2780 #. This is still true for 2.9.1BSD, but 2.10BSD has the flags
2781 #. #, + and <space> and no longer mentions D,O,U,X.
2782 #. 2.11BSD has
2783 #. .BR vprintf (),
2784 #. .BR vfprintf (),
2785 #. .BR vsprintf (),
2786 #. and warns not to use D,O,U,X.
2787 #. 4.3BSD Reno has the flag 0, the length modifiers h and L,
2788 #. and the conversions n, p, E, G, X (with current meaning)
2789 #. and deprecates D,O,U.
2790 #. 4.4BSD introduces the functions
2791 #. .BR snprintf ()
2792 #. and
2793 #. .BR vsnprintf (),
2794 #. and the length modifier q.
2795 #. FreeBSD also has functions
2796 #. .BR asprintf ()
2797 #. and
2798 #. .BR vasprintf (),
2799 #. that allocate a buffer large enough for
2800 #. .BR sprintf ().
2801 #. In glibc there are functions
2802 #. .BR dprintf ()
2803 #. and
2804 #. .BR vdprintf ()
2805 #. that print to a file descriptor instead of a stream.
2806 #. type: Plain text
2807 #: debian-trixie fedora-44 fedora-rawhide
2808 #, fuzzy
2809 #| msgid ""
2810 #| "The glibc implementation of the functions B<snprintf>() and "
2811 #| "B<vsnprintf>() conforms to the C99 standard, that is, behaves as "
2812 #| "described above, since glibc version 2.1. Until glibc 2.0.6, they would "
2813 #| "return -1 when the output was truncated."
2814 msgid ""
2815 "The glibc implementation of the functions B<snprintf>() and B<vsnprintf>() "
2816 "conforms to the C99 standard, that is, behaves as described above, since "
2817 "glibc 2.1. Until glibc 2.0.6, they would return -1 when the output was "
2818 "truncated."
2819 msgstr ""
2820 "Реализация функций B<snprintf>() и B<vsnprintf>() в glibc 2.1 соответствует "
2821 "стандарту C99 как было описано выше. До glibc 2.0.6, они возвращали -1 при "
2822 "обрезанном выводе."
2823
2824 #. .P
2825 #. Linux libc4.[45] does not have a
2826 #. .BR snprintf (),
2827 #. but provides a libbsd that contains an
2828 #. .BR snprintf ()
2829 #. equivalent to
2830 #. .BR sprintf (),
2831 #. that is, one that ignores the
2832 #. .I size
2833 #. argument.
2834 #. Thus, the use of
2835 #. .BR snprintf ()
2836 #. with early libc4 leads to serious security problems.
2837 #. type: Plain text
2838 #: debian-trixie fedora-44 fedora-rawhide
2839 msgid ""
2840 "Because B<sprintf>() and B<vsprintf>() assume an arbitrarily long string, "
2841 "callers must be careful not to overflow the actual space; this is often "
2842 "impossible to assure. Note that the length of the strings produced is "
2843 "locale-dependent and difficult to predict. Use B<snprintf>() and "
2844 "B<vsnprintf>() instead (or B<asprintf>(3) and B<vasprintf>(3))."
2845 msgstr ""
2846 "Так как B<sprintf>() и B<vsprintf>() работают со строкой произвольной длины, "
2847 "вызывающие должны стараться не переполнить реальное пространство; часто это "
2848 "невозможно гарантировать. Заметим, что длина получаемых строк зависит от "
2849 "локали и её сложно предсказать. Вместо них используйте B<snprintf>() и "
2850 "B<vsnprintf>() (или B<asprintf>(3) и B<vasprintf>(3))."
2851
2852 #. type: Plain text
2853 #: debian-trixie fedora-44 fedora-rawhide
2854 #, fuzzy, no-wrap
2855 #| msgid "\"%1$s, %3$d. %2$s, %4$d:%5$.2d\\en\"\n"
2856 msgid "\"%1$s, %3$d. %2$s, %4$d:%5$.2d\\[rs]n\"\n"
2857 msgstr "\"%1$s, %3$d. %2$s, %4$d:%5$.2d\\en\"\n"
2858
2859 #. type: Plain text
2860 #: debian-trixie fedora-44 fedora-rawhide
2861 msgid "one might obtain \"Sonntag, 3. Juli, 10:02\"."
2862 msgstr "получается «Sonntag, 3. Juli, 10:02»."
2863
2864 #. type: Plain text
2865 #: debian-trixie fedora-44 fedora-rawhide
2866 msgid ""
2867 "To allocate a sufficiently large string and print into it (code correct for "
2868 "both glibc 2.0 and glibc 2.1):"
2869 msgstr ""
2870 "Выделение достаточно большой строки и печать в неё (код работает и с glibc "
2871 "2.0, и с glibc 2.1):"
2872
2873 #. type: Plain text
2874 #: debian-trixie fedora-44 fedora-rawhide
2875 #, no-wrap
2876 msgid ""
2877 "#include E<lt>stdio.hE<gt>\n"
2878 "#include E<lt>stdlib.hE<gt>\n"
2879 "#include E<lt>stdarg.hE<gt>\n"
2880 "\\&\n"
2881 "char *\n"
2882 "make_message(const char *fmt, ...)\n"
2883 "{\n"
2884 " int n = 0;\n"
2885 " size_t size = 0;\n"
2886 " char *p = NULL;\n"
2887 " va_list ap;\n"
2888 "\\&\n"
2889 " /* Determine required size. */\n"
2890 "\\&\n"
2891 " va_start(ap, fmt);\n"
2892 " n = vsnprintf(p, size, fmt, ap);\n"
2893 " va_end(ap);\n"
2894 "\\&\n"
2895 " if (n E<lt> 0)\n"
2896 " return NULL;\n"
2897 "\\&\n"
2898 " size = (size_t) n + 1; /* One extra byte for \\[aq]\\[rs]0\\[aq] */\n"
2899 " p = malloc(size);\n"
2900 " if (p == NULL)\n"
2901 " return NULL;\n"
2902 "\\&\n"
2903 " va_start(ap, fmt);\n"
2904 " n = vsnprintf(p, size, fmt, ap);\n"
2905 " va_end(ap);\n"
2906 "\\&\n"
2907 " if (n E<lt> 0) {\n"
2908 " free(p);\n"
2909 " return NULL;\n"
2910 " }\n"
2911 "\\&\n"
2912 " return p;\n"
2913 "}\n"
2914 msgstr ""
2915
2916 #. type: Plain text
2917 #: debian-trixie fedora-44 fedora-rawhide
2918 #, fuzzy
2919 #| msgid ""
2920 #| "If truncation occurs in glibc versions prior to 2.0.6, this is treated as "
2921 #| "an error instead of being handled gracefully."
2922 msgid ""
2923 "If truncation occurs in glibc versions prior to glibc 2.0.6, this is treated "
2924 "as an error instead of being handled gracefully."
2925 msgstr ""
2926 "Если происходит обрезание в версиях glibc до 2.0.6, то это считается ошибкой."
2927
2928 #. type: Plain text
2929 #: debian-trixie fedora-44 fedora-rawhide
2930 msgid ""
2931 "B<printf>(1), B<asprintf>(3), B<puts>(3), B<scanf>(3), B<setlocale>(3), "
2932 "B<strfromd>(3), B<wcrtomb>(3), B<wprintf>(3), B<locale>(5)"
2933 msgstr ""
2934 "B<printf>(1), B<asprintf>(3), B<puts>(3), B<scanf>(3), B<setlocale>(3), "
2935 "B<strfromd>(3), B<wcrtomb>(3), B<wprintf>(3), B<locale>(5)"
2936
2937 #. type: TH
2938 #: fedora-44 fedora-rawhide
2939 #, no-wrap
2940 msgid "2024-11-17"
2941 msgstr "17 ноября 2024 г."
2942
2943 #. type: TH
2944 #: fedora-44 fedora-rawhide
2945 #, no-wrap
2946 msgid "Linux man-pages 6.13"
2947 msgstr "Страницы руководства Linux 6.13"
2948
2949 #. type: TH
2950 #: mageia-cauldron
2951 #, no-wrap
2952 msgid "2026-02-08"
2953 msgstr "8 февраля 2026 г."
2954
2955 #. type: TH
2956 #: mageia-cauldron
2957 #, no-wrap
2958 msgid "Linux man-pages 6.17"
2959 msgstr "Страницы руководства Linux 6.17"
2960
2961 #. type: TH
2962 #: opensuse-leap-16-1 opensuse-tumbleweed
2963 #, no-wrap
2964 msgid "Linux man-pages (unreleased)"
2965 msgstr "Страницы руководства Linux (не выпущены)"