Debian Codegraph @

templates/man3/strsep.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 "strsep"
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-trixie debian-unstable fedora-44 fedora-rawhide
47 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
48 msgid "strsep - extract token from string"
49 msgstr ""
50
51 #. type: SH
52 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
53 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
54 #, no-wrap
55 msgid "LIBRARY"
56 msgstr ""
57
58 #. type: Plain text
59 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
60 #: opensuse-leap-16-1 opensuse-tumbleweed
61 msgid "Standard C library (I<libc>,\\ I<-lc>)"
62 msgstr ""
63
64 #. type: SH
65 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
66 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
67 #, no-wrap
68 msgid "SYNOPSIS"
69 msgstr ""
70
71 #. type: Plain text
72 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
73 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
74 #, no-wrap
75 msgid "B<#include E<lt>string.hE<gt>>\n"
76 msgstr ""
77
78 #. type: Plain text
79 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
80 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
81 #, no-wrap
82 msgid "B<char *strsep(char **restrict >I<stringp>B<, const char *restrict >I<delim>B<);>\n"
83 msgstr ""
84
85 #. type: Plain text
86 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
87 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
88 msgid ""
89 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
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 "B<strsep>():"
96 msgstr ""
97
98 #. type: Plain text
99 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
100 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
101 #, no-wrap
102 msgid ""
103 " Since glibc 2.19:\n"
104 " _DEFAULT_SOURCE\n"
105 " glibc 2.19 and earlier:\n"
106 " _BSD_SOURCE\n"
107 msgstr ""
108
109 #. type: SH
110 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
111 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
112 #, no-wrap
113 msgid "DESCRIPTION"
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 ""
120 "If I<*stringp> is NULL, the B<strsep>() function returns NULL and does "
121 "nothing else. Otherwise, this function finds the first token in the string "
122 "I<*stringp> that is delimited by one of the bytes in the string I<delim>. "
123 "This token is terminated by overwriting the delimiter with a null byte (\\"
124 "[aq]\\[rs]0\\[aq]), and I<*stringp> is updated to point past the token. In "
125 "case no delimiter was found, the token is taken to be the entire string "
126 "I<*stringp>, and I<*stringp> is made NULL."
127 msgstr ""
128
129 #. type: SH
130 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
131 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
132 #, no-wrap
133 msgid "RETURN VALUE"
134 msgstr ""
135
136 #. type: Plain text
137 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
138 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
139 msgid ""
140 "The B<strsep>() function returns a pointer to the token, that is, it "
141 "returns the original value of I<*stringp>."
142 msgstr ""
143
144 #. type: SH
145 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
146 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
147 #, no-wrap
148 msgid "ATTRIBUTES"
149 msgstr ""
150
151 #. type: Plain text
152 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
153 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
154 msgid ""
155 "For an explanation of the terms used in this section, see B<attributes>(7)."
156 msgstr ""
157
158 #. type: tbl table
159 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
160 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
161 #, no-wrap
162 msgid "Interface"
163 msgstr ""
164
165 #. type: tbl table
166 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
167 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
168 #, no-wrap
169 msgid "Attribute"
170 msgstr ""
171
172 #. type: tbl table
173 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
174 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
175 #, no-wrap
176 msgid "Value"
177 msgstr ""
178
179 #. type: tbl table
180 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
181 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
182 #, no-wrap
183 msgid ".na\n"
184 msgstr ""
185
186 #. type: tbl table
187 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
188 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
189 #, no-wrap
190 msgid ".nh\n"
191 msgstr ""
192
193 #. type: tbl table
194 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
195 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
196 #, no-wrap
197 msgid "B<strsep>()"
198 msgstr ""
199
200 #. type: tbl table
201 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
202 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
203 #, no-wrap
204 msgid "Thread safety"
205 msgstr ""
206
207 #. type: tbl table
208 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
209 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
210 #, no-wrap
211 msgid "MT-Safe"
212 msgstr ""
213
214 #. type: SH
215 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
216 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
217 #, no-wrap
218 msgid "STANDARDS"
219 msgstr ""
220
221 #. type: Plain text
222 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
223 #: opensuse-leap-16-1 opensuse-tumbleweed
224 msgid "BSD."
225 msgstr ""
226
227 #. type: SH
228 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
229 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
230 #, no-wrap
231 msgid "HISTORY"
232 msgstr ""
233
234 #. type: Plain text
235 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
236 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
237 msgid "4.4BSD."
238 msgstr ""
239
240 #. type: Plain text
241 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
242 #: opensuse-leap-16-1 opensuse-tumbleweed
243 msgid ""
244 "The B<strsep>() function was introduced as a replacement for B<strtok>(3), "
245 "since the latter cannot handle empty fields."
246 msgstr ""
247
248 #. type: SH
249 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
250 #: opensuse-leap-16-1 opensuse-tumbleweed
251 #, no-wrap
252 msgid "CAVEATS"
253 msgstr ""
254
255 #. type: Plain text
256 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
257 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
258 msgid "Be cautious when using this function. If you do use it, note that:"
259 msgstr ""
260
261 #. type: IP
262 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
263 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
264 #, no-wrap
265 msgid "\\[bu]"
266 msgstr ""
267
268 #. type: Plain text
269 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
270 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
271 msgid "The identity of the delimiting character is lost."
272 msgstr ""
273
274 #. type: SH
275 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
276 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
277 #, no-wrap
278 msgid "EXAMPLES"
279 msgstr ""
280
281 #. type: Plain text
282 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
283 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
284 msgid ""
285 "The program below is a port of the one found in B<strtok>(3), which, "
286 "however, doesn't discard multiple delimiters or empty tokens:"
287 msgstr ""
288
289 #. type: Plain text
290 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
291 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
292 #, no-wrap
293 msgid ""
294 "$B< ./a.out \\[aq]a/bbb///cc;xxx:yyy:\\[aq] \\[aq]:;\\[aq] \\[aq]/\\[aq]>\n"
295 "1: a/bbb///cc\n"
296 " --E<gt> a\n"
297 " --E<gt> bbb\n"
298 " --E<gt>\n"
299 " --E<gt>\n"
300 " --E<gt> cc\n"
301 "2: xxx\n"
302 " --E<gt> xxx\n"
303 "3: yyy\n"
304 " --E<gt> yyy\n"
305 "4:\n"
306 " --E<gt>\n"
307 msgstr ""
308
309 #. type: SS
310 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
311 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
312 #, no-wrap
313 msgid "Program source"
314 msgstr ""
315
316 #. type: Plain text
317 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
318 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
319 #, no-wrap
320 msgid ""
321 "#include E<lt>stdio.hE<gt>\n"
322 "#include E<lt>stdlib.hE<gt>\n"
323 "#include E<lt>string.hE<gt>\n"
324 "\\&\n"
325 "int\n"
326 "main(int argc, char *argv[])\n"
327 "{\n"
328 " char *token, *subtoken;\n"
329 "\\&\n"
330 " if (argc != 4) {\n"
331 " fprintf(stderr, \"Usage: %s string delim subdelim\\[rs]n\", argv[0]);\n"
332 " exit(EXIT_FAILURE);\n"
333 " }\n"
334 "\\&\n"
335 " for (unsigned int j = 1; (token = strsep(&argv[1], argv[2])); j++) {\n"
336 " printf(\"%u: %s\\[rs]n\", j, token);\n"
337 "\\&\n"
338 " while ((subtoken = strsep(&token, argv[3])))\n"
339 " printf(\"\\[rs]t --E<gt> %s\\[rs]n\", subtoken);\n"
340 " }\n"
341 "\\&\n"
342 " exit(EXIT_SUCCESS);\n"
343 "}\n"
344 msgstr ""
345
346 #. SRC END
347 #. type: SH
348 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
349 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
350 #, no-wrap
351 msgid "SEE ALSO"
352 msgstr ""
353
354 #. type: Plain text
355 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
356 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
357 msgid ""
358 "B<memchr>(3), B<strchr>(3), B<string>(3), B<strpbrk>(3), B<strspn>(3), "
359 "B<strstr>(3), B<strtok>(3)"
360 msgstr ""
361
362 #. type: TH
363 #: debian-trixie
364 #, no-wrap
365 msgid "2024-06-15"
366 msgstr ""
367
368 #. type: TH
369 #: debian-trixie
370 #, no-wrap
371 msgid "Linux man-pages 6.9.1"
372 msgstr ""
373
374 #. type: Plain text
375 #: debian-trixie
376 msgid "Standard C library (I<libc>, I<-lc>)"
377 msgstr ""
378
379 #. type: Plain text
380 #: debian-trixie
381 msgid "None."
382 msgstr ""
383
384 #. type: Plain text
385 #: debian-trixie
386 msgid ""
387 "The B<strsep>() function was introduced as a replacement for B<strtok>(3), "
388 "since the latter cannot handle empty fields. However, B<strtok>(3) "
389 "conforms to C89/C99 and hence is more portable."
390 msgstr ""
391
392 #. type: SH
393 #: debian-trixie
394 #, no-wrap
395 msgid "BUGS"
396 msgstr ""
397
398 #. type: Plain text
399 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
400 msgid "This function modifies its first argument."
401 msgstr ""
402
403 #. type: Plain text
404 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
405 msgid "This function cannot be used on constant strings."
406 msgstr ""
407
408 #. type: TH
409 #: fedora-44 fedora-rawhide
410 #, no-wrap
411 msgid "2024-07-23"
412 msgstr ""
413
414 #. type: TH
415 #: fedora-44 fedora-rawhide
416 #, no-wrap
417 msgid "Linux man-pages 6.13"
418 msgstr ""
419
420 #. type: TH
421 #: mageia-cauldron
422 #, no-wrap
423 msgid "2026-02-08"
424 msgstr ""
425
426 #. type: TH
427 #: mageia-cauldron
428 #, no-wrap
429 msgid "Linux man-pages 6.17"
430 msgstr ""
431
432 #. type: TH
433 #: opensuse-leap-16-1 opensuse-tumbleweed
434 #, no-wrap
435 msgid "Linux man-pages (unreleased)"
436 msgstr ""