Debian Codegraph @

templates/man3/flockfile.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:24+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 "flockfile"
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 "flockfile, ftrylockfile, funlockfile - lock FILE for stdio"
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 "Standard C library (I<libc>,\\ I<-lc>)"
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>stdio.hE<gt>>\n"
77 msgstr ""
78
79 #. type: Plain text
80 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
81 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
82 #, no-wrap
83 msgid ""
84 "B<void flockfile(FILE *>I<filehandle>B<);>\n"
85 "B<int ftrylockfile(FILE *>I<filehandle>B<);>\n"
86 "B<void funlockfile(FILE *>I<filehandle>B<);>\n"
87 msgstr ""
88
89 #. type: Plain text
90 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
91 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
92 msgid ""
93 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
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 "All functions shown above:"
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 #, no-wrap
106 msgid ""
107 " /* Since glibc 2.24: */ _POSIX_C_SOURCE E<gt>= 199309L\n"
108 " || /* glibc E<lt>= 2.23: */ _POSIX_C_SOURCE\n"
109 " || /* glibc E<lt>= 2.19: */ _BSD_SOURCE || _SVID_SOURCE\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 "The stdio functions are thread-safe. This is achieved by assigning to each "
124 "I<FILE> object a lockcount and (if the lockcount is nonzero) an owning "
125 "thread. For each library call, these functions wait until the I<FILE> "
126 "object is no longer locked by a different thread, then lock it, do the "
127 "requested I/O, and unlock the object again."
128 msgstr ""
129
130 #. type: Plain text
131 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
132 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
133 msgid ""
134 "(Note: this locking has nothing to do with the file locking done by "
135 "functions like B<flock>(2) and B<lockf>(3).)"
136 msgstr ""
137
138 #. type: Plain text
139 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
140 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
141 msgid ""
142 "All this is invisible to the C-programmer, but there may be two reasons to "
143 "wish for more detailed control. On the one hand, maybe a series of I/O "
144 "actions by one thread belongs together, and should not be interrupted by the "
145 "I/O of some other thread. On the other hand, maybe the locking overhead "
146 "should be avoided for greater efficiency."
147 msgstr ""
148
149 #. type: Plain text
150 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
151 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
152 msgid ""
153 "To this end, a thread can explicitly lock the I<FILE> object, then do its "
154 "series of I/O actions, then unlock. This prevents other threads from coming "
155 "in between. If the reason for doing this was to achieve greater efficiency, "
156 "one does the I/O with the nonlocking versions of the stdio functions: with "
157 "B<getc_unlocked>(3) and B<putc_unlocked>(3) instead of B<getc>(3) and "
158 "B<putc>(3)."
159 msgstr ""
160
161 #. type: Plain text
162 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
163 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
164 msgid ""
165 "The B<flockfile>() function waits for I<*filehandle> to be no longer locked "
166 "by a different thread, then makes the current thread owner of "
167 "I<*filehandle>, and increments the lockcount."
168 msgstr ""
169
170 #. type: Plain text
171 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
172 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
173 msgid "The B<funlockfile>() function decrements the lock count."
174 msgstr ""
175
176 #. type: Plain text
177 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
178 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
179 msgid ""
180 "The B<ftrylockfile>() function is a nonblocking version of B<flockfile>(). "
181 "It does nothing in case some other thread owns I<*filehandle>, and it "
182 "obtains ownership and increments the lockcount otherwise."
183 msgstr ""
184
185 #. type: SH
186 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
187 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
188 #, no-wrap
189 msgid "RETURN VALUE"
190 msgstr ""
191
192 #. type: Plain text
193 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
194 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
195 msgid ""
196 "The B<ftrylockfile>() function returns zero for success (the lock was "
197 "obtained), and nonzero for failure."
198 msgstr ""
199
200 #. type: SH
201 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
202 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
203 #, no-wrap
204 msgid "ERRORS"
205 msgstr ""
206
207 #. type: Plain text
208 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
209 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
210 msgid "None."
211 msgstr ""
212
213 #. type: SH
214 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
215 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
216 #, no-wrap
217 msgid "ATTRIBUTES"
218 msgstr ""
219
220 #. type: Plain text
221 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
222 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
223 msgid ""
224 "For an explanation of the terms used in this section, see B<attributes>(7)."
225 msgstr ""
226
227 #. type: tbl table
228 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
229 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
230 #, no-wrap
231 msgid "Interface"
232 msgstr ""
233
234 #. type: tbl table
235 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
236 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
237 #, no-wrap
238 msgid "Attribute"
239 msgstr ""
240
241 #. type: tbl table
242 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
243 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
244 #, no-wrap
245 msgid "Value"
246 msgstr ""
247
248 #. type: tbl table
249 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
250 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
251 #, no-wrap
252 msgid ".na\n"
253 msgstr ""
254
255 #. type: tbl table
256 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
257 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
258 #, no-wrap
259 msgid ".nh\n"
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 ""
267 "B<flockfile>(),\n"
268 "B<ftrylockfile>(),\n"
269 "B<funlockfile>()"
270 msgstr ""
271
272 #. type: tbl table
273 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
274 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
275 #, no-wrap
276 msgid "Thread safety"
277 msgstr ""
278
279 #. type: tbl table
280 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
281 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
282 #, no-wrap
283 msgid "MT-Safe"
284 msgstr ""
285
286 #. type: SH
287 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
288 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
289 #, no-wrap
290 msgid "STANDARDS"
291 msgstr ""
292
293 #. type: Plain text
294 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
295 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
296 msgid "POSIX.1-2008."
297 msgstr ""
298
299 #. type: SH
300 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
301 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
302 #, no-wrap
303 msgid "HISTORY"
304 msgstr ""
305
306 #. type: Plain text
307 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
308 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
309 msgid "POSIX.1-2001."
310 msgstr ""
311
312 #. type: Plain text
313 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
314 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
315 msgid ""
316 "These functions are available when B<_POSIX_THREAD_SAFE_FUNCTIONS> is "
317 "defined."
318 msgstr ""
319
320 #. type: SH
321 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
322 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
323 #, no-wrap
324 msgid "SEE ALSO"
325 msgstr ""
326
327 #. type: Plain text
328 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
329 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
330 msgid "B<unlocked_stdio>(3)"
331 msgstr ""
332
333 #. type: TH
334 #: debian-trixie
335 #, no-wrap
336 msgid "2024-05-02"
337 msgstr ""
338
339 #. type: TH
340 #: debian-trixie
341 #, no-wrap
342 msgid "Linux man-pages 6.9.1"
343 msgstr ""
344
345 #. type: Plain text
346 #: debian-trixie
347 msgid "Standard C library (I<libc>, I<-lc>)"
348 msgstr ""
349
350 #. type: TH
351 #: fedora-44 fedora-rawhide
352 #, no-wrap
353 msgid "2024-07-23"
354 msgstr ""
355
356 #. type: TH
357 #: fedora-44 fedora-rawhide
358 #, no-wrap
359 msgid "Linux man-pages 6.13"
360 msgstr ""
361
362 #. type: TH
363 #: mageia-cauldron
364 #, no-wrap
365 msgid "Linux man-pages 6.17"
366 msgstr ""
367
368 #. type: TH
369 #: opensuse-leap-16-1 opensuse-tumbleweed
370 #, no-wrap
371 msgid "Linux man-pages (unreleased)"
372 msgstr ""