Debian Codegraph @

po/es/archive/man7/sigevent.7.po

raw
1 # Spanish translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 msgid ""
5 msgstr ""
6 "Project-Id-Version: manpages-l10n 4.11.0\n"
7 "POT-Creation-Date: 2024-10-04 18:04+0200\n"
8 "PO-Revision-Date: 2021-09-03 21:25+0200\n"
9 "Last-Translator: Automatically generated\n"
10 "Language-Team: Spanish <[email protected]>\n"
11 "Language: es\n"
12 "MIME-Version: 1.0\n"
13 "Content-Type: text/plain; charset=UTF-8\n"
14 "Content-Transfer-Encoding: 8bit\n"
15 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
17 #. type: TH
18 #: debian-bookworm
19 #, no-wrap
20 msgid "sigevent"
21 msgstr ""
22
23 #. type: TH
24 #: debian-bookworm
25 #, no-wrap
26 msgid "2022-10-30"
27 msgstr "30 Octubre 2022"
28
29 #. type: TH
30 #: debian-bookworm
31 #, no-wrap
32 msgid "Linux man-pages 6.03"
33 msgstr "Páginas de Manual de Linux 6.03"
34
35 #. type: SH
36 #: debian-bookworm
37 #, no-wrap
38 msgid "NAME"
39 msgstr "NOMBRE"
40
41 #. type: Plain text
42 #: debian-bookworm
43 msgid "sigevent - structure for notification from asynchronous routines"
44 msgstr ""
45
46 #. type: SH
47 #: debian-bookworm
48 #, no-wrap
49 msgid "SYNOPSIS"
50 msgstr "SINOPSIS"
51
52 #. type: Plain text
53 #: debian-bookworm
54 #, no-wrap
55 msgid "#include E<lt>signal.hE<gt>\n"
56 msgstr ""
57
58 #. type: Plain text
59 #: debian-bookworm
60 #, no-wrap
61 msgid ""
62 "union sigval { /* Data passed with notification */\n"
63 " int sival_int; /* Integer value */\n"
64 " void *sival_ptr; /* Pointer value */\n"
65 "};\n"
66 msgstr ""
67
68 #. type: Plain text
69 #: debian-bookworm
70 #, no-wrap
71 msgid ""
72 "struct sigevent {\n"
73 " int sigev_notify; /* Notification method */\n"
74 " int sigev_signo; /* Notification signal */\n"
75 " union sigval sigev_value;\n"
76 " /* Data passed with notification */\n"
77 " void (*sigev_notify_function)(union sigval);\n"
78 " /* Function used for thread\n"
79 " notification (SIGEV_THREAD) */\n"
80 " void *sigev_notify_attributes;\n"
81 " /* Attributes for notification thread\n"
82 " (SIGEV_THREAD) */\n"
83 " pid_t sigev_notify_thread_id;\n"
84 " /* ID of thread to signal\n"
85 " (SIGEV_THREAD_ID); Linux-specific */\n"
86 "};\n"
87 msgstr ""
88
89 #. type: SH
90 #: debian-bookworm
91 #, no-wrap
92 msgid "DESCRIPTION"
93 msgstr "DESCRIPCIÓN"
94
95 #. type: Plain text
96 #: debian-bookworm
97 msgid ""
98 "The I<sigevent> structure is used by various APIs to describe the way a "
99 "process is to be notified about an event (e.g., completion of an "
100 "asynchronous request, expiration of a timer, or the arrival of a message)."
101 msgstr ""
102
103 #. type: Plain text
104 #: debian-bookworm
105 msgid ""
106 "The definition shown in the SYNOPSIS is approximate: some of the fields in "
107 "the I<sigevent> structure may be defined as part of a union. Programs "
108 "should employ only those fields relevant to the value specified in "
109 "I<sigev_notify>."
110 msgstr ""
111
112 #. type: Plain text
113 #: debian-bookworm
114 msgid ""
115 "The I<sigev_notify> field specifies how notification is to be performed. "
116 "This field can have one of the following values:"
117 msgstr ""
118
119 #. type: TP
120 #: debian-bookworm
121 #, no-wrap
122 msgid "B<SIGEV_NONE>"
123 msgstr "B<SIGEV_NONE>"
124
125 #. type: Plain text
126 #: debian-bookworm
127 msgid "A \"null\" notification: don't do anything when the event occurs."
128 msgstr ""
129
130 #. type: TP
131 #: debian-bookworm
132 #, no-wrap
133 msgid "B<SIGEV_SIGNAL>"
134 msgstr "B<SIGEV_SIGNAL>"
135
136 #. type: Plain text
137 #: debian-bookworm
138 msgid "Notify the process by sending the signal specified in I<sigev_signo>."
139 msgstr ""
140
141 #. type: Plain text
142 #: debian-bookworm
143 msgid ""
144 "If the signal is caught with a signal handler that was registered using the "
145 "B<sigaction>(2) B<SA_SIGINFO> flag, then the following fields are set in "
146 "the I<siginfo_t> structure that is passed as the second argument of the "
147 "handler:"
148 msgstr ""
149
150 #. type: TP
151 #: debian-bookworm
152 #, no-wrap
153 msgid "I<si_code>"
154 msgstr ""
155
156 #. type: Plain text
157 #: debian-bookworm
158 msgid ""
159 "This field is set to a value that depends on the API delivering the "
160 "notification."
161 msgstr ""
162
163 #. type: TP
164 #: debian-bookworm
165 #, no-wrap
166 msgid "I<si_signo>"
167 msgstr ""
168
169 #. type: Plain text
170 #: debian-bookworm
171 msgid ""
172 "This field is set to the signal number (i.e., the same value as in "
173 "I<sigev_signo>)."
174 msgstr ""
175
176 #. type: TP
177 #: debian-bookworm
178 #, no-wrap
179 msgid "I<si_value>"
180 msgstr ""
181
182 #. type: Plain text
183 #: debian-bookworm
184 msgid "This field is set to the value specified in I<sigev_value>."
185 msgstr ""
186
187 #. type: Plain text
188 #: debian-bookworm
189 msgid ""
190 "Depending on the API, other fields may also be set in the I<siginfo_t> "
191 "structure."
192 msgstr ""
193
194 #. type: Plain text
195 #: debian-bookworm
196 msgid ""
197 "The same information is also available if the signal is accepted using "
198 "B<sigwaitinfo>(2)."
199 msgstr ""
200
201 #. type: TP
202 #: debian-bookworm
203 #, no-wrap
204 msgid "B<SIGEV_THREAD>"
205 msgstr "B<SIGEV_THREAD>"
206
207 #. type: Plain text
208 #: debian-bookworm
209 msgid ""
210 "Notify the process by invoking I<sigev_notify_function> \"as if\" it were "
211 "the start function of a new thread. (Among the implementation possibilities "
212 "here are that each timer notification could result in the creation of a new "
213 "thread, or that a single thread is created to receive all notifications.) "
214 "The function is invoked with I<sigev_value> as its sole argument. If "
215 "I<sigev_notify_attributes> is not NULL, it should point to a "
216 "I<pthread_attr_t> structure that defines attributes for the new thread (see "
217 "B<pthread_attr_init>(3))."
218 msgstr ""
219
220 #. type: TP
221 #: debian-bookworm
222 #, no-wrap
223 msgid "B<SIGEV_THREAD_ID> (Linux-specific)"
224 msgstr ""
225
226 #. | SIGEV_SIGNAL vs not?
227 #. type: Plain text
228 #: debian-bookworm
229 msgid "Currently used only by POSIX timers; see B<timer_create>(2)."
230 msgstr ""
231
232 #. type: SH
233 #: debian-bookworm
234 #, no-wrap
235 msgid "SEE ALSO"
236 msgstr "VÉASE TAMBIÉN"
237
238 #. type: Plain text
239 #: debian-bookworm
240 msgid ""
241 "B<timer_create>(2), B<aio_fsync>(3), B<aio_read>(3), B<aio_write>(3), "
242 "B<getaddrinfo_a>(3), B<lio_listio>(3), B<mq_notify>(3), B<aio>(7), "
243 "B<pthreads>(7)"
244 msgstr ""