Debian Codegraph @

templates/man3/pthread_attr_setstack.3.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:38+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 "pthread_attr_setstack"
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-06-28"
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 "pthread_attr_setstack, pthread_attr_getstack - set/get stack attributes in "
51 "thread attributes object"
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 "POSIX threads library (I<libpthread>,\\ I<-lpthread>)"
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>pthread.hE<gt>>\n"
79 msgstr ""
80
81 #. type: Plain text
82 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
83 #: opensuse-tumbleweed
84 #, no-wrap
85 msgid ""
86 "B<int pthread_attr_setstack(>size_t stacksize;\n"
87 "B< pthread_attr_t *>I<attr>B<,>\n"
88 "B< void >I<stackaddr>B<[>I<stacksize>B<],>\n"
89 "B< size_t >I<stacksize>B<);>\n"
90 "B<int pthread_attr_getstack(const pthread_attr_t *restrict >I<attr>B<,>\n"
91 "B< void **restrict >I<stackaddr>B<,>\n"
92 "B< size_t *restrict >I<stacksize>B<);>\n"
93 msgstr ""
94
95 #. type: Plain text
96 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
97 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
98 msgid ""
99 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
100 msgstr ""
101
102 #. type: Plain text
103 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
104 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
105 msgid "B<pthread_attr_getstack>(), B<pthread_attr_setstack>():"
106 msgstr ""
107
108 #. type: Plain text
109 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
110 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
111 #, no-wrap
112 msgid " _POSIX_C_SOURCE E<gt>= 200112L\n"
113 msgstr ""
114
115 #. type: SH
116 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
117 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
118 #, no-wrap
119 msgid "DESCRIPTION"
120 msgstr ""
121
122 #. type: Plain text
123 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
124 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
125 msgid ""
126 "The B<pthread_attr_setstack>() function sets the stack address and stack "
127 "size attributes of the thread attributes object referred to by I<attr> to "
128 "the values specified in I<stackaddr> and I<stacksize>, respectively. These "
129 "attributes specify the location and size of the stack that should be used by "
130 "a thread that is created using the thread attributes object I<attr>."
131 msgstr ""
132
133 #. type: Plain text
134 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
135 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
136 msgid ""
137 "I<stackaddr> should point to the lowest addressable byte of a buffer of "
138 "I<stacksize> bytes that was allocated by the caller. The pages of the "
139 "allocated buffer should be both readable and writable."
140 msgstr ""
141
142 #. type: Plain text
143 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
144 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
145 msgid ""
146 "The B<pthread_attr_getstack>() function returns the stack address and stack "
147 "size attributes of the thread attributes object referred to by I<attr> in "
148 "the buffers pointed to by I<stackaddr> and I<stacksize>, respectively."
149 msgstr ""
150
151 #. type: SH
152 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
153 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
154 #, no-wrap
155 msgid "RETURN VALUE"
156 msgstr ""
157
158 #. type: Plain text
159 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
160 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
161 msgid ""
162 "On success, these functions return 0; on error, they return a nonzero error "
163 "number."
164 msgstr ""
165
166 #. type: SH
167 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
168 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
169 #, no-wrap
170 msgid "ERRORS"
171 msgstr ""
172
173 #. type: Plain text
174 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
175 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
176 msgid "B<pthread_attr_setstack>() can fail with the following error:"
177 msgstr ""
178
179 #. type: TP
180 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
181 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
182 #, no-wrap
183 msgid "B<EINVAL>"
184 msgstr ""
185
186 #. type: Plain text
187 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
188 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
189 msgid ""
190 "I<stacksize> is less than B<PTHREAD_STACK_MIN> (16384) bytes. On some "
191 "systems, this error may also occur if I<stackaddr> or I<stackaddr\\ +\\ "
192 "stacksize> is not suitably aligned."
193 msgstr ""
194
195 #. type: Plain text
196 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
197 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
198 msgid ""
199 "POSIX.1 also documents an B<EACCES> error if the stack area described by "
200 "I<stackaddr> and I<stacksize> is not both readable and writable by the "
201 "caller."
202 msgstr ""
203
204 #. type: SH
205 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
206 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
207 #, no-wrap
208 msgid "ATTRIBUTES"
209 msgstr ""
210
211 #. type: Plain text
212 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
213 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
214 msgid ""
215 "For an explanation of the terms used in this section, see B<attributes>(7)."
216 msgstr ""
217
218 #. type: tbl table
219 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
220 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
221 #, no-wrap
222 msgid "Interface"
223 msgstr ""
224
225 #. type: tbl table
226 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
227 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
228 #, no-wrap
229 msgid "Attribute"
230 msgstr ""
231
232 #. type: tbl table
233 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
234 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
235 #, no-wrap
236 msgid "Value"
237 msgstr ""
238
239 #. type: tbl table
240 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
241 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
242 #, no-wrap
243 msgid ".na\n"
244 msgstr ""
245
246 #. type: tbl table
247 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
248 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
249 #, no-wrap
250 msgid ".nh\n"
251 msgstr ""
252
253 #. type: tbl table
254 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
255 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
256 #, no-wrap
257 msgid ""
258 "B<pthread_attr_setstack>(),\n"
259 "B<pthread_attr_getstack>()"
260 msgstr ""
261
262 #. type: tbl table
263 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
264 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
265 #, no-wrap
266 msgid "Thread safety"
267 msgstr ""
268
269 #. type: tbl table
270 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
271 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
272 #, no-wrap
273 msgid "MT-Safe"
274 msgstr ""
275
276 #. type: SH
277 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
278 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
279 #, no-wrap
280 msgid "STANDARDS"
281 msgstr ""
282
283 #. type: Plain text
284 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
285 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
286 msgid "POSIX.1-2008."
287 msgstr ""
288
289 #. type: SH
290 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
291 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
292 #, no-wrap
293 msgid "HISTORY"
294 msgstr ""
295
296 #. type: Plain text
297 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
298 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
299 msgid "glibc 2.2. POSIX.1-2001."
300 msgstr ""
301
302 #. type: SH
303 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
304 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
305 #, no-wrap
306 msgid "NOTES"
307 msgstr ""
308
309 #. type: Plain text
310 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
311 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
312 msgid ""
313 "These functions are provided for applications that must ensure that a "
314 "thread's stack is placed in a particular location. For most applications, "
315 "this is not necessary, and the use of these functions should be avoided. "
316 "(Use B<pthread_attr_setstacksize>(3) if an application simply requires a "
317 "stack size other than the default.)"
318 msgstr ""
319
320 #. type: Plain text
321 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
322 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
323 msgid ""
324 "When an application employs B<pthread_attr_setstack>(), it takes over the "
325 "responsibility of allocating the stack. Any guard size value that was set "
326 "using B<pthread_attr_setguardsize>(3) is ignored. If deemed necessary, it "
327 "is the application's responsibility to allocate a guard area (one or more "
328 "pages protected against reading and writing) to handle the possibility of "
329 "stack overflow."
330 msgstr ""
331
332 #. type: Plain text
333 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
334 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
335 msgid ""
336 "The address specified in I<stackaddr> should be suitably aligned: for full "
337 "portability, align it on a page boundary (I<sysconf(_SC_PAGESIZE)>). "
338 "B<posix_memalign>(3) may be useful for allocation. Probably, I<stacksize> "
339 "should also be a multiple of the system page size."
340 msgstr ""
341
342 #. type: Plain text
343 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
344 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
345 msgid ""
346 "If I<attr> is used to create multiple threads, then the caller must change "
347 "the stack address attribute between calls to B<pthread_create>(3); "
348 "otherwise, the threads will attempt to use the same memory area for their "
349 "stacks, and chaos will ensue."
350 msgstr ""
351
352 #. type: SH
353 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
354 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
355 #, no-wrap
356 msgid "EXAMPLES"
357 msgstr ""
358
359 #. type: Plain text
360 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
361 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
362 msgid "See B<pthread_attr_init>(3)."
363 msgstr ""
364
365 #. type: SH
366 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
367 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
368 #, no-wrap
369 msgid "SEE ALSO"
370 msgstr ""
371
372 #. type: Plain text
373 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
374 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
375 msgid ""
376 "B<mmap>(2), B<mprotect>(2), B<posix_memalign>(3), B<pthread_attr_init>(3), "
377 "B<pthread_attr_setguardsize>(3), B<pthread_attr_setstackaddr>(3), "
378 "B<pthread_attr_setstacksize>(3), B<pthread_create>(3), B<pthreads>(7)"
379 msgstr ""
380
381 #. type: TH
382 #: debian-trixie
383 #, no-wrap
384 msgid "2024-05-02"
385 msgstr ""
386
387 #. type: TH
388 #: debian-trixie
389 #, no-wrap
390 msgid "Linux man-pages 6.9.1"
391 msgstr ""
392
393 #. type: Plain text
394 #: debian-trixie
395 msgid "POSIX threads library (I<libpthread>, I<-lpthread>)"
396 msgstr ""
397
398 #. type: Plain text
399 #: debian-trixie fedora-44 fedora-rawhide
400 #, no-wrap
401 msgid ""
402 "B<int pthread_attr_setstack(pthread_attr_t *>I<attr>B<,>\n"
403 "B< void >I<stackaddr>B<[.>I<stacksize>B<],>\n"
404 "B< size_t >I<stacksize>B<);>\n"
405 "B<int pthread_attr_getstack(const pthread_attr_t *restrict >I<attr>B<,>\n"
406 "B< void **restrict >I<stackaddr>B<,>\n"
407 "B< size_t *restrict >I<stacksize>B<);>\n"
408 msgstr ""
409
410 #. type: TH
411 #: fedora-44 fedora-rawhide
412 #, no-wrap
413 msgid "2024-07-23"
414 msgstr ""
415
416 #. type: TH
417 #: fedora-44 fedora-rawhide
418 #, no-wrap
419 msgid "Linux man-pages 6.13"
420 msgstr ""
421
422 #. type: TH
423 #: mageia-cauldron
424 #, no-wrap
425 msgid "Linux man-pages 6.17"
426 msgstr ""
427
428 #. type: TH
429 #: opensuse-leap-16-1 opensuse-tumbleweed
430 #, no-wrap
431 msgid "Linux man-pages (unreleased)"
432 msgstr ""