Debian Codegraph @

po/ko/man3/rand.3.po

raw
1 # Korean translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # 정강훈 <[email protected]>, 2001.
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: manpages-l10n\n"
8 "POT-Creation-Date: 2026-06-05 06:39+0200\n"
9 "PO-Revision-Date: 2001-03-09 08:57+0900\n"
10 "Last-Translator: 정강훈 <[email protected]>\n"
11 "Language-Team: Korean <[email protected]>\n"
12 "Language: ko\n"
13 "MIME-Version: 1.0\n"
14 "Content-Type: text/plain; charset=UTF-8\n"
15 "Content-Transfer-Encoding: 8bit\n"
16 "Plural-Forms: nplurals=1; plural=0;\n"
17
18 #. type: TH
19 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
20 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
21 #, no-wrap
22 msgid "rand"
23 msgstr "rand"
24
25 #. type: TH
26 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
27 #: opensuse-tumbleweed
28 #, no-wrap
29 msgid "2026-02-08"
30 msgstr "2026년 2월 8일"
31
32 #. type: TH
33 #: archlinux debian-unstable
34 #, no-wrap
35 msgid "Linux man-pages 6.18"
36 msgstr "Linux man-pages 6.18"
37
38 #. type: SH
39 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
40 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
41 #, no-wrap
42 msgid "NAME"
43 msgstr "이름"
44
45 #. type: Plain text
46 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
47 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
48 #, fuzzy
49 #| msgid "rand, srand - random number generator."
50 msgid "rand, rand_r, srand - pseudo-random number generator"
51 msgstr "rand, srand - random 수 생성기."
52
53 #. type: SH
54 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
55 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
56 #, no-wrap
57 msgid "LIBRARY"
58 msgstr "라이브러리"
59
60 #. type: Plain text
61 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
62 #: opensuse-leap-16-1 opensuse-tumbleweed
63 msgid "Standard C library (I<libc>,\\ I<-lc>)"
64 msgstr "표준 C 라이브러리 (I<libc>,\\ I<-lc>)"
65
66 #. type: SH
67 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
68 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
69 #, no-wrap
70 msgid "SYNOPSIS"
71 msgstr "요약"
72
73 #. type: Plain text
74 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
75 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
76 #, no-wrap
77 msgid "B<#include E<lt>stdlib.hE<gt>>\n"
78 msgstr "B<#include E<lt>stdlib.hE<gt>>\n"
79
80 #. type: Plain text
81 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
82 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
83 #, no-wrap
84 msgid ""
85 "B<int rand(void);>\n"
86 "B<void srand(unsigned int >I<seed>B<);>\n"
87 msgstr ""
88 "B<int rand(void);>\n"
89 "B<void srand(unsigned int >I<seed>B<);>\n"
90
91 #. type: Plain text
92 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
93 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
94 #, fuzzy, no-wrap
95 #| msgid "B<void srand(unsigned int >I<seed>B<);>\n"
96 msgid "B<[[deprecated]] int rand_r(unsigned int *>I<seedp>B<);>\n"
97 msgstr "B<void srand(unsigned int >I<seed>B<);>\n"
98
99 #. type: Plain text
100 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
101 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
102 msgid ""
103 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
104 msgstr "c"
105
106 #. type: Plain text
107 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
108 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
109 msgid "B<rand_r>():"
110 msgstr "B<rand_r>():"
111
112 #. type: Plain text
113 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
114 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
115 #, no-wrap
116 msgid ""
117 " Since glibc 2.24:\n"
118 " _POSIX_C_SOURCE E<gt>= 199506L\n"
119 " glibc 2.23 and earlier\n"
120 " _POSIX_C_SOURCE\n"
121 msgstr ""
122
123 #. type: SH
124 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
125 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
126 #, no-wrap
127 msgid "DESCRIPTION"
128 msgstr "설명"
129
130 #. type: Plain text
131 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
132 #: opensuse-tumbleweed
133 #, fuzzy
134 #| msgid ""
135 #| "The B<rand()> function returns a pseudo-random integer between 0 and "
136 #| "B<RAND_MAX>."
137 msgid ""
138 "The B<rand>() function returns a pseudo-random integer in the range 0 to "
139 "B<RAND_MAX> inclusive (i.e., the mathematical range [B<0>,\\ B<RAND_MAX>])."
140 msgstr "B<rand()> 함수는 0과 B<RAND_MAX>사이의 pseudo-random 정수를 리턴한다."
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<srand>() function sets its argument as the seed for a new sequence of "
147 "pseudo-random integers to be returned by B<rand>(). These sequences are "
148 "repeatable by calling B<srand>() with the same seed value."
149 msgstr ""
150 "B<srand>() 함수는 인자를 B<rand>()가 리턴하는 pseudo-random 정수의 새로운 연"
151 "속된 수들을 위한 종자로 설정한다. 이들 연속된 수들은 같은 seed 값으로 "
152 "B<srand>()를 호출하여 반복된다."
153
154 #. type: Plain text
155 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
156 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
157 msgid ""
158 "If no seed value is provided, the B<rand>() function is automatically "
159 "seeded with a value of 1."
160 msgstr ""
161 "만일 어떤 seed 값도 제공되지 않는다면, B<rand>() 함수는 자동적으로 1 값으로 "
162 "종자가 된다."
163
164 #. type: Plain text
165 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
166 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
167 msgid ""
168 "The function B<rand>() is not reentrant, since it uses hidden state that is "
169 "modified on each call. This might just be the seed value to be used by the "
170 "next call, or it might be something more elaborate. In order to get "
171 "reproducible behavior in a threaded application, this state must be made "
172 "explicit; this can be done using the reentrant function B<rand_r>()."
173 msgstr ""
174
175 #. type: Plain text
176 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
177 #: opensuse-tumbleweed
178 msgid ""
179 "Like B<rand>(), B<rand_r>() returns a pseudo-random integer in the range "
180 "[B<0>,\\ B<RAND_MAX>]. The I<seedp> argument is a pointer to an I<unsigned "
181 "int> that is used to store state between calls. If B<rand_r>() is called "
182 "with the same initial value for the integer pointed to by I<seedp>, and that "
183 "value is not modified between calls, then the same pseudo-random sequence "
184 "will result."
185 msgstr ""
186
187 #. type: Plain text
188 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
189 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
190 msgid ""
191 "The value pointed to by the I<seedp> argument of B<rand_r>() provides only "
192 "a very small amount of state, so this function will be a weak pseudo-random "
193 "generator. Try B<drand48_r>(3) instead."
194 msgstr ""
195
196 #. type: SH
197 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
198 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
199 #, no-wrap
200 msgid "RETURN VALUE"
201 msgstr "반환값"
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 B<rand()> function returns a value between 0 and RAND_MAX. The "
209 #| "B<srand()> returns no value."
210 msgid ""
211 "The B<rand>() and B<rand_r>() functions return a value between 0 and "
212 "B<RAND_MAX> (inclusive). The B<srand>() function returns no value."
213 msgstr ""
214 "B<rand()> 함수는 0과 RAND_MAX사이의 값을 반환한다. B<srand()>는 어떤 값도 반"
215 "환하지 않는다."
216
217 #. type: SH
218 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
219 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
220 #, no-wrap
221 msgid "ATTRIBUTES"
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 ""
228 "For an explanation of the terms used in this section, see B<attributes>(7)."
229 msgstr ""
230 "이 섹션에서 사용되는 용어에 대한 설명은 B<attributes>(7)을 참조하십시오."
231
232 #. type: tbl table
233 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
234 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
235 #, no-wrap
236 msgid "Interface"
237 msgstr "상호 작용"
238
239 #. type: tbl table
240 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
241 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
242 #, no-wrap
243 msgid "Attribute"
244 msgstr "속성"
245
246 #. type: tbl table
247 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
248 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
249 #, no-wrap
250 msgid "Value"
251 msgstr "번호"
252
253 #. type: tbl table
254 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
255 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
256 #, no-wrap
257 msgid ".na\n"
258 msgstr ".na\n"
259
260 #. type: tbl table
261 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
262 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
263 #, no-wrap
264 msgid ".nh\n"
265 msgstr ".nh\n"
266
267 #. type: tbl table
268 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
269 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
270 #, no-wrap
271 msgid ""
272 "B<rand>(),\n"
273 "B<rand_r>(),\n"
274 "B<srand>()"
275 msgstr ""
276 "B<rand>(),\n"
277 "B<rand_r>(),\n"
278 "B<srand>()"
279
280 #. type: tbl table
281 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
282 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
283 #, no-wrap
284 msgid "Thread safety"
285 msgstr ""
286
287 #. type: tbl table
288 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
289 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
290 #, no-wrap
291 msgid "MT-Safe"
292 msgstr "MT-Safe"
293
294 #. type: SH
295 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
296 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
297 #, no-wrap
298 msgid "VERSIONS"
299 msgstr "버전S"
300
301 #. type: Plain text
302 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
303 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
304 #, fuzzy
305 #| msgid ""
306 #| "The versions of B<rand()> and B<srand()> in the Linux C Library use the "
307 #| "same random number generator as B<random()> and B<srandom()>, so the "
308 #| "lower-order bits should be as random as the higher-order bits. However, "
309 #| "on older B<rand()> implementations, the lower-order bits are much less "
310 #| "random than the higher-order bits."
311 msgid ""
312 "The versions of B<rand>() and B<srand>() in the Linux C Library use the "
313 "same random number generator as B<random>(3) and B<srandom>(3), so the "
314 "lower-order bits should be as random as the higher-order bits. However, on "
315 "older B<rand>() implementations, and on current implementations on "
316 "different systems, the lower-order bits are much less random than the higher-"
317 "order bits. Do not use this function in applications intended to be "
318 "portable when good randomness is needed. (Use B<random>(3) instead.)"
319 msgstr ""
320 "Linux C 라이브러리의 B<rand()>와 B<srand()> 버전은 B<random()>와 B<srandom()>"
321 "처럼 같은 random 수 생성기를 사용한다. 그래서 lower-order bit 들은 higher-"
322 "order bit들 만큼 랜덤하다. 그러나, 예전 B<rand()> 작동에서, lower-order bit"
323 "들은 higher-order bit들보다 덜 랜덤했다."
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 "STANDARDS"
330 msgstr "표준"
331
332 #. type: TP
333 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
334 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
335 #, fuzzy, no-wrap
336 #| msgid "B<rand_r>():"
337 msgid "B<rand>()"
338 msgstr "B<rand_r>():"
339
340 #. type: TQ
341 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
342 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
343 #, fuzzy, no-wrap
344 #| msgid "B<rand_r>():"
345 msgid "B<srand>()"
346 msgstr "B<rand_r>():"
347
348 #. type: Plain text
349 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
350 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
351 msgid "C11, POSIX.1-2008."
352 msgstr "C11, POSIX.1-2008."
353
354 #. type: TP
355 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
356 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
357 #, fuzzy, no-wrap
358 #| msgid "B<rand_r>():"
359 msgid "B<rand_r>()"
360 msgstr "B<rand_r>():"
361
362 #. type: Plain text
363 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
364 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
365 msgid "POSIX.1-2008."
366 msgstr "POSIX.1-2008."
367
368 #. type: SH
369 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
370 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
371 #, no-wrap
372 msgid "HISTORY"
373 msgstr "이력"
374
375 #. type: Plain text
376 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
377 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
378 msgid "SVr4, 4.3BSD, C89, POSIX.1-2001."
379 msgstr "SVr4, 4.3BSD, C89, POSIX.1-2001."
380
381 #. type: Plain text
382 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
383 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
384 #, fuzzy
385 #| msgid "POSIX.1-2001, POSIX.1-2008."
386 msgid "POSIX.1-2001. Obsolete in POSIX.1-2008."
387 msgstr "POSIX.1-2001, POSIX.1-2008."
388
389 #. type: SH
390 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
391 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
392 #, no-wrap
393 msgid "EXAMPLES"
394 msgstr "폐제"
395
396 #. type: Plain text
397 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
398 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
399 msgid ""
400 "POSIX.1-2001 gives the following example of an implementation of B<rand>() "
401 "and B<srand>(), possibly useful when one needs the same sequence on two "
402 "different machines."
403 msgstr ""
404
405 #. type: Plain text
406 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
407 #: opensuse-leap-16-1 opensuse-tumbleweed
408 #, fuzzy, no-wrap
409 #| msgid ""
410 #| "/* RAND_MAX assumed to be 32767 */\n"
411 #| "int myrand(void) {\n"
412 #| " next = next * 1103515245 + 12345;\n"
413 #| " return((unsigned)(next/65536) % 32768);\n"
414 #| "}\n"
415 msgid ""
416 "static unsigned long next = 1;\n"
417 "\\&\n"
418 "/* RAND_MAX assumed to be 32767 */\n"
419 "int myrand(void) {\n"
420 " next = next * 1103515245 + 12345;\n"
421 " return((unsigned) (next/65536) % 32768);\n"
422 "}\n"
423 "\\&\n"
424 "void mysrand(unsigned int seed) {\n"
425 " next = seed;\n"
426 "}\n"
427 msgstr ""
428 "/* RAND_MAX assumed to be 32767 */\n"
429 "int myrand(void) {\n"
430 " next = next * 1103515245 + 12345;\n"
431 " return((unsigned)(next/65536) % 32768);\n"
432 "}\n"
433
434 #. type: Plain text
435 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
436 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
437 msgid ""
438 "The following program can be used to display the pseudo-random sequence "
439 "produced by B<rand>() when given a particular seed. When the seed is "
440 "I<-1>, the program uses a random seed."
441 msgstr ""
442
443 #. type: Plain text
444 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
445 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
446 #, no-wrap
447 msgid ""
448 "#include E<lt>stdio.hE<gt>\n"
449 "#include E<lt>stdlib.hE<gt>\n"
450 "\\&\n"
451 "int\n"
452 "main(int argc, char *argv[])\n"
453 "{\n"
454 " int r;\n"
455 " unsigned int seed, nloops;\n"
456 "\\&\n"
457 " if (argc != 3) {\n"
458 " fprintf(stderr, \"Usage: %s E<lt>seedE<gt> E<lt>nloopsE<gt>\\[rs]n\", argv[0]);\n"
459 " exit(EXIT_FAILURE);\n"
460 " }\n"
461 "\\&\n"
462 " seed = atoi(argv[1]);\n"
463 " nloops = atoi(argv[2]);\n"
464 "\\&\n"
465 " if (seed == -1) {\n"
466 " seed = arc4random();\n"
467 " printf(\"seed: %u\\[rs]n\", seed);\n"
468 " }\n"
469 "\\&\n"
470 " srand(seed);\n"
471 " for (unsigned int j = 0; j E<lt> nloops; j++) {\n"
472 " r = rand();\n"
473 " printf(\"%d\\[rs]n\", r);\n"
474 " }\n"
475 "\\&\n"
476 " exit(EXIT_SUCCESS);\n"
477 "}\n"
478 msgstr ""
479
480 #. type: SH
481 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
482 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
483 #, no-wrap
484 msgid "SEE ALSO"
485 msgstr "추가 참조"
486
487 #. type: Plain text
488 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
489 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
490 msgid "B<drand48>(3), B<random>(3)"
491 msgstr "B<drand48>(3), B<random>(3)"
492
493 #. type: TH
494 #: debian-trixie
495 #, no-wrap
496 msgid "2024-06-15"
497 msgstr "2024년 6월 15일"
498
499 #. type: TH
500 #: debian-trixie
501 #, no-wrap
502 msgid "Linux man-pages 6.9.1"
503 msgstr "Linux man-pages 6.9.1"
504
505 #. type: Plain text
506 #: debian-trixie
507 msgid "Standard C library (I<libc>, I<-lc>)"
508 msgstr "표준 C 라이브러리 (I<libc>, I<-lc>)"
509
510 #. type: Plain text
511 #: debian-trixie fedora-44 fedora-rawhide
512 #, fuzzy
513 #| msgid ""
514 #| "The B<rand()> function returns a pseudo-random integer between 0 and "
515 #| "B<RAND_MAX>."
516 msgid ""
517 "The B<rand>() function returns a pseudo-random integer in the range 0 to "
518 "B<RAND_MAX> inclusive (i.e., the mathematical range [0,\\ B<RAND_MAX>])."
519 msgstr "B<rand()> 함수는 0과 B<RAND_MAX>사이의 pseudo-random 정수를 리턴한다."
520
521 #. type: Plain text
522 #: debian-trixie fedora-44 fedora-rawhide
523 msgid ""
524 "Like B<rand>(), B<rand_r>() returns a pseudo-random integer in the range "
525 "[0,\\ B<RAND_MAX>]. The I<seedp> argument is a pointer to an I<unsigned "
526 "int> that is used to store state between calls. If B<rand_r>() is called "
527 "with the same initial value for the integer pointed to by I<seedp>, and that "
528 "value is not modified between calls, then the same pseudo-random sequence "
529 "will result."
530 msgstr ""
531
532 #. type: Plain text
533 #: debian-trixie
534 #, fuzzy, no-wrap
535 #| msgid ""
536 #| "/* RAND_MAX assumed to be 32767 */\n"
537 #| "int myrand(void) {\n"
538 #| " next = next * 1103515245 + 12345;\n"
539 #| " return((unsigned)(next/65536) % 32768);\n"
540 #| "}\n"
541 msgid ""
542 "static unsigned long next = 1;\n"
543 "\\&\n"
544 "/* RAND_MAX assumed to be 32767 */\n"
545 "int myrand(void) {\n"
546 " next = next * 1103515245 + 12345;\n"
547 " return((unsigned)(next/65536) % 32768);\n"
548 "}\n"
549 "\\&\n"
550 "void mysrand(unsigned int seed) {\n"
551 " next = seed;\n"
552 "}\n"
553 msgstr ""
554 "/* RAND_MAX assumed to be 32767 */\n"
555 "int myrand(void) {\n"
556 " next = next * 1103515245 + 12345;\n"
557 " return((unsigned)(next/65536) % 32768);\n"
558 "}\n"
559
560 #. type: TH
561 #: fedora-44 fedora-rawhide
562 #, no-wrap
563 msgid "2025-01-05"
564 msgstr "2025년 1월 5일"
565
566 #. type: TH
567 #: fedora-44 fedora-rawhide
568 #, no-wrap
569 msgid "Linux man-pages 6.13"
570 msgstr "Linux man-pages 6.13"
571
572 #. type: TH
573 #: mageia-cauldron
574 #, no-wrap
575 msgid "Linux man-pages 6.17"
576 msgstr "Linux man-pages 6.17"
577
578 #. type: TH
579 #: opensuse-leap-16-1 opensuse-tumbleweed
580 #, no-wrap
581 msgid "Linux man-pages (unreleased)"
582 msgstr "Linux man-pages (미공개)"