OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / LDP_man-pages / release / man3 / drand48_r.3
1 .\" Copyright 2003 Walter Harms, 2004 Andries Brouwer <aeb@cwi.nl>.
2 .\"
3 .\" Permission is granted to make and distribute verbatim copies of this
4 .\" manual provided the copyright notice and this permission notice are
5 .\" preserved on all copies.
6 .\"
7 .\" Permission is granted to copy and distribute modified versions of this
8 .\" manual under the conditions for verbatim copying, provided that the
9 .\" entire resulting derived work is distributed under the terms of a
10 .\" permission notice identical to this one.
11 .\"
12 .\" Since the Linux kernel and libraries are constantly changing, this
13 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
14 .\" responsibility for errors or omissions, or for damages resulting from
15 .\" the use of the information contained herein.  The author(s) may not
16 .\" have taken the same level of care in the production of this manual,
17 .\" which is licensed free of charge, as they might when working
18 .\" professionally.
19 .\"
20 .\" Formatted or processed versions of this manual, if unaccompanied by
21 .\" the source, must acknowledge the copyright and authors of this work.
22 .\"
23 .\" Created 2004-10-31. Text taken from a page by Walter Harms, 2003-09-08
24 .\"
25 .\" Japanese Version Copyright (c) 2005 Yuichi SATO
26 .\"         all rights reserved.
27 .\" Translated Sat Jan 29 04:28:24 JST 2005
28 .\"         by Yuichi SATO <ysato444@yahoo.co.jp>
29 .\"
30 .TH DRAND48_R 3 2007-07-26 "GNU" "Linux Programmer's Manual"
31 .SH Ì¾Á°
32 drand48_r, erand48_r, lrand48_r, nrand48_r, mrand48_r, jrand48_r, srand48_r, seed48_r, lcong48_r \- °ìÍÍʬÉÛ¤¹¤ëµ¿»÷Íð¿ô¤ò¥ê¥¨¥ó¥È¥é¥ó¥È (reentrant) ¤ËÀ¸À®¤¹¤ë
33 .SH ½ñ¼°
34 .nf
35 .B #include <stdlib.h>
36 .sp
37 .BI "int drand48_r(struct drand48_data *" buffer ", double *" result );
38 .sp
39 .BI "int erand48_r(unsigned short " xsubi [3] ","
40 .br
41 .BI "              struct drand48_data *"buffer ", double *" result ");"
42 .sp
43 .BI "int lrand48_r(struct drand48_data *" buffer ", long int *" result );
44 .sp
45 .BI "int nrand48_r(unsigned short int " xsubi[3] ","
46 .br
47 .BI "              struct drand48_data *"buffer ", long int *" result ");"
48 .sp
49 .BI "int mrand48_r(struct drand48_data *" buffer ",long int *" result ");"
50 .sp
51 .BI "int jrand48_r(unsigned short int " xsubi[3] ","
52 .br
53 .BI "              struct drand48_data *" buffer ", long int *" result ");"
54 .sp
55 .BI "int srand48_r(long int " seedval ", struct drand48_data *" buffer ");"
56 .sp
57 .BI "int seed48_r(unsigned short int " seed16v[3] ","
58 .br
59 .BI "             struct drand48_data *" buffer ");"
60 .sp
61 .BI "int lcong48_r(unsigned short int " param[7] ","
62 .br
63 .BI "              struct drand48_data *" buffer ");"
64 .fi
65 .sp
66 .in -4n
67 glibc ¸þ¤±¤Îµ¡Ç½¸¡ºº¥Þ¥¯¥í¤ÎÍ×·ï
68 .RB ( feature_test_macros (7)
69 »²¾È):
70 .in
71 .sp
72 .ad l
73 ¾åµ­¤ÎÁ´¤Æ¤Î´Ø¿ô:
74 .\" .BR drand48_r (),
75 .\" .BR erand48_r (),
76 .\" .BR lrand48_r (),
77 .\" .BR nrand48_r (),
78 .\" .BR mrand48_r (),
79 .\" .BR jrand48_r (),
80 .\" .BR srand48_r (),
81 .\" .BR seed48_r (),
82 .\" .BR lcong48_r ():
83 _SVID_SOURCE || _BSD_SOURCE || _XOPEN_SOURCE
84 .ad b
85 .SH ÀâÌÀ
86 ¤³¤ì¤é¤Î´Ø¿ô¤Ï
87 .BR drand48 (3)
88 ¤ÇÀâÌÀ¤µ¤ì¤Æ¤¤¤ë´Ø¿ô¤ËÎà»÷¤¹¤ë¥ê¥¨¥ó¥È¥é¥ó¥È¤Ê´Ø¿ô¤Ç¤¢¤ë¡£
89 Âç°èŪ¤ÊÍð¿ôÀ¸À®¤Î¾õÂÖ¤òÊѹ¹¤¹¤ëÂå¤ï¤ê¤Ë¡¢
90 ¤³¤ì¤é¤Î´Ø¿ô¤Ï»ØÄꤵ¤ì¤¿¥Ç¡¼¥¿
91 .I buffer
92 ¤ò»È¤¦¡£
93
94 ºÇ½é¤Ë»È¤¦Á°¤Ë¡¢¤³¤Î¹½Â¤ÂΤϽé´ü²½¤µ¤ì¤Æ¤¤¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
95 ½é´ü²½¤Ï¡¢¤¿¤È¤¨¤Ð 0 ¤ÇËä¤á¤¿¤ê¡¢´Ø¿ô
96 .BR srand48_r (),
97 .BR seed48_r (),
98 .BR lcong48_r ()
99 ¤Î¤¤¤º¤ì¤«¤ò¸Æ¤Ó½Ð¤¹¤³¤È¤Ë¤è¤Ã¤Æ¹Ô¤ï¤ì¤ë¡£
100 .SH ÊÖ¤êÃÍ
101 ÊÖ¤êÃͤϠ0 ¤Ç¤¢¤ë¡£
102 .SH ½àµò
103 ¤³¤ì¤é¤Î´Ø¿ô¤Ï GNU ¤Ë¤è¤ë³ÈÄ¥¤Ç¤¢¤ê¡¢°Ü¿¢À­¤Ï¤Ê¤¤¡£
104 .SH ´ØÏ¢¹àÌÜ
105 .BR drand48 (3),
106 .BR rand (3),
107 .BR random (3)