# Arabic translation of manpages # This file is distributed under the same license as the manpages-l10n package. # Copyright © of this file: # زايد السعيدي , 2026. msgid "" msgstr "" "Project-Id-Version: manpages-l10n 4.30.2\n" "POT-Creation-Date: 2026-06-05 06:25+0200\n" "PO-Revision-Date: 2026-06-01 17:58+0400\n" "Last-Translator: Zayed Al-Saidi \n" "Language-Team: Arabic \n" "Language: ar\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 " "&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" "X-Generator: Lokalize 23.08.5\n" #. type: TH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "getdate" msgstr "getdate" #. type: TH #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "2026-02-08" msgstr "8 فبراير 2026" #. type: TH #: archlinux debian-unstable #, no-wrap msgid "Linux man-pages 6.18" msgstr "صفحات دليل لينكس 6.18" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "NAME" msgstr "الاسم" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "getdate, getdate_r - convert a date-plus-time string to broken-down time" msgstr "getdate, getdate_r - تحويل سلسلة محارف تاريخ ووقت إلى وقت مفصل" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "LIBRARY" msgstr "المكتبة" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Standard C library (I,\\ I<-lc>)" msgstr "مكتبة سي المعيارية (I،\\ I<-lc>)" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "SYNOPSIS" msgstr "موجز" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B<#include Etime.hE>\n" msgstr "B<#include Etime.hE>\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "BIB<);>\n" msgstr "BIB<);>\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B\n" msgstr "B\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "BIB<, struct tm *restrict >IB<);>\n" msgstr "BIB<, struct tm *restrict >IB<);>\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Feature Test Macro Requirements for glibc (see B(7)):" msgstr "" "متطلبات ماكروات اختبار الميزات لـ glibc (انظر B(7)):" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "B():" msgstr "B():" #. || _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid " _XOPEN_SOURCE E= 500\n" msgstr " _XOPEN_SOURCE E= 500\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "B():" msgstr "B():" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid " _GNU_SOURCE\n" msgstr " _GNU_SOURCE\n" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "DESCRIPTION" msgstr "الوصف" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The function B() converts a string representation of a date and " "time, contained in the buffer pointed to by I, into a broken-down " "time. The broken-down time is stored in a I structure, and a pointer to " "this structure is returned as the function result. This I structure is " "allocated in static storage, and consequently it will be overwritten by " "further calls to B()." msgstr "" "تحوِّل الدالة B() تمثيلاً سلسلة محارف لتاريخ ووقت، موجودًا في المخزن " "المؤقت المشار إليه بواسطة I، إلى وقت مفصل. يُخزَّن الوقت المفصل في بنية " "I، ويُعاد مؤشر إلى هذه البنية كنتيجة للدالة. تُخصَّص بنية I هذه في تخزين " "ثابت، وبالتالي تُستبدل باستدعاءات لاحقة لـ B()." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "In contrast to B(3), (which has a I argument), " "B() uses the formats found in the file whose full pathname is " "given in the environment variable B. The first line in the file " "that matches the given input string is used for the conversion." msgstr "" "على عكس B(3) (التي تحتوي على معامل I)، تستخدم B() " "التنسيقات الموجودة في الملف الذي يُعطى اسم مساره الكامل في متغير البيئة " "B. يُستخدم السطر الأول في الملف الذي يطابق سلسلة المحارف المُدخلة " "للتحويل." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The matching is done case insensitively. Superfluous whitespace, either in " "the pattern or in the string to be converted, is ignored." msgstr "" "تُجرى المطابقة دون حساسية لحالة الأحرف. يُتجاهل الفراغ الزائد، سواء في النمط " "أو في السلسلة المراد تحويلها." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The conversion specifications that a pattern can contain are those given for " "B(3). One more conversion specification is specified in " "POSIX.1-2001:" msgstr "" "مواصفات التحويل التي يمكن أن يحتويها النمط هي تلك المُعطاة لـ B(3). " "تُحدد مواصفة تحويل إضافية واحدة في POSIX.1-2001:" # type: TP #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B<%Z>" msgstr "B<%Z>" #. FIXME Is it (still) true that %Z is not supported in glibc? #. Looking at the glibc 2.21 source code, where the implementation uses #. strptime(), suggests that it might be supported. #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Timezone name. This is not implemented in glibc." msgstr "اسم المنطقة الزمنية. لم يُطبَّق هذا في glibc." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "When B<%Z> is given, the structure containing the broken-down time is " "initialized with values corresponding to the current time in the given " "timezone. Otherwise, the structure is initialized to the broken-down time " "corresponding to the current local time (as by a call to B(3))." msgstr "" "عندما يُعطى B<%Z>، تُهيَّأ البنية المحتوية على الوقت المفصل بقيم تتوافق مع الوقت " "الحالي في المنطقة الزمنية المُعطاة. وإلا، تُهيَّأ البنية إلى الوقت المفصل " "الموافق للوقت المحلي الحالي (كما في استدعاء B(3))." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "When only the day of the week is given, the day is taken to be the first " "such day on or after today." msgstr "" "عندما يُعطى يوم الأسبوع فقط، يُؤخذ اليوم على أنه أول يوم من هذا النوع في أو " "بعد اليوم." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "When only the month is given (and no year), the month is taken to be the " "first such month equal to or after the current month. If no day is given, " "it is the first day of the month." msgstr "" "عندما يُعطى الشهر فقط (بدون سنة)، يُؤخذ الشهر على أنه أول شهر من هذا النوع " "مساوٍ أو بعد الشهر الحالي. إذا لم يُعطَ يوم، فهو أول يوم من الشهر." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "When no hour, minute, and second are given, the current hour, minute, and " "second are taken." msgstr "" "عندما لا تُعطى ساعة ودقيقة وثانية، تُؤخذ الساعة والدقيقة والثانية الحالية." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If no date is given, but we know the hour, then that hour is taken to be the " "first such hour equal to or after the current hour." msgstr "" "إذا لم يُعطَ تاريخ، ولكننا نعرف الساعة، فتُؤخذ تلك الساعة على أنها أول ساعة من " "هذا النوع مساوية أو بعد الساعة الحالية." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B() is a GNU extension that provides a reentrant version of " "B(). Rather than using a global variable to report errors and a " "static buffer to return the broken down time, it returns errors via the " "function result value, and returns the resulting broken-down time in the " "caller-allocated buffer pointed to by the argument I." msgstr "" "B() هي إضافة GNU تُوفر نسخة قابلة لإعادة الدخول من B(). " "بدلاً من استخدام متغير عام للإبلاغ عن الأخطاء ومخزن مؤقت ثابت لإعادة الوقت " "المفصل، تُعيد الأخطاء عبر قيمة نتيجة الدالة، وتُعيد الوقت المفصل الناتج في " "المخزن المؤقت المُخصص من قبل المستدعي والمشار إليه بواسطة المعامل I." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "RETURN VALUE" msgstr "قيمة الإرجاع" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "When successful, B() returns a pointer to a I. " "Otherwise, it returns NULL and sets the global variable I to " "one of the error numbers shown below. Changes to I are unspecified." msgstr "" "عند النجاح، تُعيد B() مؤشرًا إلى I. وإلا، تُعيد NULL وتضبط " "المتغير العام I على أحد أرقام الأخطاء الموضحة أدناه. التغييرات " "على I غير محددة." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "On success B() returns 0; on error it returns one of the error " "numbers shown below." msgstr "" "عند النجاح، تُعيد B() 0؛ عند الخطأ، تُعيد أحد أرقام الأخطاء الموضحة " "أدناه." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "ERRORS" msgstr "الأخطاء" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The following errors are returned via I (for B()) or " "as the function result (for B()):" msgstr "" "تُعاد الأخطاء التالية عبر I (لـ B()) أو كنتيجة للدالة " "(لـ B()):" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B<1>" msgstr "B<1>" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The B environment variable is not defined, or its value is an empty " "string." msgstr "متغير البيئة B غير مُعرَّف، أو قيمته سلسلة محارف فارغة." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B<2>" msgstr "B<2>" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "The template file specified by B cannot be opened for reading." msgstr "ملف القالب المُحدَّد بواسطة B لا يمكن فتحه للقراءة." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B<3>" msgstr "B<3>" #. stat() #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Failed to get file status information." msgstr "فشل الحصول على معلومات حالة الملف." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B<4>" msgstr "B<4>" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "The template file is not a regular file." msgstr "ملف القالب ليس ملفًا عاديًا." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B<5>" msgstr "B<5>" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "An error was encountered while reading the template file." msgstr "وُجِد خطأ أثناء قراءة ملف القالب." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B<6>" msgstr "B<6>" #. Error 6 doesn't seem to occur in glibc #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Memory allocation failed (not enough memory available)." msgstr "فشل تخصيص الذاكرة (لا توجد ذاكرة كافية متاحة)." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B<7>" msgstr "B<7>" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "There is no line in the file that matches the input." msgstr "لا يوجد سطر في الملف يطابق المُدخل." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B<8>" msgstr "B<8>" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Invalid input specification." msgstr "مواصفات مُدخل غير صالحة." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "ENVIRONMENT" msgstr "البيئة" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "File containing format patterns." msgstr "ملف يحتوي على أنماط التنسيق." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: TQ #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Variables used by B(3)." msgstr "متغيرات تُستخدم بواسطة B(3)." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "ATTRIBUTES" msgstr "السمات" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "For an explanation of the terms used in this section, see B(7)." msgstr "" "للاطلاع على شرح للمصطلحات المستخدمة في هذا القسم، انظر B(7)." #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Interface" msgstr "الواجهة" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Attribute" msgstr "السمة" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Value" msgstr "القيمة" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid ".na\n" msgstr ".na\n" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid ".nh\n" msgstr ".nh\n" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B()" msgstr "B()" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Thread safety" msgstr "سلامة الخيوط" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "MT-Unsafe race:getdate env locale" msgstr "MT-Unsafe race:getdate env locale" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B()" msgstr "B()" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "MT-Safe env locale" msgstr "بيئة محلية آمنة لتعدد الخيوط (MT-Safe)" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "VERSIONS" msgstr "الإصدارات" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The POSIX.1 specification for B(3) contains conversion " "specifications using the B<%E> or B<%O> modifier, while such specifications " "are not given for B(). In glibc, B() is implemented " "using B(3), so that precisely the same conversions are supported " "by both." msgstr "" "مواصفات POSIX.1 لـ B(3) تحتوي على مواصفات تحويل تستخدم المُعدِّل " "B<%E> أو B<%O>، بينما هذه المواصفات غير مُعطاة لـ B(). في glibc، " "B() مُطبَّقة باستخدام B(3)، لذا فإن نفس التحويلات مدعومة " "تمامًا بواسطة كلتيهما." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "STANDARDS" msgstr "المعايير" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "POSIX.1-2008." msgstr "POSIX.1-2008." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "HISTORY" msgstr "التاريخ" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "POSIX.1-2001." msgstr "POSIX.1-2001." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "EXAMPLES" msgstr "أمثلة" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The program below calls B() for each of its command-line " "arguments, and for each call displays the values in the fields of the " "returned I structure. The following shell session demonstrates the " "operation of the program:" msgstr "" "البرنامج أدناه يستدعي B() لكل وسيط من وسائط سطر الأوامر، ولكل " "استدعاء يعرض القيم في حقول بنية I المُرجَعة. جلسة الصدفة التالية توضح " "تشغيل البرنامج:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "$B< TFILE=$PWD/tfile>\n" "$B< echo \\[aq]%A\\[aq] E $TFILE > # Full name of the day of the week\n" "$B< echo \\[aq]%T\\[aq] EE $TFILE> # Time (HH:MM:SS)\n" "$B< echo \\[aq]%F\\[aq] EE $TFILE> # ISO date (YYYY-MM-DD)\n" "$B< date>\n" "$B< export DATEMSK=$TFILE>\n" "$B< ./a.out Tuesday \\[aq]2009-12-28\\[aq] \\[aq]12:22:33\\[aq]>\n" "Sun Sep 7 06:03:36 CEST 2008\n" "Call 1 (\"Tuesday\") succeeded:\n" " tm_sec = 36\n" " tm_min = 3\n" " tm_hour = 6\n" " tm_mday = 9\n" " tm_mon = 8\n" " tm_year = 108\n" " tm_wday = 2\n" " tm_yday = 252\n" " tm_isdst = 1\n" "Call 2 (\"2009-12-28\") succeeded:\n" " tm_sec = 36\n" " tm_min = 3\n" " tm_hour = 6\n" " tm_mday = 28\n" " tm_mon = 11\n" " tm_year = 109\n" " tm_wday = 1\n" " tm_yday = 361\n" " tm_isdst = 0\n" "Call 3 (\"12:22:33\") succeeded:\n" " tm_sec = 33\n" " tm_min = 22\n" " tm_hour = 12\n" " tm_mday = 7\n" " tm_mon = 8\n" " tm_year = 108\n" " tm_wday = 0\n" " tm_yday = 250\n" " tm_isdst = 1\n" msgstr "" "$B< TFILE=$PWD/tfile>\n" "$B< echo \\[aq]%A\\[aq] E $TFILE > # Full name of the day of the week\n" "$B< echo \\[aq]%T\\[aq] EE $TFILE> # Time (HH:MM:SS)\n" "$B< echo \\[aq]%F\\[aq] EE $TFILE> # ISO date (YYYY-MM-DD)\n" "$B< date>\n" "$B< export DATEMSK=$TFILE>\n" "$B< ./a.out Tuesday \\[aq]2009-12-28\\[aq] \\[aq]12:22:33\\[aq]>\n" "Sun Sep 7 06:03:36 CEST 2008\n" "Call 1 (\"Tuesday\") succeeded:\n" " tm_sec = 36\n" " tm_min = 3\n" " tm_hour = 6\n" " tm_mday = 9\n" " tm_mon = 8\n" " tm_year = 108\n" " tm_wday = 2\n" " tm_yday = 252\n" " tm_isdst = 1\n" "Call 2 (\"2009-12-28\") succeeded:\n" " tm_sec = 36\n" " tm_min = 3\n" " tm_hour = 6\n" " tm_mday = 28\n" " tm_mon = 11\n" " tm_year = 109\n" " tm_wday = 1\n" " tm_yday = 361\n" " tm_isdst = 0\n" "Call 3 (\"12:22:33\") succeeded:\n" " tm_sec = 33\n" " tm_min = 22\n" " tm_hour = 12\n" " tm_mday = 7\n" " tm_mon = 8\n" " tm_year = 108\n" " tm_wday = 0\n" " tm_yday = 250\n" " tm_isdst = 1\n" #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Program source" msgstr "مصدر البرنامج" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "#define _GNU_SOURCE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Etime.hE\n" "\\&\n" "int\n" "main(int argc, char *argv[])\n" "{\n" " struct tm *tmp;\n" "\\&\n" " for (size_t j = 1; j E argc; j++) {\n" " tmp = getdate(argv[j]);\n" "\\&\n" " if (tmp == NULL) {\n" " printf(\"Call %zu failed; getdate_err = %d\\[rs]n\",\n" " j, getdate_err);\n" " continue;\n" " }\n" "\\&\n" " printf(\"Call %zu (\\[rs]\"%s\\[rs]\") succeeded:\\[rs]n\", j, argv[j]);\n" " printf(\" tm_sec = %d\\[rs]n\", tmp-Etm_sec);\n" " printf(\" tm_min = %d\\[rs]n\", tmp-Etm_min);\n" " printf(\" tm_hour = %d\\[rs]n\", tmp-Etm_hour);\n" " printf(\" tm_mday = %d\\[rs]n\", tmp-Etm_mday);\n" " printf(\" tm_mon = %d\\[rs]n\", tmp-Etm_mon);\n" " printf(\" tm_year = %d\\[rs]n\", tmp-Etm_year);\n" " printf(\" tm_wday = %d\\[rs]n\", tmp-Etm_wday);\n" " printf(\" tm_yday = %d\\[rs]n\", tmp-Etm_yday);\n" " printf(\" tm_isdst = %d\\[rs]n\", tmp-Etm_isdst);\n" " }\n" "\\&\n" " exit(EXIT_SUCCESS);\n" "}\n" msgstr "" "#define _GNU_SOURCE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Etime.hE\n" "\\&\n" "int\n" "main(int argc, char *argv[])\n" "{\n" " struct tm *tmp;\n" "\\&\n" " for (size_t j = 1; j E argc; j++) {\n" " tmp = getdate(argv[j]);\n" "\\&\n" " if (tmp == NULL) {\n" " printf(\"Call %zu failed; getdate_err = %d\\[rs]n\",\n" " j, getdate_err);\n" " continue;\n" " }\n" "\\&\n" " printf(\"Call %zu (\\[rs]\"%s\\[rs]\") succeeded:\\[rs]n\", j, argv[j]);\n" " printf(\" tm_sec = %d\\[rs]n\", tmp-Etm_sec);\n" " printf(\" tm_min = %d\\[rs]n\", tmp-Etm_min);\n" " printf(\" tm_hour = %d\\[rs]n\", tmp-Etm_hour);\n" " printf(\" tm_mday = %d\\[rs]n\", tmp-Etm_mday);\n" " printf(\" tm_mon = %d\\[rs]n\", tmp-Etm_mon);\n" " printf(\" tm_year = %d\\[rs]n\", tmp-Etm_year);\n" " printf(\" tm_wday = %d\\[rs]n\", tmp-Etm_wday);\n" " printf(\" tm_yday = %d\\[rs]n\", tmp-Etm_yday);\n" " printf(\" tm_isdst = %d\\[rs]n\", tmp-Etm_isdst);\n" " }\n" "\\&\n" " exit(EXIT_SUCCESS);\n" "}\n" #. SRC END #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "SEE ALSO" msgstr "انظر أيضًا" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B