Debian Codegraph @

templates/man3/envz_add.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:23+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 "envz_add"
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 ""
50 "envz_add, envz_entry, envz_get, envz_merge, envz_remove, envz_strip - "
51 "environment string support"
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 "Standard C library (I<libc>,\\ I<-lc>)"
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>envz.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<error_t envz_add(char **restrict >I<envz>B<, size_t *restrict >I<envz_len>B<,>\n"
87 "B< const char *restrict >I<name>B<, const char *restrict >I<value>B<);>\n"
88 msgstr ""
89
90 #. type: Plain text
91 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
92 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
93 #, no-wrap
94 msgid ""
95 "B<char *envz_entry(const char *restrict >I<envz>B<, size_t >I<envz_len>B<,>\n"
96 "B< const char *restrict >I<name>B<);>\n"
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 #, no-wrap
103 msgid ""
104 "B<char *envz_get(const char *restrict >I<envz>B<, size_t >I<envz_len>B<,>\n"
105 "B< const char *restrict >I<name>B<);>\n"
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 ""
113 "B<error_t envz_merge(char **restrict >I<envz>B<, size_t *restrict >I<envz_len>B<,>\n"
114 "B< const char *restrict >I<envz2>B<, size_t >I<envz2_len>B<,>\n"
115 "B< int >I<override>B<);>\n"
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 #, no-wrap
122 msgid ""
123 "B<void envz_remove(char **restrict >I<envz>B<, size_t *restrict >I<envz_len>B<,>\n"
124 "B< const char *restrict >I<name>B<);>\n"
125 msgstr ""
126
127 #. type: Plain text
128 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
129 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
130 #, no-wrap
131 msgid "B<void envz_strip(char **restrict >I<envz>B<, size_t *restrict >I<envz_len>B<);>\n"
132 msgstr ""
133
134 #. type: SH
135 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
136 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
137 #, no-wrap
138 msgid "DESCRIPTION"
139 msgstr ""
140
141 #. type: Plain text
142 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
143 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
144 msgid "These functions are glibc-specific."
145 msgstr ""
146
147 #. type: Plain text
148 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
149 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
150 msgid ""
151 "An argz vector is a pointer to a character buffer together with a length, "
152 "see B<argz_add>(3). An envz vector is a special argz vector, namely one "
153 "where the strings have the form \"name=value\". Everything after the first "
154 "\\[aq]=\\[aq] is considered to be the value. If there is no \\[aq]=\\[aq], "
155 "the value is taken to be NULL. (While the value in case of a trailing \\"
156 "[aq]=\\[aq] is the empty string \"\".)"
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 "These functions are for handling envz vectors."
163 msgstr ""
164
165 #. type: Plain text
166 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
167 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
168 msgid ""
169 "B<envz_add>() adds the string \"I<name>=I<value>\" (in case I<value> is non-"
170 "NULL) or \"I<name>\" (in case I<value> is NULL) to the envz vector (I<*envz>,"
171 "\\ I<*envz_len>) and updates I<*envz> and I<*envz_len>. If an entry with "
172 "the same I<name> existed, it is removed."
173 msgstr ""
174
175 #. type: Plain text
176 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
177 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
178 msgid ""
179 "B<envz_entry>() looks for I<name> in the envz vector (I<envz>,\\ "
180 "I<envz_len>) and returns the entry if found, or NULL if not."
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 ""
187 "B<envz_get>() looks for I<name> in the envz vector (I<envz>,\\ "
188 "I<envz_len>) and returns the value if found, or NULL if not. (Note that "
189 "the value can also be NULL, namely when there is an entry for I<name> "
190 "without \\[aq]=\\[aq] sign.)"
191 msgstr ""
192
193 #. type: Plain text
194 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
195 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
196 msgid ""
197 "B<envz_merge>() adds each entry in I<envz2> to I<*envz>, as if with "
198 "B<envz_add>(). If I<override> is true, then values in I<envz2> will "
199 "supersede those with the same name in I<*envz>, otherwise not."
200 msgstr ""
201
202 #. type: Plain text
203 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
204 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
205 msgid ""
206 "B<envz_remove>() removes the entry for I<name> from (I<*envz>,\\ "
207 "I<*envz_len>) if there was one."
208 msgstr ""
209
210 #. type: Plain text
211 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
212 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
213 msgid "B<envz_strip>() removes all entries with value NULL."
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 "All envz functions that do memory allocation have a return type of "
228 "I<error_t> (an integer type), and return 0 for success, and B<ENOMEM> if an "
229 "allocation error occurs."
230 msgstr ""
231
232 #. type: SH
233 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
234 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
235 #, no-wrap
236 msgid "ATTRIBUTES"
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 "For an explanation of the terms used in this section, see B<attributes>(7)."
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 "Interface"
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 "Attribute"
258 msgstr ""
259
260 #. type: tbl table
261 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
262 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
263 #, no-wrap
264 msgid "Value"
265 msgstr ""
266
267 #. type: tbl table
268 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
269 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
270 #, no-wrap
271 msgid ".na\n"
272 msgstr ""
273
274 #. type: tbl table
275 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
276 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
277 #, no-wrap
278 msgid ".nh\n"
279 msgstr ""
280
281 #. type: tbl table
282 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
283 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
284 #, no-wrap
285 msgid ""
286 "B<envz_add>(),\n"
287 "B<envz_entry>(),\n"
288 "B<envz_get>(),\n"
289 "B<envz_merge>(),\n"
290 "B<envz_remove>(),\n"
291 "B<envz_strip>()"
292 msgstr ""
293
294 #. type: tbl table
295 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
296 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
297 #, no-wrap
298 msgid "Thread safety"
299 msgstr ""
300
301 #. type: tbl table
302 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
303 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
304 #, no-wrap
305 msgid "MT-Safe"
306 msgstr ""
307
308 #. type: SH
309 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
310 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
311 #, no-wrap
312 msgid "STANDARDS"
313 msgstr ""
314
315 #. type: Plain text
316 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
317 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
318 msgid "GNU."
319 msgstr ""
320
321 #. type: SH
322 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
323 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
324 #, no-wrap
325 msgid "EXAMPLES"
326 msgstr ""
327
328 #. type: Plain text
329 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
330 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
331 #, no-wrap
332 msgid ""
333 "#include E<lt>envz.hE<gt>\n"
334 "#include E<lt>stdio.hE<gt>\n"
335 "#include E<lt>stdlib.hE<gt>\n"
336 "\\&\n"
337 "int\n"
338 "main(int argc, char *argv[], char *envp[])\n"
339 "{\n"
340 " char *str;\n"
341 " size_t e_len = 0;\n"
342 "\\&\n"
343 " for (size_t i = 0; envp[i] != NULL; i++)\n"
344 " e_len += strlen(envp[i]) + 1;\n"
345 "\\&\n"
346 " str = envz_entry(*envp, e_len, \"HOME\");\n"
347 " printf(\"%s\\[rs]n\", str);\n"
348 " str = envz_get(*envp, e_len, \"HOME\");\n"
349 " printf(\"%s\\[rs]n\", str);\n"
350 " exit(EXIT_SUCCESS);\n"
351 "}\n"
352 msgstr ""
353
354 #. SRC END
355 #. type: SH
356 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
357 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
358 #, no-wrap
359 msgid "SEE ALSO"
360 msgstr ""
361
362 #. type: Plain text
363 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
364 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
365 msgid "B<argz_add>(3)"
366 msgstr ""
367
368 #. type: TH
369 #: debian-trixie
370 #, no-wrap
371 msgid "2024-06-15"
372 msgstr ""
373
374 #. type: TH
375 #: debian-trixie
376 #, no-wrap
377 msgid "Linux man-pages 6.9.1"
378 msgstr ""
379
380 #. type: Plain text
381 #: debian-trixie
382 msgid "Standard C library (I<libc>, I<-lc>)"
383 msgstr ""
384
385 #. type: TH
386 #: fedora-44 fedora-rawhide
387 #, no-wrap
388 msgid "2024-07-23"
389 msgstr ""
390
391 #. type: TH
392 #: fedora-44 fedora-rawhide
393 #, no-wrap
394 msgid "Linux man-pages 6.13"
395 msgstr ""
396
397 #. type: TH
398 #: mageia-cauldron
399 #, no-wrap
400 msgid "Linux man-pages 6.17"
401 msgstr ""
402
403 #. type: TH
404 #: opensuse-leap-16-1 opensuse-tumbleweed
405 #, no-wrap
406 msgid "Linux man-pages (unreleased)"
407 msgstr ""