Debian Codegraph @

templates/man2/getrandom.2.pot

raw
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "POT-Creation-Date: 2026-06-05 06:25+0200\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <[email protected]>\n"
14 "Language: \n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18
19 #. type: TH
20 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
21 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
22 #, no-wrap
23 msgid "getrandom"
24 msgstr ""
25
26 #. type: TH
27 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
28 #: opensuse-tumbleweed
29 #, no-wrap
30 msgid "2026-02-08"
31 msgstr ""
32
33 #. type: TH
34 #: archlinux debian-unstable
35 #, no-wrap
36 msgid "Linux man-pages 6.18"
37 msgstr ""
38
39 #. type: SH
40 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
41 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
42 #, no-wrap
43 msgid "NAME"
44 msgstr ""
45
46 #. type: Plain text
47 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
48 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
49 msgid "getrandom - obtain a series of random bytes"
50 msgstr ""
51
52 #. type: SH
53 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
54 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
55 #, no-wrap
56 msgid "LIBRARY"
57 msgstr ""
58
59 #. type: Plain text
60 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
61 #: opensuse-leap-16-1 opensuse-tumbleweed
62 msgid "Standard C library (I<libc>,\\ I<-lc>)"
63 msgstr ""
64
65 #. type: SH
66 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
67 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
68 #, no-wrap
69 msgid "SYNOPSIS"
70 msgstr ""
71
72 #. type: Plain text
73 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
74 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
75 #, no-wrap
76 msgid "B<#include E<lt>sys/random.hE<gt>>\n"
77 msgstr ""
78
79 #. type: Plain text
80 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
81 #: opensuse-tumbleweed
82 #, no-wrap
83 msgid ""
84 "B<ssize_t getrandom(>size_t size;\n"
85 "B< void >I<buf>B<[>I<size>B<], size_t >I<size>B<, unsigned int >I<flags>B<);>\n"
86 msgstr ""
87
88 #. type: SH
89 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
90 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
91 #, no-wrap
92 msgid "DESCRIPTION"
93 msgstr ""
94
95 #. type: Plain text
96 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
97 #: opensuse-tumbleweed
98 msgid ""
99 "The B<getrandom>() system call fills the buffer pointed to by I<buf> with "
100 "up to I<size> random bytes. These bytes can be used to seed user-space "
101 "random number generators or for cryptographic purposes."
102 msgstr ""
103
104 #. type: Plain text
105 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
106 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
107 msgid ""
108 "By default, B<getrandom>() draws entropy from the I<urandom> source (i.e., "
109 "the same source as the I</dev/urandom> device). This behavior can be "
110 "changed via the I<flags> argument."
111 msgstr ""
112
113 #. type: Plain text
114 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
115 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
116 msgid ""
117 "If the I<urandom> source has been initialized, reads of up to 256 bytes will "
118 "always return as many bytes as requested and will not be interrupted by "
119 "signals. No such guarantees apply for larger buffer sizes. For example, if "
120 "the call is interrupted by a signal handler, it may return a partially "
121 "filled buffer, or fail with the error B<EINTR>."
122 msgstr ""
123
124 #. type: Plain text
125 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
126 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
127 msgid ""
128 "If the I<urandom> source has not yet been initialized, then B<getrandom>() "
129 "will block, unless B<GRND_NONBLOCK> is specified in I<flags>."
130 msgstr ""
131
132 #. type: Plain text
133 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
134 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
135 msgid ""
136 "The I<flags> argument is a bit mask that can contain zero or more of the "
137 "following values ORed together:"
138 msgstr ""
139
140 #. type: TP
141 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
142 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
143 #, no-wrap
144 msgid "B<GRND_RANDOM>"
145 msgstr ""
146
147 #. type: Plain text
148 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
149 #: opensuse-tumbleweed
150 msgid ""
151 "If this bit is set, then random bytes are drawn from the I<random> source "
152 "(i.e., the same source as the I</dev/random> device) instead of the "
153 "I<urandom> source. The I<random> source is limited based on the entropy "
154 "that can be obtained from environmental noise. If the number of available "
155 "bytes in the I<random> source is less than requested in I<size>, the call "
156 "returns just the available random bytes. If no random bytes are available, "
157 "the behavior depends on the presence of B<GRND_NONBLOCK> in the I<flags> "
158 "argument."
159 msgstr ""
160
161 #. type: TP
162 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
163 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
164 #, no-wrap
165 msgid "B<GRND_NONBLOCK>"
166 msgstr ""
167
168 #. type: Plain text
169 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
170 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
171 msgid ""
172 "By default, when reading from the I<random> source, B<getrandom>() blocks "
173 "if no random bytes are available, and when reading from the I<urandom> "
174 "source, it blocks if the entropy pool has not yet been initialized. If the "
175 "B<GRND_NONBLOCK> flag is set, then B<getrandom>() does not block in these "
176 "cases, but instead immediately returns -1 with I<errno> set to B<EAGAIN>."
177 msgstr ""
178
179 #. type: SH
180 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
181 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
182 #, no-wrap
183 msgid "RETURN VALUE"
184 msgstr ""
185
186 #. type: Plain text
187 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
188 #: opensuse-tumbleweed
189 msgid ""
190 "On success, B<getrandom>() returns the number of bytes that were copied to "
191 "the buffer I<buf>. This may be less than the number of bytes requested via "
192 "I<size> if either B<GRND_RANDOM> was specified in I<flags> and insufficient "
193 "entropy was present in the I<random> source or the system call was "
194 "interrupted by a signal."
195 msgstr ""
196
197 #. type: Plain text
198 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
199 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
200 msgid "On error, -1 is returned, and I<errno> is set to indicate the error."
201 msgstr ""
202
203 #. type: SH
204 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
205 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
206 #, no-wrap
207 msgid "ERRORS"
208 msgstr ""
209
210 #. type: TP
211 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
212 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
213 #, no-wrap
214 msgid "B<EAGAIN>"
215 msgstr ""
216
217 #. type: Plain text
218 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
219 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
220 msgid ""
221 "The requested entropy was not available, and B<getrandom>() would have "
222 "blocked if the B<GRND_NONBLOCK> flag was not set."
223 msgstr ""
224
225 #. type: TP
226 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
227 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
228 #, no-wrap
229 msgid "B<EFAULT>"
230 msgstr ""
231
232 #. type: Plain text
233 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
234 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
235 msgid ""
236 "The address referred to by I<buf> is outside the accessible address space."
237 msgstr ""
238
239 #. type: TP
240 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
241 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
242 #, no-wrap
243 msgid "B<EINTR>"
244 msgstr ""
245
246 #. type: Plain text
247 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
248 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
249 msgid ""
250 "The call was interrupted by a signal handler; see the description of how "
251 "interrupted B<read>(2) calls on \"slow\" devices are handled with and "
252 "without the B<SA_RESTART> flag in the B<signal>(7) man page."
253 msgstr ""
254
255 #. type: TP
256 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
257 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
258 #, no-wrap
259 msgid "B<EINVAL>"
260 msgstr ""
261
262 #. type: Plain text
263 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
264 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
265 msgid "An invalid flag was specified in I<flags>."
266 msgstr ""
267
268 #. type: TP
269 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
270 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
271 #, no-wrap
272 msgid "B<ENOSYS>"
273 msgstr ""
274
275 #. type: Plain text
276 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
277 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
278 msgid ""
279 "The glibc wrapper function for B<getrandom>() determined that the "
280 "underlying kernel does not implement this system call."
281 msgstr ""
282
283 #. type: SH
284 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
285 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
286 #, no-wrap
287 msgid "STANDARDS"
288 msgstr ""
289
290 #. type: Plain text
291 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
292 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
293 msgid "Linux."
294 msgstr ""
295
296 #. type: SH
297 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
298 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
299 #, no-wrap
300 msgid "HISTORY"
301 msgstr ""
302
303 #. type: Plain text
304 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
305 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
306 msgid "Linux 3.17, glibc 2.25."
307 msgstr ""
308
309 #. type: SH
310 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
311 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
312 #, no-wrap
313 msgid "NOTES"
314 msgstr ""
315
316 #. type: Plain text
317 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
318 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
319 msgid ""
320 "For an overview and comparison of the various interfaces that can be used to "
321 "obtain randomness, see B<random>(7)."
322 msgstr ""
323
324 #. type: Plain text
325 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
326 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
327 msgid ""
328 "Unlike I</dev/random> and I</dev/urandom>, B<getrandom>() does not involve "
329 "the use of pathnames or file descriptors. Thus, B<getrandom>() can be "
330 "useful in cases where B<chroot>(2) makes I</dev> pathnames invisible, and "
331 "where an application (e.g., a daemon during start-up) closes a file "
332 "descriptor for one of these files that was opened by a library."
333 msgstr ""
334
335 #. type: SS
336 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
337 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
338 #, no-wrap
339 msgid "Maximum number of bytes returned"
340 msgstr ""
341
342 #. type: Plain text
343 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
344 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
345 msgid "As of Linux 3.19 the following limits apply:"
346 msgstr ""
347
348 #. type: IP
349 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
350 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
351 #, no-wrap
352 msgid "\\[bu]"
353 msgstr ""
354
355 #. type: Plain text
356 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
357 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
358 msgid ""
359 "When reading from the I<urandom> source, a maximum of 32Mi-1 bytes is "
360 "returned by a single call to B<getrandom>() on systems where I<int> has a "
361 "size of 32 bits."
362 msgstr ""
363
364 #. type: Plain text
365 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
366 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
367 msgid ""
368 "When reading from the I<random> source, a maximum of 512 bytes is returned."
369 msgstr ""
370
371 #. type: SS
372 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
373 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
374 #, no-wrap
375 msgid "Interruption by a signal handler"
376 msgstr ""
377
378 #. type: Plain text
379 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
380 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
381 msgid ""
382 "When reading from the I<urandom> source (B<GRND_RANDOM> is not set), "
383 "B<getrandom>() will block until the entropy pool has been initialized "
384 "(unless the B<GRND_NONBLOCK> flag was specified). If a request is made to "
385 "read a large number of bytes (more than 256), B<getrandom>() will block "
386 "until those bytes have been generated and transferred from kernel memory to "
387 "I<buf>. When reading from the I<random> source (B<GRND_RANDOM> is set), "
388 "B<getrandom>() will block until some random bytes become available (unless "
389 "the B<GRND_NONBLOCK> flag was specified)."
390 msgstr ""
391
392 #. type: Plain text
393 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
394 #: opensuse-tumbleweed
395 msgid ""
396 "The behavior when a call to B<getrandom>() that is blocked while reading "
397 "from the I<urandom> source is interrupted by a signal handler depends on the "
398 "initialization state of the entropy buffer and on the request size, "
399 "I<size>. If the entropy is not yet initialized, then the call fails with "
400 "the B<EINTR> error. If the entropy pool has been initialized and the "
401 "request size is large (I<size>\\ E<gt>\\ 256), the call either succeeds, "
402 "returning a partially filled buffer, or fails with the error B<EINTR>. If "
403 "the entropy pool has been initialized and the request size is small "
404 "(I<size>\\ E<lt>=\\ 256), then B<getrandom>() will not fail with B<EINTR>. "
405 "Instead, it will return all of the bytes that have been requested."
406 msgstr ""
407
408 #. type: Plain text
409 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
410 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
411 msgid ""
412 "When reading from the I<random> source, blocking requests of any size can be "
413 "interrupted by a signal handler (the call fails with the error B<EINTR>)."
414 msgstr ""
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 msgid ""
420 "Using B<getrandom>() to read small buffers (E<lt>=\\ 256 bytes) from the "
421 "I<urandom> source is the preferred mode of usage."
422 msgstr ""
423
424 #. type: Plain text
425 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
426 #: opensuse-tumbleweed
427 msgid ""
428 "The special treatment of small values of I<size> was designed for "
429 "compatibility with OpenBSD's B<getentropy>(3), which is nowadays supported "
430 "by glibc."
431 msgstr ""
432
433 #. type: Plain text
434 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
435 #: opensuse-tumbleweed
436 msgid ""
437 "The user of B<getrandom>() I<must> always check the return value, to "
438 "determine whether either an error occurred or fewer bytes than requested "
439 "were returned. In the case where B<GRND_RANDOM> is not specified and "
440 "I<size> is less than or equal to 256, a return of fewer bytes than requested "
441 "should never happen, but the careful programmer will check for this anyway!"
442 msgstr ""
443
444 #. type: SH
445 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
446 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
447 #, no-wrap
448 msgid "BUGS"
449 msgstr ""
450
451 #. FIXME patch proposed https://lkml.org/lkml/2014/11/29/16
452 #. type: Plain text
453 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
454 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
455 msgid "As of Linux 3.19, the following bug exists:"
456 msgstr ""
457
458 #. type: Plain text
459 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
460 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
461 msgid ""
462 "Depending on CPU load, B<getrandom>() does not react to interrupts before "
463 "reading all bytes requested."
464 msgstr ""
465
466 #. type: SH
467 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
468 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
469 #, no-wrap
470 msgid "SEE ALSO"
471 msgstr ""
472
473 #. type: Plain text
474 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
475 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
476 msgid ""
477 "B<getentropy>(3), B<random>(4), B<urandom>(4), B<random>(7), B<signal>(7)"
478 msgstr ""
479
480 #. type: TH
481 #: debian-trixie
482 #, no-wrap
483 msgid "2024-05-02"
484 msgstr ""
485
486 #. type: TH
487 #: debian-trixie
488 #, no-wrap
489 msgid "Linux man-pages 6.9.1"
490 msgstr ""
491
492 #. type: Plain text
493 #: debian-trixie
494 msgid "Standard C library (I<libc>, I<-lc>)"
495 msgstr ""
496
497 #. type: Plain text
498 #: debian-trixie fedora-44 fedora-rawhide
499 #, no-wrap
500 msgid "B<ssize_t getrandom(void >I<buf>B<[.>I<buflen>B<], size_t >I<buflen>B<, unsigned int >I<flags>B<);>\n"
501 msgstr ""
502
503 #. type: Plain text
504 #: debian-trixie fedora-44 fedora-rawhide
505 msgid ""
506 "The B<getrandom>() system call fills the buffer pointed to by I<buf> with "
507 "up to I<buflen> random bytes. These bytes can be used to seed user-space "
508 "random number generators or for cryptographic purposes."
509 msgstr ""
510
511 #. type: Plain text
512 #: debian-trixie fedora-44 fedora-rawhide
513 msgid ""
514 "If this bit is set, then random bytes are drawn from the I<random> source "
515 "(i.e., the same source as the I</dev/random> device) instead of the "
516 "I<urandom> source. The I<random> source is limited based on the entropy "
517 "that can be obtained from environmental noise. If the number of available "
518 "bytes in the I<random> source is less than requested in I<buflen>, the call "
519 "returns just the available random bytes. If no random bytes are available, "
520 "the behavior depends on the presence of B<GRND_NONBLOCK> in the I<flags> "
521 "argument."
522 msgstr ""
523
524 #. type: Plain text
525 #: debian-trixie fedora-44 fedora-rawhide
526 msgid ""
527 "On success, B<getrandom>() returns the number of bytes that were copied to "
528 "the buffer I<buf>. This may be less than the number of bytes requested via "
529 "I<buflen> if either B<GRND_RANDOM> was specified in I<flags> and "
530 "insufficient entropy was present in the I<random> source or the system call "
531 "was interrupted by a signal."
532 msgstr ""
533
534 #. type: Plain text
535 #: debian-trixie fedora-44 fedora-rawhide
536 msgid ""
537 "The behavior when a call to B<getrandom>() that is blocked while reading "
538 "from the I<urandom> source is interrupted by a signal handler depends on the "
539 "initialization state of the entropy buffer and on the request size, "
540 "I<buflen>. If the entropy is not yet initialized, then the call fails with "
541 "the B<EINTR> error. If the entropy pool has been initialized and the "
542 "request size is large (I<buflen>\\ E<gt>\\ 256), the call either succeeds, "
543 "returning a partially filled buffer, or fails with the error B<EINTR>. If "
544 "the entropy pool has been initialized and the request size is small "
545 "(I<buflen>\\ E<lt>=\\ 256), then B<getrandom>() will not fail with "
546 "B<EINTR>. Instead, it will return all of the bytes that have been requested."
547 msgstr ""
548
549 #. type: Plain text
550 #: debian-trixie fedora-44 fedora-rawhide
551 msgid ""
552 "The special treatment of small values of I<buflen> was designed for "
553 "compatibility with OpenBSD's B<getentropy>(3), which is nowadays supported "
554 "by glibc."
555 msgstr ""
556
557 #. type: Plain text
558 #: debian-trixie fedora-44 fedora-rawhide
559 msgid ""
560 "The user of B<getrandom>() I<must> always check the return value, to "
561 "determine whether either an error occurred or fewer bytes than requested "
562 "were returned. In the case where B<GRND_RANDOM> is not specified and "
563 "I<buflen> is less than or equal to 256, a return of fewer bytes than "
564 "requested should never happen, but the careful programmer will check for "
565 "this anyway!"
566 msgstr ""
567
568 #. type: TH
569 #: fedora-44 fedora-rawhide
570 #, no-wrap
571 msgid "2024-07-23"
572 msgstr ""
573
574 #. type: TH
575 #: fedora-44 fedora-rawhide
576 #, no-wrap
577 msgid "Linux man-pages 6.13"
578 msgstr ""
579
580 #. type: TH
581 #: mageia-cauldron
582 #, no-wrap
583 msgid "Linux man-pages 6.17"
584 msgstr ""
585
586 #. type: TH
587 #: opensuse-leap-16-1 opensuse-tumbleweed
588 #, no-wrap
589 msgid "Linux man-pages (unreleased)"
590 msgstr ""