Debian Codegraph @

templates/man3/catopen.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:20+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 "catopen"
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 "catopen, catclose - open/close a message catalog"
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>nl_types.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<nl_catd catopen(const char *>I<name>B<, int >I<flag>B<);>\n"
85 "B<int catclose(nl_catd >I<catalog>B<);>\n"
86 msgstr ""
87
88 #. type: SH
89 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
90 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
91 #, no-wrap
92 msgid "DESCRIPTION"
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 "The function B<catopen>() opens a message catalog and returns a catalog "
100 "descriptor. The descriptor remains valid until B<catclose>() or "
101 "B<execve>(2). If a file descriptor is used to implement catalog "
102 "descriptors, then the B<FD_CLOEXEC> flag will be set."
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 ""
109 "The argument I<name> specifies the name of the message catalog to be "
110 "opened. If I<name> specifies an absolute path (i.e., contains a \\[aq]/\\"
111 "[aq]), then I<name> specifies a pathname for the message catalog. "
112 "Otherwise, the environment variable B<NLSPATH> is used with I<name> "
113 "substituted for B<%N> (see B<locale>(7)). It is unspecified whether "
114 "B<NLSPATH> will be used when the process has root privileges. If B<NLSPATH> "
115 "does not exist in the environment, or if a message catalog cannot be opened "
116 "in any of the paths specified by it, then an implementation defined path is "
117 "used. This latter default path may depend on the B<LC_MESSAGES> locale "
118 "setting when the I<flag> argument is B<NL_CAT_LOCALE> and on the B<LANG> "
119 "environment variable when the I<flag> argument is 0. Changing the "
120 "B<LC_MESSAGES> part of the locale may invalidate open catalog descriptors."
121 msgstr ""
122
123 #. type: Plain text
124 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
125 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
126 msgid ""
127 "The I<flag> argument to B<catopen>() is used to indicate the source for the "
128 "language to use. If it is set to B<NL_CAT_LOCALE>, then it will use the "
129 "current locale setting for B<LC_MESSAGES>. Otherwise, it will use the "
130 "B<LANG> environment variable."
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 "The function B<catclose>() closes the message catalog identified by "
138 "I<catalog>. It invalidates any subsequent references to the message catalog "
139 "defined by I<catalog>."
140 msgstr ""
141
142 #. type: SH
143 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
144 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
145 #, no-wrap
146 msgid "RETURN VALUE"
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 "The function B<catopen>() returns a message catalog descriptor of type "
154 "I<nl_catd> on success. On failure, it returns I<(nl_catd)\\ -1> and sets "
155 "I<errno> to indicate the error. The possible error values include all "
156 "possible values for the B<open>(2) call."
157 msgstr ""
158
159 #. type: Plain text
160 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
161 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
162 msgid "The function B<catclose>() returns 0 on success, or -1 on failure."
163 msgstr ""
164
165 #. type: SH
166 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
167 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
168 #, no-wrap
169 msgid "ENVIRONMENT"
170 msgstr ""
171
172 #. type: TP
173 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
174 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
175 #, no-wrap
176 msgid "B<LC_MESSAGES>"
177 msgstr ""
178
179 #. type: Plain text
180 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
181 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
182 msgid ""
183 "May be the source of the B<LC_MESSAGES> locale setting, and thus determine "
184 "the language to use if I<flag> is set to B<NL_CAT_LOCALE>."
185 msgstr ""
186
187 #. type: TP
188 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
189 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
190 #, no-wrap
191 msgid "B<LANG>"
192 msgstr ""
193
194 #. type: Plain text
195 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
196 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
197 msgid "The language to use if I<flag> is 0."
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 "ATTRIBUTES"
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 ""
211 "For an explanation of the terms used in this section, see B<attributes>(7)."
212 msgstr ""
213
214 #. type: tbl table
215 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
216 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
217 #, no-wrap
218 msgid "Interface"
219 msgstr ""
220
221 #. type: tbl table
222 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
223 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
224 #, no-wrap
225 msgid "Attribute"
226 msgstr ""
227
228 #. type: tbl table
229 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
230 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
231 #, no-wrap
232 msgid "Value"
233 msgstr ""
234
235 #. type: tbl table
236 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
237 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
238 #, no-wrap
239 msgid ".na\n"
240 msgstr ""
241
242 #. type: tbl table
243 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
244 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
245 #, no-wrap
246 msgid ".nh\n"
247 msgstr ""
248
249 #. type: tbl table
250 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
251 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
252 #, no-wrap
253 msgid "B<catopen>()"
254 msgstr ""
255
256 #. type: tbl table
257 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
258 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
259 #, no-wrap
260 msgid "Thread safety"
261 msgstr ""
262
263 #. type: tbl table
264 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
265 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
266 #, no-wrap
267 msgid "MT-Safe env"
268 msgstr ""
269
270 #. type: tbl table
271 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
272 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
273 #, no-wrap
274 msgid "B<catclose>()"
275 msgstr ""
276
277 #. type: tbl table
278 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
279 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
280 #, no-wrap
281 msgid "MT-Safe"
282 msgstr ""
283
284 #. type: SH
285 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
286 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
287 #, no-wrap
288 msgid "VERSIONS"
289 msgstr ""
290
291 #. (Compare
292 #. .B MCLoadAll
293 #. below.)
294 #. .SS Linux notes
295 #. These functions are available for Linux since libc 4.4.4c.
296 #. In the case of linux libc4 and libc5, the catalog descriptor
297 #. .I nl_catd
298 #. is a
299 #. .BR mmap (2)'ed
300 #. area of memory and not a file descriptor.
301 #. The
302 #. .I flag
303 #. argument to
304 #. .BR catopen ()
305 #. should be either
306 #. .B MCLoadBySet
307 #. (=0) or
308 #. .B MCLoadAll
309 #. (=1).
310 #. The former value indicates that a set from the catalog is to be
311 #. loaded when needed, whereas the latter causes the initial call to
312 #. .BR catopen ()
313 #. to load the entire catalog into memory.
314 #. The default search path varies, but usually looks at a number of places below
315 #. .I /etc/locale
316 #. and
317 #. .IR /usr/lib/locale .
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 ""
322 "The above is the POSIX.1 description. The glibc value for B<NL_CAT_LOCALE> "
323 "is 1. The default path varies, but usually looks at a number of places "
324 "below I</usr/share/locale>."
325 msgstr ""
326
327 #. type: SH
328 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
329 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
330 #, no-wrap
331 msgid "STANDARDS"
332 msgstr ""
333
334 #. type: Plain text
335 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
336 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
337 msgid "POSIX.1-2008."
338 msgstr ""
339
340 #. type: SH
341 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
342 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
343 #, no-wrap
344 msgid "HISTORY"
345 msgstr ""
346
347 #
348 #. #-#-#-#-# archlinux: catopen.3.pot (PACKAGE VERSION) #-#-#-#-#
349 #. In XPG 1987, Vol.\& 3 it says:
350 #. .I "The flag argument of catopen is reserved for future use"
351 #. .IR "and should be set to 0" .
352 #. It is unclear what the source was for the constants
353 #. .B MCLoadBySet
354 #. and
355 #. .B MCLoadAll
356 #. (see below).
357 #. type: Plain text
358 #. #-#-#-#-# debian-trixie: catopen.3.pot (PACKAGE VERSION) #-#-#-#-#
359 #. In XPG 1987, Vol. 3 it says:
360 #. .I "The flag argument of catopen is reserved for future use"
361 #. .IR "and should be set to 0" .
362 #. It is unclear what the source was for the constants
363 #. .B MCLoadBySet
364 #. and
365 #. .B MCLoadAll
366 #. (see below).
367 #. type: Plain text
368 #. #-#-#-#-# debian-unstable: catopen.3.pot (PACKAGE VERSION) #-#-#-#-#
369 #. In XPG 1987, Vol.\& 3 it says:
370 #. .I "The flag argument of catopen is reserved for future use"
371 #. .IR "and should be set to 0" .
372 #. It is unclear what the source was for the constants
373 #. .B MCLoadBySet
374 #. and
375 #. .B MCLoadAll
376 #. (see below).
377 #. type: Plain text
378 #. #-#-#-#-# fedora-44: catopen.3.pot (PACKAGE VERSION) #-#-#-#-#
379 #. In XPG 1987, Vol. 3 it says:
380 #. .I "The flag argument of catopen is reserved for future use"
381 #. .IR "and should be set to 0" .
382 #. It is unclear what the source was for the constants
383 #. .B MCLoadBySet
384 #. and
385 #. .B MCLoadAll
386 #. (see below).
387 #. type: Plain text
388 #. #-#-#-#-# fedora-rawhide: catopen.3.pot (PACKAGE VERSION) #-#-#-#-#
389 #. In XPG 1987, Vol. 3 it says:
390 #. .I "The flag argument of catopen is reserved for future use"
391 #. .IR "and should be set to 0" .
392 #. It is unclear what the source was for the constants
393 #. .B MCLoadBySet
394 #. and
395 #. .B MCLoadAll
396 #. (see below).
397 #. type: Plain text
398 #. #-#-#-#-# mageia-cauldron: catopen.3.pot (PACKAGE VERSION) #-#-#-#-#
399 #. In XPG 1987, Vol.\& 3 it says:
400 #. .I "The flag argument of catopen is reserved for future use"
401 #. .IR "and should be set to 0" .
402 #. It is unclear what the source was for the constants
403 #. .B MCLoadBySet
404 #. and
405 #. .B MCLoadAll
406 #. (see below).
407 #. type: Plain text
408 #. #-#-#-#-# opensuse-leap-16-1: catopen.3.pot (PACKAGE VERSION) #-#-#-#-#
409 #. In XPG 1987, Vol.\& 3 it says:
410 #. .I "The flag argument of catopen is reserved for future use"
411 #. .IR "and should be set to 0" .
412 #. It is unclear what the source was for the constants
413 #. .B MCLoadBySet
414 #. and
415 #. .B MCLoadAll
416 #. (see below).
417 #. type: Plain text
418 #. #-#-#-#-# opensuse-tumbleweed: catopen.3.pot (PACKAGE VERSION) #-#-#-#-#
419 #. In XPG 1987, Vol.\& 3 it says:
420 #. .I "The flag argument of catopen is reserved for future use"
421 #. .IR "and should be set to 0" .
422 #. It is unclear what the source was for the constants
423 #. .B MCLoadBySet
424 #. and
425 #. .B MCLoadAll
426 #. (see below).
427 #. type: Plain text
428 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
429 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
430 msgid "POSIX.1-2001."
431 msgstr ""
432
433 #. type: SH
434 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
435 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
436 #, no-wrap
437 msgid "SEE ALSO"
438 msgstr ""
439
440 #. type: Plain text
441 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
442 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
443 msgid "B<catgets>(3), B<setlocale>(3)"
444 msgstr ""
445
446 #. type: TH
447 #: debian-trixie
448 #, no-wrap
449 msgid "2024-05-02"
450 msgstr ""
451
452 #. type: TH
453 #: debian-trixie
454 #, no-wrap
455 msgid "Linux man-pages 6.9.1"
456 msgstr ""
457
458 #. type: Plain text
459 #: debian-trixie
460 msgid "Standard C library (I<libc>, I<-lc>)"
461 msgstr ""
462
463 #. type: TH
464 #: fedora-44 fedora-rawhide
465 #, no-wrap
466 msgid "2024-07-23"
467 msgstr ""
468
469 #. type: TH
470 #: fedora-44 fedora-rawhide
471 #, no-wrap
472 msgid "Linux man-pages 6.13"
473 msgstr ""
474
475 #. type: TH
476 #: mageia-cauldron
477 #, no-wrap
478 msgid "Linux man-pages 6.17"
479 msgstr ""
480
481 #. type: TH
482 #: opensuse-leap-16-1 opensuse-tumbleweed
483 #, no-wrap
484 msgid "Linux man-pages (unreleased)"
485 msgstr ""