Debian Codegraph @

po/ro/archive/man7/sigevent.7.po

raw
1 # Romanian translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Remus-Gabriel Chelu <[email protected]>, 2023, 2025.
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: manpages-l10n 4.21.0\n"
8 "POT-Creation-Date: 2024-10-04 18:04+0200\n"
9 "PO-Revision-Date: 2023-12-18 15:45+0100\n"
10 "Last-Translator: Remus-Gabriel Chelu <[email protected]>\n"
11 "Language-Team: Romanian <[email protected]>\n"
12 "Language: ro\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=3; plural=n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < "
17 "20)) ? 1 : 2;\n"
18 "X-Generator: Poedit 3.2.2\n"
19
20 #. type: TH
21 #: debian-bookworm
22 #, no-wrap
23 msgid "sigevent"
24 msgstr "sigevent"
25
26 #. type: TH
27 #: debian-bookworm
28 #, no-wrap
29 msgid "2022-10-30"
30 msgstr "30 octombrie 2022"
31
32 #. type: TH
33 #: debian-bookworm
34 #, no-wrap
35 msgid "Linux man-pages 6.03"
36 msgstr "Pagini de manual de Linux 6.03"
37
38 #. type: SH
39 #: debian-bookworm
40 #, no-wrap
41 msgid "NAME"
42 msgstr "NUME"
43
44 #. type: Plain text
45 #: debian-bookworm
46 msgid "sigevent - structure for notification from asynchronous routines"
47 msgstr "sigevent - structură pentru notificarea de la rutinele asincrone"
48
49 #. type: SH
50 #: debian-bookworm
51 #, no-wrap
52 msgid "SYNOPSIS"
53 msgstr "SINOPSIS"
54
55 #. type: Plain text
56 #: debian-bookworm
57 #, no-wrap
58 msgid "#include E<lt>signal.hE<gt>\n"
59 msgstr "#include E<lt>signal.hE<gt>\n"
60
61 #. type: Plain text
62 #: debian-bookworm
63 #, no-wrap
64 msgid ""
65 "union sigval { /* Data passed with notification */\n"
66 " int sival_int; /* Integer value */\n"
67 " void *sival_ptr; /* Pointer value */\n"
68 "};\n"
69 msgstr ""
70 "union sigval { /* Date transmise cu notificarea */\n"
71 " int sival_int; /* Valoare de număr întreg */\n"
72 " void *sival_ptr; /* Valoarea indicatorului */\n"
73 "};\n"
74
75 #. type: Plain text
76 #: debian-bookworm
77 #, no-wrap
78 msgid ""
79 "struct sigevent {\n"
80 " int sigev_notify; /* Notification method */\n"
81 " int sigev_signo; /* Notification signal */\n"
82 " union sigval sigev_value;\n"
83 " /* Data passed with notification */\n"
84 " void (*sigev_notify_function)(union sigval);\n"
85 " /* Function used for thread\n"
86 " notification (SIGEV_THREAD) */\n"
87 " void *sigev_notify_attributes;\n"
88 " /* Attributes for notification thread\n"
89 " (SIGEV_THREAD) */\n"
90 " pid_t sigev_notify_thread_id;\n"
91 " /* ID of thread to signal\n"
92 " (SIGEV_THREAD_ID); Linux-specific */\n"
93 "};\n"
94 msgstr ""
95 "struct sigevent {\n"
96 " int sigev_notify; /* Metoda de notificare */\n"
97 " int sigev_signo; /* Semnalul de notificare */\n"
98 " union sigval sigev_value;\n"
99 " /* Date transmise cu notificarea */\n"
100 " void (*sigev_notify_function)(union sigval);\n"
101 " /* Funcția utilizată pentru firul\n"
102 " notificării (SIGEV_THREAD) */\n"
103 " void *sigev_notify_attributes;\n"
104 " /* Atribute pentru firul de notificare\n"
105 " (SIGEV_THREAD) */\n"
106 " pid_t sigev_notify_thread_id;\n"
107 " /* ID-ul firului pentru semnal\n"
108 " (SIGEV_THREAD_ID); specific Linux */\n"
109 "};\n"
110
111 #. type: SH
112 #: debian-bookworm
113 #, no-wrap
114 msgid "DESCRIPTION"
115 msgstr "DESCRIERE"
116
117 #. type: Plain text
118 #: debian-bookworm
119 msgid ""
120 "The I<sigevent> structure is used by various APIs to describe the way a "
121 "process is to be notified about an event (e.g., completion of an "
122 "asynchronous request, expiration of a timer, or the arrival of a message)."
123 msgstr ""
124 "Structura I<sigevent> este utilizată de diverse API-uri pentru a descrie "
125 "modul în care un proces trebuie să fie notificat cu privire la un eveniment "
126 "(de exemplu, finalizarea unei cereri asincrone, expirarea unui cronometru "
127 "sau sosirea unui mesaj)."
128
129 #. type: Plain text
130 #: debian-bookworm
131 msgid ""
132 "The definition shown in the SYNOPSIS is approximate: some of the fields in "
133 "the I<sigevent> structure may be defined as part of a union. Programs "
134 "should employ only those fields relevant to the value specified in "
135 "I<sigev_notify>."
136 msgstr ""
137 "Definiția prezentată în REZUMAT este aproximativă: unele dintre câmpurile "
138 "din structura I<sigevent> pot fi definite ca parte a unei uniuni. Programele "
139 "ar trebui să utilizeze numai acele câmpuri relevante pentru valoarea "
140 "specificată în I<sigev_notify>."
141
142 #. type: Plain text
143 #: debian-bookworm
144 msgid ""
145 "The I<sigev_notify> field specifies how notification is to be performed. "
146 "This field can have one of the following values:"
147 msgstr ""
148 "Câmpul I<sigev_notify> specifică modul în care trebuie efectuată "
149 "notificarea. Acest câmp poate avea una dintre următoarele valori:"
150
151 #. type: TP
152 #: debian-bookworm
153 #, no-wrap
154 msgid "B<SIGEV_NONE>"
155 msgstr "B<SIGEV_NONE>"
156
157 #. type: Plain text
158 #: debian-bookworm
159 msgid "A \"null\" notification: don't do anything when the event occurs."
160 msgstr "O notificare „nulă”: nu face nimic atunci când are loc evenimentul."
161
162 #. type: TP
163 #: debian-bookworm
164 #, no-wrap
165 msgid "B<SIGEV_SIGNAL>"
166 msgstr "B<SIGEV_SIGNAL>"
167
168 #. type: Plain text
169 #: debian-bookworm
170 msgid "Notify the process by sending the signal specified in I<sigev_signo>."
171 msgstr ""
172 "Notifică procesul prin trimiterea semnalului specificat în I<sigev_signo>."
173
174 #. type: Plain text
175 #: debian-bookworm
176 msgid ""
177 "If the signal is caught with a signal handler that was registered using the "
178 "B<sigaction>(2) B<SA_SIGINFO> flag, then the following fields are set in "
179 "the I<siginfo_t> structure that is passed as the second argument of the "
180 "handler:"
181 msgstr ""
182 "În cazul în care semnalul este prins cu un gestionar de semnal care a fost "
183 "înregistrat cu ajutorul fanionului B<sigaction>(2) B<SA_SIGINFO>, atunci "
184 "următoarele câmpuri sunt definite în structura I<siginfo_t> care este "
185 "transmisă ca al doilea argument al gestionarului:"
186
187 #. type: TP
188 #: debian-bookworm
189 #, no-wrap
190 msgid "I<si_code>"
191 msgstr "I<si_code>"
192
193 #. type: Plain text
194 #: debian-bookworm
195 msgid ""
196 "This field is set to a value that depends on the API delivering the "
197 "notification."
198 msgstr ""
199 "Acest câmp este definit la o valoare care depinde de API care furnizează "
200 "notificarea."
201
202 #. type: TP
203 #: debian-bookworm
204 #, no-wrap
205 msgid "I<si_signo>"
206 msgstr "I<si_signo>"
207
208 #. type: Plain text
209 #: debian-bookworm
210 msgid ""
211 "This field is set to the signal number (i.e., the same value as in "
212 "I<sigev_signo>)."
213 msgstr ""
214 "Acest câmp este stabilit la numărul semnalului (adică aceeași valoare ca în "
215 "I<sigev_signo>)."
216
217 #. type: TP
218 #: debian-bookworm
219 #, no-wrap
220 msgid "I<si_value>"
221 msgstr "I<si_value>"
222
223 #. type: Plain text
224 #: debian-bookworm
225 msgid "This field is set to the value specified in I<sigev_value>."
226 msgstr "Acest câmp este stabilit la valoarea specificată în I<sigev_value>."
227
228 #. type: Plain text
229 #: debian-bookworm
230 msgid ""
231 "Depending on the API, other fields may also be set in the I<siginfo_t> "
232 "structure."
233 msgstr ""
234 "În funcție de API, în structura I<siginfo_t> pot fi definite și alte câmpuri."
235
236 #. type: Plain text
237 #: debian-bookworm
238 msgid ""
239 "The same information is also available if the signal is accepted using "
240 "B<sigwaitinfo>(2)."
241 msgstr ""
242 "Aceleași informații sunt disponibile și în cazul în care semnalul este "
243 "acceptat folosind B<sigwaitinfo>(2)."
244
245 #. type: TP
246 #: debian-bookworm
247 #, no-wrap
248 msgid "B<SIGEV_THREAD>"
249 msgstr "B<SIGEV_THREAD>"
250
251 #. type: Plain text
252 #: debian-bookworm
253 msgid ""
254 "Notify the process by invoking I<sigev_notify_function> \"as if\" it were "
255 "the start function of a new thread. (Among the implementation possibilities "
256 "here are that each timer notification could result in the creation of a new "
257 "thread, or that a single thread is created to receive all notifications.) "
258 "The function is invoked with I<sigev_value> as its sole argument. If "
259 "I<sigev_notify_attributes> is not NULL, it should point to a "
260 "I<pthread_attr_t> structure that defines attributes for the new thread (see "
261 "B<pthread_attr_init>(3))."
262 msgstr ""
263 "Notifică procesul prin invocarea I<sigev_notify_function> „ca și cum” ar fi "
264 "funcția de pornire a unui nou fir; (printre posibilitățile de implementare "
265 "aici se numără faptul că fiecare notificare a cronometrului ar putea duce la "
266 "crearea unui nou fir sau că se creează un singur fir pentru a primi toate "
267 "notificările). Funcția este invocată cu I<sigev_valoare> ca unic argument. "
268 "n cazul în care I<sigev_notify_attributes> nu este NULL, acesta ar trebui să "
269 "indice o structură I<pthread_attr_attr_t> care definește atributele pentru "
270 "noul fir (a se vedea B<pthread_attr_init>(3))."
271
272 #. type: TP
273 #: debian-bookworm
274 #, no-wrap
275 msgid "B<SIGEV_THREAD_ID> (Linux-specific)"
276 msgstr "B<SIGEV_THREAD_ID> (specific-Linux)"
277
278 #. | SIGEV_SIGNAL vs not?
279 #. type: Plain text
280 #: debian-bookworm
281 msgid "Currently used only by POSIX timers; see B<timer_create>(2)."
282 msgstr ""
283 "În prezent este utilizat numai de cronometrele POSIX; a se vedea "
284 "B<timer_create>(2)."
285
286 #. type: SH
287 #: debian-bookworm
288 #, no-wrap
289 msgid "SEE ALSO"
290 msgstr "CONSULTAȚI ȘI"
291
292 #. type: Plain text
293 #: debian-bookworm
294 msgid ""
295 "B<timer_create>(2), B<aio_fsync>(3), B<aio_read>(3), B<aio_write>(3), "
296 "B<getaddrinfo_a>(3), B<lio_listio>(3), B<mq_notify>(3), B<aio>(7), "
297 "B<pthreads>(7)"
298 msgstr ""
299 "B<timer_create>(2), B<aio_fsync>(3), B<aio_read>(3), B<aio_write>(3), "
300 "B<getaddrinfo_a>(3), B<lio_listio>(3), B<mq_notify>(3), B<aio>(7), "
301 "B<pthreads>(7)"