Debian Codegraph @

templates/man3/pthread_atfork.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_atfork"
24 msgstr ""
25
26 #. type: TH
27 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
28 #: opensuse-tumbleweed
29 #, no-wrap
30 msgid "2026-02-08"
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 "pthread_atfork - register fork handlers"
50 msgstr ""
51
52 #. type: SH
53 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
54 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
55 #, no-wrap
56 msgid "LIBRARY"
57 msgstr ""
58
59 #. type: Plain text
60 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
61 #: opensuse-leap-16-1 opensuse-tumbleweed
62 msgid "POSIX threads library (I<libpthread>,\\ I<-lpthread>)"
63 msgstr ""
64
65 #. type: SH
66 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
67 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
68 #, no-wrap
69 msgid "SYNOPSIS"
70 msgstr ""
71
72 #. type: Plain text
73 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
74 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
75 #, no-wrap
76 msgid "B<#include E<lt>pthread.hE<gt>>\n"
77 msgstr ""
78
79 #. type: Plain text
80 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
81 #: opensuse-leap-16-1 opensuse-tumbleweed
82 #, no-wrap
83 msgid ""
84 "B<int pthread_atfork(typeof(void (void)) *>I<prepare>B<,>\n"
85 "B< typeof(void (void)) *>I<parent>B<,>\n"
86 "B< typeof(void (void)) *>I<child>B<);>\n"
87 msgstr ""
88
89 #. type: SH
90 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
91 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
92 #, no-wrap
93 msgid "DESCRIPTION"
94 msgstr ""
95
96 #. type: Plain text
97 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
98 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
99 msgid ""
100 "The B<pthread_atfork>() function registers fork handlers that are to be "
101 "executed when B<fork>(2) is called by any thread in a process. The "
102 "handlers are executed in the context of the thread that calls B<fork>(2)."
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 msgid "Three kinds of handler can be registered:"
109 msgstr ""
110
111 #. type: IP
112 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
113 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
114 #, no-wrap
115 msgid "\\[bu]"
116 msgstr ""
117
118 #. type: Plain text
119 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
120 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
121 msgid ""
122 "I<prepare> specifies a handler that is executed in the parent process before "
123 "B<fork>(2) processing starts."
124 msgstr ""
125
126 #. type: Plain text
127 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
128 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
129 msgid ""
130 "I<parent> specifies a handler that is executed in the parent process after "
131 "B<fork>(2) processing completes."
132 msgstr ""
133
134 #. type: Plain text
135 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
136 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
137 msgid ""
138 "I<child> specifies a handler that is executed in the child process after "
139 "B<fork>(2) processing completes."
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 "Any of the three arguments may be NULL if no handler is needed in the "
147 "corresponding phase of B<fork>(2) processing."
148 msgstr ""
149
150 #. type: SH
151 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
152 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
153 #, no-wrap
154 msgid "RETURN VALUE"
155 msgstr ""
156
157 #. type: Plain text
158 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
159 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
160 msgid ""
161 "On success, B<pthread_atfork>() returns zero. On error, it returns an "
162 "error number. B<pthread_atfork>() may be called multiple times by a "
163 "process to register additional handlers. The handlers for each phase are "
164 "called in a specified order: the I<prepare> handlers are called in reverse "
165 "order of registration; the I<parent> and I<child> handlers are called in the "
166 "order of registration."
167 msgstr ""
168
169 #. type: SH
170 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
171 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
172 #, no-wrap
173 msgid "ERRORS"
174 msgstr ""
175
176 #. type: TP
177 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
178 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
179 #, no-wrap
180 msgid "B<ENOMEM>"
181 msgstr ""
182
183 #. type: Plain text
184 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
185 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
186 msgid "Could not allocate memory to record the fork handler list entry."
187 msgstr ""
188
189 #. type: SH
190 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
191 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
192 #, no-wrap
193 msgid "STANDARDS"
194 msgstr ""
195
196 #. type: Plain text
197 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
198 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
199 msgid "POSIX.1-2008."
200 msgstr ""
201
202 #. type: SH
203 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
204 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
205 #, no-wrap
206 msgid "HISTORY"
207 msgstr ""
208
209 #. type: Plain text
210 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
211 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
212 msgid "POSIX.1-2001."
213 msgstr ""
214
215 #. type: SH
216 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
217 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
218 #, no-wrap
219 msgid "NOTES"
220 msgstr ""
221
222 #. type: Plain text
223 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
224 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
225 msgid ""
226 "When B<fork>(2) is called in a multithreaded process, only the calling "
227 "thread is duplicated in the child process. The original intention of "
228 "B<pthread_atfork>() was to allow the child process to be returned to a "
229 "consistent state. For example, at the time of the call to B<fork>(2), other "
230 "threads may have locked mutexes that are visible in the user-space memory "
231 "duplicated in the child. Such mutexes would never be unlocked, since the "
232 "threads that placed the locks are not duplicated in the child. The intent "
233 "of B<pthread_atfork>() was to provide a mechanism whereby the application "
234 "(or a library) could ensure that mutexes and other process and thread state "
235 "would be restored to a consistent state. In practice, this task is "
236 "generally too difficult to be practicable."
237 msgstr ""
238
239 #. type: Plain text
240 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
241 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
242 msgid ""
243 "After a B<fork>(2) in a multithreaded process returns in the child, the "
244 "child should call only async-signal-safe functions (see B<signal-"
245 "safety>(7)) until such time as it calls B<execve>(2) to execute a new "
246 "program."
247 msgstr ""
248
249 #. type: Plain text
250 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
251 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
252 msgid ""
253 "POSIX.1 specifies that B<pthread_atfork>() shall not fail with the error "
254 "B<EINTR>."
255 msgstr ""
256
257 #. type: SH
258 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
259 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
260 #, no-wrap
261 msgid "SEE ALSO"
262 msgstr ""
263
264 #. type: Plain text
265 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
266 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
267 msgid "B<fork>(2), B<atexit>(3), B<pthreads>(7)"
268 msgstr ""
269
270 #. type: TH
271 #: debian-trixie
272 #, no-wrap
273 msgid "2024-05-02"
274 msgstr ""
275
276 #. type: TH
277 #: debian-trixie
278 #, no-wrap
279 msgid "Linux man-pages 6.9.1"
280 msgstr ""
281
282 #. type: Plain text
283 #: debian-trixie
284 msgid "POSIX threads library (I<libpthread>, I<-lpthread>)"
285 msgstr ""
286
287 #. type: Plain text
288 #: debian-trixie
289 #, no-wrap
290 msgid ""
291 "B<int pthread_atfork(void (*>I<prepare>B<)(void), void (*>I<parent>B<)(void),>\n"
292 "B< void (*>I<child>B<)(void));>\n"
293 msgstr ""
294
295 #. type: TH
296 #: fedora-44 fedora-rawhide
297 #, no-wrap
298 msgid "2024-12-13"
299 msgstr ""
300
301 #. type: TH
302 #: fedora-44 fedora-rawhide
303 #, no-wrap
304 msgid "Linux man-pages 6.13"
305 msgstr ""
306
307 #. type: TH
308 #: mageia-cauldron
309 #, no-wrap
310 msgid "Linux man-pages 6.17"
311 msgstr ""
312
313 #. type: TH
314 #: opensuse-leap-16-1 opensuse-tumbleweed
315 #, no-wrap
316 msgid "Linux man-pages (unreleased)"
317 msgstr ""