Debian Codegraph @

templates/man3/strdup.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:45+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 "strdup"
24 msgstr ""
25
26 #. type: TH
27 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
28 #, no-wrap
29 msgid "2026-02-25"
30 msgstr ""
31
32 #. type: TH
33 #: archlinux debian-unstable
34 #, no-wrap
35 msgid "Linux man-pages 6.18"
36 msgstr ""
37
38 #. type: SH
39 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
40 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
41 #, no-wrap
42 msgid "NAME"
43 msgstr ""
44
45 #. type: Plain text
46 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
47 msgid "strdup, strndup - duplicate a string"
48 msgstr ""
49
50 #. type: SH
51 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
52 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
53 #, no-wrap
54 msgid "LIBRARY"
55 msgstr ""
56
57 #. type: Plain text
58 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
59 #: opensuse-leap-16-1 opensuse-tumbleweed
60 msgid "Standard C library (I<libc>,\\ I<-lc>)"
61 msgstr ""
62
63 #. type: SH
64 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
65 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
66 #, no-wrap
67 msgid "SYNOPSIS"
68 msgstr ""
69
70 #. type: Plain text
71 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
72 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
73 #, no-wrap
74 msgid "B<#include E<lt>string.hE<gt>>\n"
75 msgstr ""
76
77 #. type: Plain text
78 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
79 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
80 #, no-wrap
81 msgid "B<char *strdup(const char *>I<s>B<);>\n"
82 msgstr ""
83
84 #. type: Plain text
85 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
86 #, no-wrap
87 msgid ""
88 "B<char *strndup(>size_t n;\n"
89 "B< const char >I<s>B<[>I<n>B<], size_t >I<n>B<);>\n"
90 msgstr ""
91
92 #. type: Plain text
93 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
94 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
95 msgid ""
96 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
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 msgid "B<strdup>():"
103 msgstr ""
104
105 #. || _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED
106 #. type: Plain text
107 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
108 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
109 #, no-wrap
110 msgid ""
111 " _XOPEN_SOURCE E<gt>= 500\n"
112 " || /* Since glibc 2.12: */ _POSIX_C_SOURCE E<gt>= 200809L\n"
113 " || /* glibc E<lt>= 2.19: */ _BSD_SOURCE || _SVID_SOURCE\n"
114 msgstr ""
115
116 #. type: Plain text
117 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
118 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
119 msgid "B<strndup>():"
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 #, no-wrap
126 msgid ""
127 " Since glibc 2.10:\n"
128 " _POSIX_C_SOURCE E<gt>= 200809L\n"
129 " Before glibc 2.10:\n"
130 " _GNU_SOURCE\n"
131 msgstr ""
132
133 #. type: SH
134 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
135 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
136 #, no-wrap
137 msgid "DESCRIPTION"
138 msgstr ""
139
140 #. type: Plain text
141 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
142 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
143 msgid ""
144 "The B<strdup>() function returns a pointer to a new string which is a "
145 "duplicate of the string I<s>. Memory for the new string is obtained with "
146 "B<malloc>(3), and can be freed with B<free>(3)."
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 B<strndup>() function is similar, but copies at most I<n> bytes. If "
154 "I<s> is longer than I<n>, only I<n> bytes are copied, and a terminating null "
155 "byte (\\[aq]\\[rs]0\\[aq]) is added."
156 msgstr ""
157
158 #. type: SH
159 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
160 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
161 #, no-wrap
162 msgid "RETURN VALUE"
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 "On success, the B<strdup>() function returns a pointer to the duplicated "
170 "string. It returns NULL if insufficient memory was available, with I<errno> "
171 "set to indicate the error."
172 msgstr ""
173
174 #. type: SH
175 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
176 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
177 #, no-wrap
178 msgid "ERRORS"
179 msgstr ""
180
181 #. type: TP
182 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
183 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
184 #, no-wrap
185 msgid "B<ENOMEM>"
186 msgstr ""
187
188 #. type: Plain text
189 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
190 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
191 msgid "Insufficient memory available to allocate duplicate string."
192 msgstr ""
193
194 #. type: SH
195 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
196 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
197 #, no-wrap
198 msgid "ATTRIBUTES"
199 msgstr ""
200
201 #. type: Plain text
202 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
203 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
204 msgid ""
205 "For an explanation of the terms used in this section, see B<attributes>(7)."
206 msgstr ""
207
208 #. type: tbl table
209 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
210 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
211 #, no-wrap
212 msgid "Interface"
213 msgstr ""
214
215 #. type: tbl table
216 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
217 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
218 #, no-wrap
219 msgid "Attribute"
220 msgstr ""
221
222 #. type: tbl table
223 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
224 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
225 #, no-wrap
226 msgid "Value"
227 msgstr ""
228
229 #. type: tbl table
230 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
231 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
232 #, no-wrap
233 msgid ".na\n"
234 msgstr ""
235
236 #. type: tbl table
237 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
238 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
239 #, no-wrap
240 msgid ".nh\n"
241 msgstr ""
242
243 #. type: tbl table
244 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
245 #, no-wrap
246 msgid ""
247 "B<strdup>(),\n"
248 "B<strndup>()"
249 msgstr ""
250
251 #. type: tbl table
252 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
253 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
254 #, no-wrap
255 msgid "Thread safety"
256 msgstr ""
257
258 #. type: tbl table
259 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
260 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
261 #, no-wrap
262 msgid "MT-Safe"
263 msgstr ""
264
265 #. type: SH
266 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
267 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
268 #, no-wrap
269 msgid "STANDARDS"
270 msgstr ""
271
272 #. type: Plain text
273 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
274 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
275 msgid "POSIX.1-2008."
276 msgstr ""
277
278 #. type: SH
279 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
280 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
281 #, no-wrap
282 msgid "HISTORY"
283 msgstr ""
284
285 #. type: TP
286 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
287 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
288 #, no-wrap
289 msgid "B<strdup>()"
290 msgstr ""
291
292 #. type: Plain text
293 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
294 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
295 msgid "SVr4, 4.3BSD-Reno, POSIX.1-2001."
296 msgstr ""
297
298 #. type: TP
299 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
300 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
301 #, no-wrap
302 msgid "B<strndup>()"
303 msgstr ""
304
305 #. type: SH
306 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
307 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
308 #, no-wrap
309 msgid "SEE ALSO"
310 msgstr ""
311
312 #. type: Plain text
313 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
314 msgid ""
315 "B<alloca>(3), B<calloc>(3), B<free>(3), B<malloc>(3), B<realloc>(3), "
316 "B<string>(3), B<strdupa>(3), B<strndupa>(3), B<wcsdup>(3)"
317 msgstr ""
318
319 #. type: TH
320 #: debian-trixie
321 #, no-wrap
322 msgid "2024-06-15"
323 msgstr ""
324
325 #. type: TH
326 #: debian-trixie
327 #, no-wrap
328 msgid "Linux man-pages 6.9.1"
329 msgstr ""
330
331 #. type: Plain text
332 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
333 msgid "strdup, strndup, strdupa, strndupa - duplicate a string"
334 msgstr ""
335
336 #. type: Plain text
337 #: debian-trixie
338 msgid "Standard C library (I<libc>, I<-lc>)"
339 msgstr ""
340
341 #. type: Plain text
342 #: debian-trixie fedora-44 fedora-rawhide
343 #, no-wrap
344 msgid ""
345 "B<char *strndup(const char >I<s>B<[.>I<n>B<], size_t >I<n>B<);>\n"
346 "B<char *strdupa(const char *>I<s>B<);>\n"
347 "B<char *strndupa(const char >I<s>B<[.>I<n>B<], size_t >I<n>B<);>\n"
348 msgstr ""
349
350 #. type: Plain text
351 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
352 msgid "B<strdupa>(), B<strndupa>():"
353 msgstr ""
354
355 #. type: Plain text
356 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
357 #, no-wrap
358 msgid " _GNU_SOURCE\n"
359 msgstr ""
360
361 #. type: Plain text
362 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
363 msgid ""
364 "B<strdupa>() and B<strndupa>() are similar, but use B<alloca>(3) to "
365 "allocate the buffer."
366 msgstr ""
367
368 #. type: tbl table
369 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
370 #, no-wrap
371 msgid ""
372 "B<strdup>(),\n"
373 "B<strndup>(),\n"
374 "B<strdupa>(),\n"
375 "B<strndupa>()"
376 msgstr ""
377
378 #. type: TP
379 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
380 #, no-wrap
381 msgid "B<strdupa>()"
382 msgstr ""
383
384 #. type: TQ
385 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
386 #, no-wrap
387 msgid "B<strndupa>()"
388 msgstr ""
389
390 #. type: Plain text
391 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
392 msgid "GNU."
393 msgstr ""
394
395 #. type: Plain text
396 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
397 msgid ""
398 "B<alloca>(3), B<calloc>(3), B<free>(3), B<malloc>(3), B<realloc>(3), "
399 "B<string>(3), B<wcsdup>(3)"
400 msgstr ""
401
402 #. type: TH
403 #: fedora-44 fedora-rawhide
404 #, no-wrap
405 msgid "2024-07-23"
406 msgstr ""
407
408 #. type: TH
409 #: fedora-44 fedora-rawhide
410 #, no-wrap
411 msgid "Linux man-pages 6.13"
412 msgstr ""
413
414 #. type: TH
415 #: mageia-cauldron
416 #, no-wrap
417 msgid "2026-02-08"
418 msgstr ""
419
420 #. type: TH
421 #: mageia-cauldron
422 #, no-wrap
423 msgid "Linux man-pages 6.17"
424 msgstr ""
425
426 #. type: Plain text
427 #: mageia-cauldron
428 #, no-wrap
429 msgid ""
430 "B<char *strndup(>size_t n;\n"
431 "B< const char >I<s>B<[>I<n>B<], size_t >I<n>B<);>\n"
432 "B<char *strdupa(const char *>I<s>B<);>\n"
433 "B<char *strndupa(>size_t n;\n"
434 "B< const char >I<s>B<[>I<n>B<], size_t >I<n>B<);>\n"
435 msgstr ""
436
437 #. type: TH
438 #: opensuse-leap-16-1 opensuse-tumbleweed
439 #, no-wrap
440 msgid "Linux man-pages (unreleased)"
441 msgstr ""