.\" -*- coding: UTF-8 -*- '\" t .\" Copyright 2003, Walter Harms .\" Copyright 2004, Andries E. Brouwer .\" Copyright, the authors of the Linux man-pages project .\" .\" SPDX-License-Identifier: Linux-man-pages-copyleft .\" .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH drand48_r 3 "8 فبراير 2026" "صفحات دليل لينكس 6.18" .SH الاسم drand48_r, erand48_r, lrand48_r, nrand48_r, mrand48_r, jrand48_r, srand48_r, seed48_r, lcong48_r \- توليد أعداد شبه عشوائية موزعة بشكل منتظم بطريقة قابلة لإعادة الدخول .SH المكتبة مكتبة سي المعيارية (\fIlibc\fP،\ \fI\-lc\fP) .SH موجز .nf \fB#include \fP .P \fBint drand48_r(struct drand48_data *restrict \fP\fIbuffer\fP\fB,\fP \fB double *restrict \fP\fIresult\fP\fB);\fP \fBint erand48_r(unsigned short \fP\fIxsubi\fP\fB[3]\fP\fI,\fP \fB struct drand48_data *restrict \fP\fIbuffer\fP\fB,\fP \fB double *restrict \fP\fIresult\fP\fB);\fP .P \fBint lrand48_r(struct drand48_data *restrict \fP\fIbuffer\fP\fB,\fP \fB long *restrict \fP\fIresult\fP\fB);\fP \fBint nrand48_r(unsigned short \fP\fIxsubi[3]\fP\fB,\fP \fB struct drand48_data *restrict \fP\fIbuffer\fP\fB,\fP \fB long *restrict \fP\fIresult\fP\fB);\fP .P \fBint mrand48_r(struct drand48_data *restrict \fP\fIbuffer\fP\fB,\fP \fB long *restrict \fP\fIresult\fP\fB);\fP \fBint jrand48_r(unsigned short \fP\fIxsubi[3]\fP\fB,\fP \fB struct drand48_data *restrict \fP\fIbuffer\fP\fB,\fP \fB long *restrict \fP\fIresult\fP\fB);\fP .P \fBint srand48_r(long int \fP\fIseedval\fP\fB, struct drand48_data *\fP\fIbuffer\fP\fB);\fP \fBint seed48_r(unsigned short \fP\fIseed16v[3]\fP\fB, struct drand48_data *\fP\fIbuffer\fP\fB);\fP \fBint lcong48_r(unsigned short \fP\fIparam[7]\fP\fB, struct drand48_data *\fP\fIbuffer\fP\fB);\fP .fi .P .RS -4 متطلبات ماكروات اختبار الميزات لـ glibc (انظر \fBfeature_test_macros\fP(7)): .RE .P .\" .BR drand48_r (), .\" .BR erand48_r (), .\" .BR lrand48_r (), .\" .BR nrand48_r (), .\" .BR mrand48_r (), .\" .BR jrand48_r (), .\" .BR srand48_r (), .\" .BR seed48_r (), .\" .BR lcong48_r (): كافة الدوال الموضحة أعلاه: .nf /* glibc >= 2.19: */ _DEFAULT_SOURCE || /* glibc <= 2.19: */ _SVID_SOURCE || _BSD_SOURCE .fi .SH الوصف هذه الدوال هي النظائر القابلة لإعادة الدخول للدوال الموصوفة في \fBdrand48\fP(3). بدلاً من تعديل حالة المولد العشوائي العام، تستخدم هذه الدوال البيانات المقدمة \fIbuffer\fP. .P قبل الاستخدام الأول، يجب تهيئة هذا الهيكل، مثلاً بملئه بالأصفار، أو باستدعاء إحدى الدوال \fBsrand48_r\fP() أو \fBseed48_r\fP() أو \fBlcong48_r\fP(). .SH "قيمة الإرجاع" قيمة الإرجاع هي 0. .SH السمات للاطلاع على شرح للمصطلحات المستخدمة في هذا القسم، انظر \fBattributes\fP(7). .TS allbox; lbx lb lb l l l. الواجهة السمة القيمة T{ .na .nh \fBdrand48_r\fP(), \fBerand48_r\fP(), \fBlrand48_r\fP(), \fBnrand48_r\fP(), \fBmrand48_r\fP(), \fBjrand48_r\fP(), \fBsrand48_r\fP(), \fBseed48_r\fP(), \fBlcong48_r\fP() T} سلامة الخيوط MT\-Safe race:buffer .TE .SH المعايير GNU. .SH "انظر أيضًا" \fBdrand48\fP(3), \fBrand\fP(3), \fBrandom\fP(3) .PP .SH ترجمة تُرجمت هذه الصفحة من الدليل بواسطة زايد السعيدي . .PP هذه الترجمة هي وثيقة مجانية؛ راجع .UR https://www.gnu.org/licenses/gpl-3.0.html رخصة جنو العامة الإصدار 3 .UE أو ما بعده للاطلاع على شروط حقوق النشر. لا توجد أي ضمانات. .PP إذا وجدت أي أخطاء في ترجمة صفحة الدليل هذه، يرجى إرسال بريد إلكتروني إلى قائمة بريد المترجمين: .MT kde-l10n-ar@kde.org .ME .