| 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:39+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 "random_r" |
| 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 "" |
| 50 |
"random_r, srandom_r, initstate_r, setstate_r - reentrant random number " |
| 51 |
"generator" |
| 52 |
msgstr "" |
| 53 |
|
| 54 |
#. type: SH |
| 55 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 56 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 57 |
#, no-wrap |
| 58 |
msgid "LIBRARY" |
| 59 |
msgstr "" |
| 60 |
|
| 61 |
#. type: Plain text |
| 62 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 63 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 64 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 65 |
msgstr "" |
| 66 |
|
| 67 |
#. type: SH |
| 68 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 69 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 70 |
#, no-wrap |
| 71 |
msgid "SYNOPSIS" |
| 72 |
msgstr "" |
| 73 |
|
| 74 |
#. type: Plain text |
| 75 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 76 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 77 |
#, no-wrap |
| 78 |
msgid "B<#include E<lt>stdlib.hE<gt>>\n" |
| 79 |
msgstr "" |
| 80 |
|
| 81 |
#. type: Plain text |
| 82 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 83 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 84 |
#, no-wrap |
| 85 |
msgid "" |
| 86 |
"B<int random_r(struct random_data *restrict >I<buf>B<,>\n" |
| 87 |
"B< int32_t *restrict >I<result>B<);>\n" |
| 88 |
"B<int srandom_r(unsigned int >I<seed>B<, struct random_data *>I<buf>B<);>\n" |
| 89 |
msgstr "" |
| 90 |
|
| 91 |
#. type: Plain text |
| 92 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 93 |
#: opensuse-tumbleweed |
| 94 |
#, no-wrap |
| 95 |
msgid "" |
| 96 |
"B<int initstate_r(unsigned int >I<seed>B<,>\n" |
| 97 |
"B< char >I<statebuf>B<[restrict .>I<statelen>B<], size_t >I<statelen>B<,>\n" |
| 98 |
"B< struct random_data *restrict >I<buf>B<);>\n" |
| 99 |
"B<int setstate_r(char *restrict >I<statebuf>B<,>\n" |
| 100 |
"B< struct random_data *restrict >I<buf>B<);>\n" |
| 101 |
msgstr "" |
| 102 |
|
| 103 |
#. type: Plain text |
| 104 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 105 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 106 |
msgid "" |
| 107 |
"Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):" |
| 108 |
msgstr "" |
| 109 |
|
| 110 |
#. type: Plain text |
| 111 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 112 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 113 |
msgid "B<random_r>(), B<srandom_r>(), B<initstate_r>(), B<setstate_r>():" |
| 114 |
msgstr "" |
| 115 |
|
| 116 |
#. type: Plain text |
| 117 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 118 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 119 |
#, no-wrap |
| 120 |
msgid "" |
| 121 |
" /* glibc E<gt>= 2.19: */ _DEFAULT_SOURCE\n" |
| 122 |
" || /* glibc E<lt>= 2.19: */ _SVID_SOURCE || _BSD_SOURCE\n" |
| 123 |
msgstr "" |
| 124 |
|
| 125 |
#. type: SH |
| 126 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 127 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 128 |
#, no-wrap |
| 129 |
msgid "DESCRIPTION" |
| 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 |
"These functions are the reentrant equivalents of the functions described in " |
| 137 |
"B<random>(3). They are suitable for use in multithreaded programs where " |
| 138 |
"each thread needs to obtain an independent, reproducible sequence of random " |
| 139 |
"numbers." |
| 140 |
msgstr "" |
| 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 |
"The B<random_r>() function is like B<random>(3), except that instead of " |
| 147 |
"using state information maintained in a global variable, it uses the state " |
| 148 |
"information in the argument pointed to by I<buf>, which must have been " |
| 149 |
"previously initialized by B<initstate_r>(). The generated random number is " |
| 150 |
"returned in the argument I<result>." |
| 151 |
msgstr "" |
| 152 |
|
| 153 |
#. type: Plain text |
| 154 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 155 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 156 |
msgid "" |
| 157 |
"The B<srandom_r>() function is like B<srandom>(3), except that it " |
| 158 |
"initializes the seed for the random number generator whose state is " |
| 159 |
"maintained in the object pointed to by I<buf>, which must have been " |
| 160 |
"previously initialized by B<initstate_r>(), instead of the seed associated " |
| 161 |
"with the global state variable." |
| 162 |
msgstr "" |
| 163 |
|
| 164 |
#. type: Plain text |
| 165 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 166 |
#: opensuse-tumbleweed |
| 167 |
msgid "" |
| 168 |
"The B<initstate_r>() function is like B<initstate>(3), except that it " |
| 169 |
"initializes the state in the object pointed to by I<buf>, rather than " |
| 170 |
"initializing the global state variable. Before calling this function, the " |
| 171 |
"I<buf.state> field must be initialized to NULL. The B<initstate_r>() " |
| 172 |
"function records a pointer to the I<statebuf> argument inside the structure " |
| 173 |
"pointed to by I<buf>. Thus, I<statebuf> should not be deallocated so long " |
| 174 |
"as I<buf> is still in use. (So, I<statebuf> should typically be allocated " |
| 175 |
"as a static variable, or allocated on the heap using B<malloc>(3) or " |
| 176 |
"similar.)" |
| 177 |
msgstr "" |
| 178 |
|
| 179 |
#. type: Plain text |
| 180 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 181 |
#: opensuse-tumbleweed |
| 182 |
msgid "" |
| 183 |
"The B<setstate_r>() function is like B<setstate>(3), except that it " |
| 184 |
"modifies the state in the object pointed to by I<buf>, rather than modifying " |
| 185 |
"the global state variable. I<state> must first have been initialized using " |
| 186 |
"B<initstate_r>() or be the result of a previous call of B<setstate_r>()." |
| 187 |
msgstr "" |
| 188 |
|
| 189 |
#. type: SH |
| 190 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 191 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 192 |
#, no-wrap |
| 193 |
msgid "RETURN VALUE" |
| 194 |
msgstr "" |
| 195 |
|
| 196 |
#. type: Plain text |
| 197 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 198 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 199 |
msgid "" |
| 200 |
"All of these functions return 0 on success. On error, -1 is returned, with " |
| 201 |
"I<errno> set to indicate the error." |
| 202 |
msgstr "" |
| 203 |
|
| 204 |
#. type: SH |
| 205 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 206 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 207 |
#, no-wrap |
| 208 |
msgid "ERRORS" |
| 209 |
msgstr "" |
| 210 |
|
| 211 |
#. type: TP |
| 212 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 213 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 214 |
#, no-wrap |
| 215 |
msgid "B<EINVAL>" |
| 216 |
msgstr "" |
| 217 |
|
| 218 |
#. type: Plain text |
| 219 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 220 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 221 |
msgid "A state array of less than 8 bytes was specified to B<initstate_r>()." |
| 222 |
msgstr "" |
| 223 |
|
| 224 |
#. type: Plain text |
| 225 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 226 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 227 |
msgid "The I<statebuf> or I<buf> argument to B<setstate_r>() was NULL." |
| 228 |
msgstr "" |
| 229 |
|
| 230 |
#. type: Plain text |
| 231 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 232 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 233 |
msgid "The I<buf> or I<result> argument to B<random_r>() was NULL." |
| 234 |
msgstr "" |
| 235 |
|
| 236 |
#. type: SH |
| 237 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 238 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 239 |
#, no-wrap |
| 240 |
msgid "ATTRIBUTES" |
| 241 |
msgstr "" |
| 242 |
|
| 243 |
#. type: Plain text |
| 244 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 245 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 246 |
msgid "" |
| 247 |
"For an explanation of the terms used in this section, see B<attributes>(7)." |
| 248 |
msgstr "" |
| 249 |
|
| 250 |
#. type: tbl table |
| 251 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 252 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 253 |
#, no-wrap |
| 254 |
msgid "Interface" |
| 255 |
msgstr "" |
| 256 |
|
| 257 |
#. type: tbl table |
| 258 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 259 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 260 |
#, no-wrap |
| 261 |
msgid "Attribute" |
| 262 |
msgstr "" |
| 263 |
|
| 264 |
#. type: tbl table |
| 265 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 266 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 267 |
#, no-wrap |
| 268 |
msgid "Value" |
| 269 |
msgstr "" |
| 270 |
|
| 271 |
#. type: tbl table |
| 272 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 273 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 274 |
#, no-wrap |
| 275 |
msgid ".na\n" |
| 276 |
msgstr "" |
| 277 |
|
| 278 |
#. type: tbl table |
| 279 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 280 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 281 |
#, no-wrap |
| 282 |
msgid ".nh\n" |
| 283 |
msgstr "" |
| 284 |
|
| 285 |
#. type: tbl table |
| 286 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 287 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 288 |
#, no-wrap |
| 289 |
msgid "" |
| 290 |
"B<random_r>(),\n" |
| 291 |
"B<srandom_r>(),\n" |
| 292 |
"B<initstate_r>(),\n" |
| 293 |
"B<setstate_r>()" |
| 294 |
msgstr "" |
| 295 |
|
| 296 |
#. type: tbl table |
| 297 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 298 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 299 |
#, no-wrap |
| 300 |
msgid "Thread safety" |
| 301 |
msgstr "" |
| 302 |
|
| 303 |
#. type: tbl table |
| 304 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 305 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 306 |
#, no-wrap |
| 307 |
msgid "MT-Safe race:buf" |
| 308 |
msgstr "" |
| 309 |
|
| 310 |
#. type: SH |
| 311 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 312 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 313 |
#, no-wrap |
| 314 |
msgid "STANDARDS" |
| 315 |
msgstr "" |
| 316 |
|
| 317 |
#. These functions appear to be on Tru64, but don't seem to be on |
| 318 |
#. Solaris, HP-UX, or FreeBSD. |
| 319 |
#. type: Plain text |
| 320 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 321 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 322 |
msgid "GNU." |
| 323 |
msgstr "" |
| 324 |
|
| 325 |
#. type: SH |
| 326 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 327 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 328 |
#, no-wrap |
| 329 |
msgid "BUGS" |
| 330 |
msgstr "" |
| 331 |
|
| 332 |
#. FIXME . https://sourceware.org/bugzilla/show_bug.cgi?id=3662 |
| 333 |
#. type: Plain text |
| 334 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 335 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 336 |
msgid "" |
| 337 |
"The B<initstate_r>() interface is confusing. It appears that the " |
| 338 |
"I<random_data> type is intended to be opaque, but the implementation " |
| 339 |
"requires the user to either initialize the I<buf.state> field to NULL or " |
| 340 |
"zero out the entire structure before the call." |
| 341 |
msgstr "" |
| 342 |
|
| 343 |
#. type: SH |
| 344 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 345 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 346 |
#, no-wrap |
| 347 |
msgid "SEE ALSO" |
| 348 |
msgstr "" |
| 349 |
|
| 350 |
#. type: Plain text |
| 351 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 352 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 353 |
msgid "B<drand48>(3), B<rand>(3), B<random>(3)" |
| 354 |
msgstr "" |
| 355 |
|
| 356 |
#. type: TH |
| 357 |
#: debian-trixie |
| 358 |
#, no-wrap |
| 359 |
msgid "2024-05-02" |
| 360 |
msgstr "" |
| 361 |
|
| 362 |
#. type: TH |
| 363 |
#: debian-trixie |
| 364 |
#, no-wrap |
| 365 |
msgid "Linux man-pages 6.9.1" |
| 366 |
msgstr "" |
| 367 |
|
| 368 |
#. type: Plain text |
| 369 |
#: debian-trixie |
| 370 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 371 |
msgstr "" |
| 372 |
|
| 373 |
#. type: Plain text |
| 374 |
#: debian-trixie fedora-44 fedora-rawhide |
| 375 |
#, no-wrap |
| 376 |
msgid "" |
| 377 |
"B<int initstate_r(unsigned int >I<seed>B<, char >I<statebuf>B<[restrict .>I<statelen>B<],>\n" |
| 378 |
"B< size_t >I<statelen>B<, struct random_data *restrict >I<buf>B<);>\n" |
| 379 |
"B<int setstate_r(char *restrict >I<statebuf>B<,>\n" |
| 380 |
"B< struct random_data *restrict >I<buf>B<);>\n" |
| 381 |
msgstr "" |
| 382 |
|
| 383 |
#. type: Plain text |
| 384 |
#: debian-trixie fedora-44 fedora-rawhide |
| 385 |
msgid "" |
| 386 |
"The B<initstate_r>() function is like B<initstate>(3) except that it " |
| 387 |
"initializes the state in the object pointed to by I<buf>, rather than " |
| 388 |
"initializing the global state variable. Before calling this function, the " |
| 389 |
"I<buf.state> field must be initialized to NULL. The B<initstate_r>() " |
| 390 |
"function records a pointer to the I<statebuf> argument inside the structure " |
| 391 |
"pointed to by I<buf>. Thus, I<statebuf> should not be deallocated so long " |
| 392 |
"as I<buf> is still in use. (So, I<statebuf> should typically be allocated " |
| 393 |
"as a static variable, or allocated on the heap using B<malloc>(3) or " |
| 394 |
"similar.)" |
| 395 |
msgstr "" |
| 396 |
|
| 397 |
#. type: Plain text |
| 398 |
#: debian-trixie fedora-44 fedora-rawhide |
| 399 |
msgid "" |
| 400 |
"The B<setstate_r>() function is like B<setstate>(3) except that it " |
| 401 |
"modifies the state in the object pointed to by I<buf>, rather than modifying " |
| 402 |
"the global state variable. I<state> must first have been initialized using " |
| 403 |
"B<initstate_r>() or be the result of a previous call of B<setstate_r>()." |
| 404 |
msgstr "" |
| 405 |
|
| 406 |
#. type: TH |
| 407 |
#: fedora-44 fedora-rawhide |
| 408 |
#, no-wrap |
| 409 |
msgid "2024-07-23" |
| 410 |
msgstr "" |
| 411 |
|
| 412 |
#. type: TH |
| 413 |
#: fedora-44 fedora-rawhide |
| 414 |
#, no-wrap |
| 415 |
msgid "Linux man-pages 6.13" |
| 416 |
msgstr "" |
| 417 |
|
| 418 |
#. type: TH |
| 419 |
#: mageia-cauldron |
| 420 |
#, no-wrap |
| 421 |
msgid "Linux man-pages 6.17" |
| 422 |
msgstr "" |
| 423 |
|
| 424 |
#. type: TH |
| 425 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 426 |
#, no-wrap |
| 427 |
msgid "Linux man-pages (unreleased)" |
| 428 |
msgstr "" |