Debian Codegraph @

templates/man2/timer_settime.2.pot

raw
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "POT-Creation-Date: 2026-06-05 06:49+0200\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <[email protected]>\n"
14 "Language: \n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18
19 #. type: TH
20 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
21 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
22 #, no-wrap
23 msgid "timer_settime"
24 msgstr ""
25
26 #. type: TH
27 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
28 #: opensuse-tumbleweed
29 #, no-wrap
30 msgid "2025-10-29"
31 msgstr ""
32
33 #. type: TH
34 #: archlinux debian-unstable
35 #, no-wrap
36 msgid "Linux man-pages 6.18"
37 msgstr ""
38
39 #. type: SH
40 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
41 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
42 #, no-wrap
43 msgid "NAME"
44 msgstr ""
45
46 #. type: Plain text
47 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
48 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
49 msgid ""
50 "timer_settime, timer_gettime - arm/disarm and fetch state of POSIX per-"
51 "process timer"
52 msgstr ""
53
54 #. type: SH
55 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
56 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
57 #, no-wrap
58 msgid "LIBRARY"
59 msgstr ""
60
61 #. type: Plain text
62 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
63 #: opensuse-leap-16-1 opensuse-tumbleweed
64 msgid "Real-time library (I<librt>,\\ I<-lrt>)"
65 msgstr ""
66
67 #. type: SH
68 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
69 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
70 #, no-wrap
71 msgid "SYNOPSIS"
72 msgstr ""
73
74 #. type: Plain text
75 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
76 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
77 #, no-wrap
78 msgid "B<#include E<lt>time.hE<gt>>\n"
79 msgstr ""
80
81 #. type: Plain text
82 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
83 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
84 #, no-wrap
85 msgid ""
86 "B<int timer_gettime(timer_t >I<timerid>B<, struct itimerspec *>I<curr_value>B<);>\n"
87 "B<int timer_settime(timer_t >I<timerid>B<, int >I<flags>B<,>\n"
88 "B< const struct itimerspec *restrict >I<new_value>B<,>\n"
89 "B< struct itimerspec *_Nullable restrict >I<old_value>B<);>\n"
90 msgstr ""
91
92 #. type: Plain text
93 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
94 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
95 msgid ""
96 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
97 msgstr ""
98
99 #. type: Plain text
100 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
101 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
102 msgid "B<timer_settime>(), B<timer_gettime>():"
103 msgstr ""
104
105 #. type: Plain text
106 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
107 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
108 #, no-wrap
109 msgid " _POSIX_C_SOURCE E<gt>= 199309L\n"
110 msgstr ""
111
112 #. type: SH
113 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
114 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
115 #, no-wrap
116 msgid "DESCRIPTION"
117 msgstr ""
118
119 #. type: Plain text
120 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
121 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
122 msgid ""
123 "B<timer_settime>() arms or disarms the timer identified by I<timerid>. The "
124 "I<new_value> argument is pointer to an I<itimerspec> structure that "
125 "specifies the new initial value and the new interval for the timer. The "
126 "I<itimerspec> structure is described in B<itimerspec>(3type)."
127 msgstr ""
128
129 #. type: Plain text
130 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
131 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
132 msgid ""
133 "Each of the substructures of the I<itimerspec> structure is a "
134 "B<timespec>(3) structure that allows a time value to be specified in "
135 "seconds and nanoseconds. These time values are measured according to the "
136 "clock that was specified when the timer was created by B<timer_create>(2)."
137 msgstr ""
138
139 #. type: Plain text
140 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
141 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
142 msgid ""
143 "If I<new_value-E<gt>it_value> specifies a nonzero value (i.e., either "
144 "subfield is nonzero), then B<timer_settime>() arms (starts) the timer, "
145 "setting it to initially expire at the given time. (If the timer was already "
146 "armed, then the previous settings are overwritten.) If I<new_value-"
147 "E<gt>it_value> specifies a zero value (i.e., both subfields are zero), then "
148 "the timer is disarmed."
149 msgstr ""
150
151 #. type: Plain text
152 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
153 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
154 msgid ""
155 "The I<new_value-E<gt>it_interval> field specifies the period of the timer, "
156 "in seconds and nanoseconds. If this field is nonzero, then each time that "
157 "an armed timer expires, the timer is reloaded from the value specified in "
158 "I<new_value-E<gt>it_interval>. If I<new_value-E<gt>it_interval> specifies a "
159 "zero value, then the timer expires just once, at the time specified by "
160 "I<it_value>."
161 msgstr ""
162
163 #. By experiment: the overrun count is set correctly, for CLOCK_REALTIME.
164 #. type: Plain text
165 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
166 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
167 msgid ""
168 "By default, the initial expiration time specified in I<new_value-"
169 "E<gt>it_value> is interpreted relative to the current time on the timer's "
170 "clock at the time of the call. This can be modified by specifying "
171 "B<TIMER_ABSTIME> in I<flags>, in which case I<new_value-E<gt>it_value> is "
172 "interpreted as an absolute value as measured on the timer's clock; that is, "
173 "the timer will expire when the clock value reaches the value specified by "
174 "I<new_value-E<gt>it_value>. If the specified absolute time has already "
175 "passed, then the timer expires immediately, and the overrun count (see "
176 "B<timer_getoverrun>(2)) will be set correctly."
177 msgstr ""
178
179 #. Similar remarks might apply with respect to process and thread CPU time
180 #. clocks, but these clocks are not currently (2.6.28) settable on Linux.
181 #. type: Plain text
182 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
183 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
184 msgid ""
185 "If the value of the B<CLOCK_REALTIME> clock is adjusted while an absolute "
186 "timer based on that clock is armed, then the expiration of the timer will be "
187 "appropriately adjusted. Adjustments to the B<CLOCK_REALTIME> clock have no "
188 "effect on relative timers based on that clock."
189 msgstr ""
190
191 #. type: Plain text
192 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
193 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
194 msgid ""
195 "If I<old_value> is not NULL, then it points to a buffer that is used to "
196 "return the previous interval of the timer (in I<old_value-"
197 "E<gt>it_interval>) and the amount of time until the timer would previously "
198 "have next expired (in I<old_value-E<gt>it_value>)."
199 msgstr ""
200
201 #. type: Plain text
202 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
203 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
204 msgid ""
205 "B<timer_gettime>() returns the time until next expiration, and the "
206 "interval, for the timer specified by I<timerid>, in the buffer pointed to by "
207 "I<curr_value>. The time remaining until the next timer expiration is "
208 "returned in I<curr_value-E<gt>it_value>; this is always a relative value, "
209 "regardless of whether the B<TIMER_ABSTIME> flag was used when arming the "
210 "timer. If the value returned in I<curr_value-E<gt>it_value> is zero, then "
211 "the timer is currently disarmed. The timer interval is returned in "
212 "I<curr_value-E<gt>it_interval>. If the value returned in I<curr_value-"
213 "E<gt>it_interval> is zero, then this is a \"one-shot\" timer."
214 msgstr ""
215
216 #. type: SH
217 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
218 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
219 #, no-wrap
220 msgid "RETURN VALUE"
221 msgstr ""
222
223 #. type: Plain text
224 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
225 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
226 msgid ""
227 "On success, B<timer_settime>() and B<timer_gettime>() return 0. On error, "
228 "-1 is returned, and I<errno> is set to indicate the error."
229 msgstr ""
230
231 #. type: SH
232 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
233 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
234 #, no-wrap
235 msgid "ERRORS"
236 msgstr ""
237
238 #. type: Plain text
239 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
240 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
241 msgid "These functions may fail with the following errors:"
242 msgstr ""
243
244 #. type: TP
245 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
246 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
247 #, no-wrap
248 msgid "B<EFAULT>"
249 msgstr ""
250
251 #. type: Plain text
252 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
253 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
254 msgid "I<new_value>, I<old_value>, or I<curr_value> is not a valid pointer."
255 msgstr ""
256
257 #. type: TP
258 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
259 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
260 #, no-wrap
261 msgid "B<EINVAL>"
262 msgstr ""
263
264 #. FIXME . eventually: invalid value in flags
265 #. type: Plain text
266 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
267 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
268 msgid "I<timerid> is invalid."
269 msgstr ""
270
271 #. type: Plain text
272 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
273 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
274 msgid "B<timer_settime>() may fail with the following errors:"
275 msgstr ""
276
277 #. type: Plain text
278 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
279 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
280 msgid ""
281 "I<new_value.it_value> is negative; or I<new_value.it_value.tv_nsec> is "
282 "negative or greater than 999,999,999."
283 msgstr ""
284
285 #. type: SH
286 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
287 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
288 #, no-wrap
289 msgid "STANDARDS"
290 msgstr ""
291
292 #. type: Plain text
293 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
294 #: opensuse-tumbleweed
295 msgid "POSIX.1-2024."
296 msgstr ""
297
298 #. type: SH
299 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
300 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
301 #, no-wrap
302 msgid "HISTORY"
303 msgstr ""
304
305 #. type: Plain text
306 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
307 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
308 msgid "Linux 2.6. POSIX.1-2001."
309 msgstr ""
310
311 #. type: SH
312 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
313 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
314 #, no-wrap
315 msgid "EXAMPLES"
316 msgstr ""
317
318 #. type: Plain text
319 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
320 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
321 msgid "See B<timer_create>(2)."
322 msgstr ""
323
324 #. type: SH
325 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
326 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
327 #, no-wrap
328 msgid "SEE ALSO"
329 msgstr ""
330
331 #. type: Plain text
332 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
333 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
334 msgid "B<timer_create>(2), B<timer_getoverrun>(2), B<timespec>(3), B<time>(7)"
335 msgstr ""
336
337 #. type: TH
338 #: debian-trixie
339 #, no-wrap
340 msgid "2024-05-02"
341 msgstr ""
342
343 #. type: TH
344 #: debian-trixie
345 #, no-wrap
346 msgid "Linux man-pages 6.9.1"
347 msgstr ""
348
349 #. type: Plain text
350 #: debian-trixie
351 msgid "Real-time library (I<librt>, I<-lrt>)"
352 msgstr ""
353
354 #. type: Plain text
355 #: debian-trixie fedora-44 fedora-rawhide
356 msgid "POSIX.1-2008."
357 msgstr ""
358
359 #. type: TH
360 #: fedora-44 fedora-rawhide
361 #, no-wrap
362 msgid "2024-07-23"
363 msgstr ""
364
365 #. type: TH
366 #: fedora-44 fedora-rawhide
367 #, no-wrap
368 msgid "Linux man-pages 6.13"
369 msgstr ""
370
371 #. type: TH
372 #: mageia-cauldron
373 #, no-wrap
374 msgid "Linux man-pages 6.17"
375 msgstr ""
376
377 #. type: TH
378 #: opensuse-leap-16-1 opensuse-tumbleweed
379 #, no-wrap
380 msgid "Linux man-pages (unreleased)"
381 msgstr ""