Debian Codegraph @

po/ro/man3/stpncpy.3.po

raw
1 # Romanian translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Remus-Gabriel Chelu <[email protected]>, 2024, 2025, 2026.
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: manpages-l10n 4.21.0\n"
8 "POT-Creation-Date: 2026-06-05 06:45+0200\n"
9 "PO-Revision-Date: 2026-05-07 01:33+0200\n"
10 "Last-Translator: Remus-Gabriel Chelu <[email protected]>\n"
11 "Language-Team: Romanian <[email protected]>\n"
12 "Language: ro\n"
13 "MIME-Version: 1.0\n"
14 "Content-Type: text/plain; charset=UTF-8\n"
15 "Content-Transfer-Encoding: 8bit\n"
16 "Plural-Forms: nplurals=3; plural=n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < "
17 "20)) ? 1 : 2;\n"
18 "X-Generator: Poedit 3.8\n"
19
20 #. type: TH
21 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
22 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
23 #, no-wrap
24 msgid "stpncpy"
25 msgstr "stpncpy"
26
27 #. type: TH
28 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
29 #, no-wrap
30 msgid "2026-02-25"
31 msgstr "25 februarie 2026"
32
33 #. type: TH
34 #: archlinux debian-unstable
35 #, no-wrap
36 msgid "Linux man-pages 6.18"
37 msgstr "Pagini de manual de Linux 6.18"
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 "NUME"
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 "stpncpy, strncpy - fill a fixed-size buffer with non-null bytes from a "
51 "string, padding with null bytes as needed"
52 msgstr ""
53 "stpncpy, strncpy - umple o memorie tampon de mărime fixă cu octeți nenuli "
54 "dintr-un șir de caractere, umplând cu octeți nenuli după cum este necesar"
55
56 #. type: SH
57 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
58 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
59 #, no-wrap
60 msgid "LIBRARY"
61 msgstr "BIBLIOTECA"
62
63 #. type: Plain text
64 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
65 #: opensuse-leap-16-1 opensuse-tumbleweed
66 msgid "Standard C library (I<libc>,\\ I<-lc>)"
67 msgstr "Biblioteca C standard (I<libc>, I<-lc>)"
68
69 #. type: SH
70 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
71 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
72 #, no-wrap
73 msgid "SYNOPSIS"
74 msgstr "SINOPSIS"
75
76 #. type: Plain text
77 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
78 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
79 #, no-wrap
80 msgid "B<#include E<lt>string.hE<gt>>\n"
81 msgstr "B<#include E<lt>string.hE<gt>>\n"
82
83 #. type: Plain text
84 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
85 #: opensuse-tumbleweed
86 #, no-wrap
87 msgid ""
88 "B<char *strncpy(>size_t dsize;\n"
89 "B< char >I<dst>B<[restrict >I<dsize>B<], const char *restrict >I<src>B<,>\n"
90 "B< size_t >I<dsize>B<);>\n"
91 "B<char *stpncpy(>size_t dsize;\n"
92 "B< char >I<dst>B<[restrict >I<dsize>B<], const char *restrict >I<src>B<,>\n"
93 "B< size_t >I<dsize>B<);>\n"
94 msgstr ""
95 "B<char *strncpy(>size_t dsize;\n"
96 "B< char >I<dst>B<[restrict >I<dsize>B<], const char *restrict >I<src>B<,>\n"
97 "B< size_t >I<dsize>B<);>\n"
98 "B<char *stpncpy(>size_t dsize;\n"
99 "B< char >I<dst>B<[restrict >I<dsize>B<], const char *restrict >I<src>B<,>\n"
100 "B< size_t >I<dsize>B<);>\n"
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 msgid ""
106 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
107 msgstr ""
108 "Cerințe pentru macrocomenzi de testare a caracteristicilor pentru glibc "
109 "(consultați B<feature_test_macros>(7)):"
110
111 #. type: Plain text
112 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
113 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
114 msgid "B<stpncpy>():"
115 msgstr "B<stpncpy>():"
116
117 #. type: Plain text
118 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
119 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
120 #, no-wrap
121 msgid ""
122 " Since glibc 2.10:\n"
123 " _POSIX_C_SOURCE E<gt>= 200809L\n"
124 " Before glibc 2.10:\n"
125 " _GNU_SOURCE\n"
126 msgstr ""
127 " Începând cu glibc 2.10\n"
128 " _POSIX_C_SOURCE E<gt>= 200809L\n"
129 " Înainte de glibc 2.10:\n"
130 " _GNU_SOURCE\n"
131
132 #. type: SH
133 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
134 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
135 #, no-wrap
136 msgid "DESCRIPTION"
137 msgstr "DESCRIERE"
138
139 #. type: Plain text
140 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
141 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
142 msgid ""
143 "These functions copy non-null bytes from the string pointed to by I<src> "
144 "into the array pointed to by I<dst>. If the source has too few non-null "
145 "bytes to fill the destination, the functions pad the destination with "
146 "trailing null bytes. If the destination buffer, limited by its size, isn't "
147 "large enough to hold the copy, the resulting character sequence is "
148 "truncated. For the difference between the two functions, see RETURN VALUE."
149 msgstr ""
150 "Aceste funcții copiază octeți nenuli din șirul indicat de I<src> în matricea "
151 "indicată de I<dst>. În cazul în care sursa are prea puțini octeți nenuli "
152 "pentru a umple destinația, funcțiile umplu destinația cu octeți nenuli la "
153 "sfârșit. În cazul în care memoria tampon de destinație, limitată de "
154 "dimensiunea sa, nu este suficient de mare pentru a conține copia, secvența "
155 "de caractere rezultată este trunchiată. Pentru a vedea diferența dintre cele "
156 "două funcții, consultați secțiunea VALOAREA RETURNATĂ."
157
158 #. type: TP
159 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
160 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
161 #, no-wrap
162 msgid "B<strncpy>()"
163 msgstr "B<strncpy>()"
164
165 #. type: Plain text
166 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
167 msgid "It is equivalent to"
168 msgstr "Aceasta este echivalent cu"
169
170 #. type: Plain text
171 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
172 #, no-wrap
173 msgid "stpncpy(dst, src, dsize), dst\n"
174 msgstr "stpncpy(dst, src, dsize), dst\n"
175
176 #. type: TP
177 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
178 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
179 #, no-wrap
180 msgid "B<stpncpy>()"
181 msgstr "B<stpncpy>()"
182
183 #. type: Plain text
184 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
185 #, no-wrap
186 msgid ""
187 "memset(mempcpy(dst, src, strnlen(src, dsize)), \\[aq]\\[rs]0\\[aq],\n"
188 " dsize - strnlen(src, dsize))\n"
189 msgstr ""
190 "memset(mempcpy(dst, src, strnlen(src, dsize)), \\[aq]\\[rs]0\\[aq],\n"
191 " dsize - strnlen(src, dsize))\n"
192
193 #. type: SH
194 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
195 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
196 #, no-wrap
197 msgid "RETURN VALUE"
198 msgstr "VALOAREA RETURNATĂ"
199
200 #. type: Plain text
201 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
202 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
203 msgid "returns I<dst>."
204 msgstr "returnează I<dst>."
205
206 #. type: Plain text
207 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
208 #: opensuse-tumbleweed
209 msgid ""
210 "returns a pointer to one past the last non-null character written, that is, "
211 "I<dest\\ +\\ strnlen(src,\\ n)>."
212 msgstr ""
213 "returnează un indicator la unul după ultimul caracter nenul scris, adică "
214 "I<dest\\ +\\ strnlen(src,\\ n)>."
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 "ATTRIBUTES"
221 msgstr "ATRIBUTE"
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 "For an explanation of the terms used in this section, see B<attributes>(7)."
228 msgstr ""
229 "Pentru o explicație a termenilor folosiți în această secțiune, a se vedea "
230 "B<attributes>(7)."
231
232 #. type: tbl table
233 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
234 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
235 #, no-wrap
236 msgid "Interface"
237 msgstr "Interfață"
238
239 #. type: tbl table
240 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
241 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
242 #, no-wrap
243 msgid "Attribute"
244 msgstr "Atribut"
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 "Value"
251 msgstr "Valoare"
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 ".na\n"
258 msgstr ".na\n"
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 ".nh\n"
265 msgstr ".nh\n"
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 ""
272 "B<stpncpy>(),\n"
273 "B<strncpy>()"
274 msgstr ""
275 "B<stpncpy>(),\n"
276 "B<strncpy>()"
277
278 #. type: tbl table
279 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
280 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
281 #, no-wrap
282 msgid "Thread safety"
283 msgstr "Siguranța firelor"
284
285 #. type: tbl table
286 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
287 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
288 #, no-wrap
289 msgid "MT-Safe"
290 msgstr "MT-Safe"
291
292 #. type: SH
293 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
294 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
295 #, no-wrap
296 msgid "STANDARDS"
297 msgstr "STANDARDE"
298
299 #. type: Plain text
300 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
301 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
302 msgid "C11, POSIX.1-2008."
303 msgstr "C11, POSIX.1-2008."
304
305 #. type: Plain text
306 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
307 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
308 msgid "POSIX.1-2008."
309 msgstr "POSIX.1-2008."
310
311 #. type: SH
312 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
313 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
314 #, no-wrap
315 msgid "HISTORY"
316 msgstr "ISTORIC"
317
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 "C89, POSIX.1-2001, SVr4, 4.3BSD."
322 msgstr "C89, POSIX.1-2001, SVr4, 4.3BSD."
323
324 #. type: Plain text
325 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
326 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
327 msgid "glibc 1.07. POSIX.1-2008."
328 msgstr "glibc 1.07. POSIX.1-2008."
329
330 #. type: SH
331 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
332 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
333 #, no-wrap
334 msgid "CAVEATS"
335 msgstr "AVERTISMENTE"
336
337 #. type: Plain text
338 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
339 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
340 msgid ""
341 "The name of these functions is confusing. These functions produce a null-"
342 "padded character sequence, not a string (see B<string_copying>(7)). For "
343 "example:"
344 msgstr ""
345 "Numele acestor funcții este confuz. Aceste funcții produc o secvență de "
346 "caractere cu umplutură nulă, nu un șir de caractere (a se vedea "
347 "B<string_copying>(7)). De exemplu:"
348
349 #. type: Plain text
350 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
351 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
352 #, no-wrap
353 msgid ""
354 "strncpy(buf, \"1\", 5); // { \\[aq]1\\[aq], 0, 0, 0, 0 }\n"
355 "strncpy(buf, \"1234\", 5); // { \\[aq]1\\[aq], \\[aq]2\\[aq], \\[aq]3\\[aq], \\[aq]4\\[aq], 0 }\n"
356 "strncpy(buf, \"12345\", 5); // { \\[aq]1\\[aq], \\[aq]2\\[aq], \\[aq]3\\[aq], \\[aq]4\\[aq], \\[aq]5\\[aq] }\n"
357 "strncpy(buf, \"123456\", 5); // { \\[aq]1\\[aq], \\[aq]2\\[aq], \\[aq]3\\[aq], \\[aq]4\\[aq], \\[aq]5\\[aq] }\n"
358 msgstr ""
359 "strncpy(buf, \"1\", 5); // { \\[aq]1\\[aq], 0, 0, 0, 0 }\n"
360 "strncpy(buf, \"1234\", 5); // { \\[aq]1\\[aq], \\[aq]2\\[aq], \\[aq]3\\[aq], \\[aq]4\\[aq], 0 }\n"
361 "strncpy(buf, \"12345\", 5); // { \\[aq]1\\[aq], \\[aq]2\\[aq], \\[aq]3\\[aq], \\[aq]4\\[aq], \\[aq]5\\[aq] }\n"
362 "strncpy(buf, \"123456\", 5); // { \\[aq]1\\[aq], \\[aq]2\\[aq], \\[aq]3\\[aq], \\[aq]4\\[aq], \\[aq]5\\[aq] }\n"
363
364 #. type: Plain text
365 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
366 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
367 msgid ""
368 "It's impossible to distinguish truncation by the result of the call, from a "
369 "character sequence that just fits the destination buffer; truncation should "
370 "be detected by comparing the length of the input string with the size of the "
371 "destination buffer."
372 msgstr ""
373 "Este imposibil să se facă distincția între trunchiere prin rezultatul "
374 "apelului și o secvență de caractere care se potrivește cu memoria tampon de "
375 "destinație; trunchierea ar trebui detectată prin compararea lungimii șirului "
376 "de intrare cu dimensiunea memoriei tampon de destinație."
377
378 #. type: Plain text
379 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
380 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
381 msgid ""
382 "If you're going to use this function in chained calls, it would be useful to "
383 "develop a similar function that accepts a pointer to the end (one after the "
384 "last element) of the destination buffer instead of its size."
385 msgstr ""
386 "Dacă aveți de gând să utilizați această funcție în apeluri înlănțuite, ar fi "
387 "util să dezvoltați o funcție similară care să accepte un indicator la "
388 "capătul (un octet după ultimul element) al memoriei tampon de destinație în "
389 "loc de dimensiunea acesteia."
390
391 #. type: SH
392 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
393 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
394 #, no-wrap
395 msgid "EXAMPLES"
396 msgstr "EXEMPLE"
397
398 #. type: Plain text
399 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
400 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
401 #, no-wrap
402 msgid ""
403 "#include E<lt>err.hE<gt>\n"
404 "#include E<lt>stdio.hE<gt>\n"
405 "#include E<lt>stdlib.hE<gt>\n"
406 "#include E<lt>string.hE<gt>\n"
407 "\\&\n"
408 "int\n"
409 "main(void)\n"
410 "{\n"
411 " char *p;\n"
412 " char buf1[20];\n"
413 " char buf2[20];\n"
414 " size_t len;\n"
415 "\\&\n"
416 " if (sizeof(buf2) E<lt> strlen(\"Hello world!\"))\n"
417 " errx(\"strncpy: truncating character sequence\");\n"
418 " strncpy(buf2, \"Hello world!\", sizeof(buf2));\n"
419 " len = strnlen(buf2, sizeof(buf2));\n"
420 "\\&\n"
421 " printf(\"[len = %zu]: \", len);\n"
422 " fwrite(buf2, 1, len, stdout);\n"
423 " putchar(\\[aq]\\[rs]n\\[aq]);\n"
424 "\\&\n"
425 " if (sizeof(buf1) E<lt> strlen(\"Hello world!\"))\n"
426 " errx(\"stpncpy: truncating character sequence\");\n"
427 " p = stpncpy(buf1, \"Hello world!\", sizeof(buf1));\n"
428 " len = p - buf1;\n"
429 "\\&\n"
430 " printf(\"[len = %zu]: \", len);\n"
431 " fwrite(buf1, 1, len, stdout);\n"
432 " putchar(\\[aq]\\[rs]n\\[aq]);\n"
433 "\\&\n"
434 " exit(EXIT_SUCCESS);\n"
435 "}\n"
436 msgstr ""
437 "#include E<lt>err.hE<gt>\n"
438 "#include E<lt>stdio.hE<gt>\n"
439 "#include E<lt>stdlib.hE<gt>\n"
440 "#include E<lt>string.hE<gt>\n"
441 "\\&\n"
442 "int\n"
443 "main(void)\n"
444 "{\n"
445 " char *p;\n"
446 " char buf1[20];\n"
447 " char buf2[20];\n"
448 " size_t len;\n"
449 "\\&\n"
450 " if (sizeof(buf2) E<lt> strlen(\"Salutare lume!\"))\n"
451 " errx(\"strncpy: truncating character sequence\");\n"
452 " strncpy(buf2, \"Salutare lume!\", sizeof(buf2));\n"
453 " len = strnlen(buf2, sizeof(buf2));\n"
454 "\\&\n"
455 " printf(\"[len = %zu]: \", len);\n"
456 " fwrite(buf2, 1, len, stdout);\n"
457 " putchar(\\[aq]\\[rs]n\\[aq]);\n"
458 "\\&\n"
459 " if (sizeof(buf1) E<lt> strlen(\"Salutare lume!\"))\n"
460 " errx(\"stpncpy: truncating character sequence\");\n"
461 " p = stpncpy(buf1, \"Salutare lume!\", sizeof(buf1));\n"
462 " len = p - buf1;\n"
463 "\\&\n"
464 " printf(\"[len = %zu]: \", len);\n"
465 " fwrite(buf1, 1, len, stdout);\n"
466 " putchar(\\[aq]\\[rs]n\\[aq]);\n"
467 "\\&\n"
468 " exit(EXIT_SUCCESS);\n"
469 "}\n"
470
471 #. SRC END
472 #. type: SH
473 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
474 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
475 #, no-wrap
476 msgid "SEE ALSO"
477 msgstr "CONSULTAȚI ȘI"
478
479 #. type: Plain text
480 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
481 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
482 msgid "B<wcpncpy>(3), B<string_copying>(7)"
483 msgstr "B<wcpncpy>(3), B<string_copying>(7)"
484
485 #. type: TH
486 #: debian-trixie
487 #, no-wrap
488 msgid "2024-06-15"
489 msgstr "15 iunie 2024"
490
491 #. type: TH
492 #: debian-trixie
493 #, no-wrap
494 msgid "Linux man-pages 6.9.1"
495 msgstr "Pagini de manual de Linux 6.9.1"
496
497 #. type: Plain text
498 #: debian-trixie
499 msgid "Standard C library (I<libc>, I<-lc>)"
500 msgstr "Biblioteca C standard (I<libc>, I<-lc>)"
501
502 #. type: Plain text
503 #: debian-trixie fedora-44 fedora-rawhide
504 #, no-wrap
505 msgid ""
506 "B<char *strncpy(char >I<dst>B<[restrict .>I<dsize>B<], const char *restrict >I<src>B<,>\n"
507 "B< size_t >I<dsize>B<);>\n"
508 "B<char *stpncpy(char >I<dst>B<[restrict .>I<dsize>B<], const char *restrict >I<src>B<,>\n"
509 "B< size_t >I<dsize>B<);>\n"
510 msgstr ""
511 "B<char *strncpy(char >I<dst>B<[restrict .>I<dsize>B<], const char *restrict >I<src>B<,>\n"
512 "B< size_t >I<dsize>B<);>\n"
513 "B<char *stpncpy(char >I<dst>B<[restrict .>I<dsize>B<], const char *restrict >I<src>B<,>\n"
514 "B< size_t >I<dsize>B<);>\n"
515
516 #. type: Plain text
517 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
518 msgid "An implementation of these functions might be:"
519 msgstr "O implementare a acestor funcții ar putea fi:"
520
521 #. type: Plain text
522 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
523 #, no-wrap
524 msgid ""
525 "char *\n"
526 "strncpy(char *restrict dst, const char *restrict src, size_t dsize)\n"
527 "{\n"
528 " stpncpy(dst, src, dsize);\n"
529 " return dst;\n"
530 "}\n"
531 "\\&\n"
532 "char *\n"
533 "stpncpy(char *restrict dst, const char *restrict src, size_t dsize)\n"
534 "{\n"
535 " size_t dlen;\n"
536 "\\&\n"
537 " dlen = strnlen(src, dsize);\n"
538 " return memset(mempcpy(dst, src, dlen), 0, dsize - dlen);\n"
539 "}\n"
540 msgstr ""
541 "char *\n"
542 "strncpy(char *restrict dst, const char *restrict src, size_t dsize)\n"
543 "{\n"
544 " stpncpy(dst, src, dsize);\n"
545 " return dst;\n"
546 "}\n"
547 "\\&\n"
548 "char *\n"
549 "stpncpy(char *restrict dst, const char *restrict src, size_t dsize)\n"
550 "{\n"
551 " size_t dlen;\n"
552 "\\&\n"
553 " dlen = strnlen(src, dsize);\n"
554 " return memset(mempcpy(dst, src, dlen), 0, dsize - dlen);\n"
555 "}\n"
556
557 #. type: Plain text
558 #: debian-trixie fedora-44 fedora-rawhide
559 msgid ""
560 "returns a pointer to one after the last character in the destination "
561 "character sequence."
562 msgstr ""
563 "returnează un indicator la un octet după ultimul caracter din secvența de "
564 "caractere de destinație."
565
566 #. type: TH
567 #: fedora-44 fedora-rawhide
568 #, no-wrap
569 msgid "2024-07-23"
570 msgstr "23 iulie 2024"
571
572 #. type: TH
573 #: fedora-44 fedora-rawhide
574 #, no-wrap
575 msgid "Linux man-pages 6.13"
576 msgstr "Pagini de manual de Linux 6.13"
577
578 #. type: TH
579 #: mageia-cauldron
580 #, no-wrap
581 msgid "2026-01-06"
582 msgstr "6 ianuarie 2026"
583
584 #. type: TH
585 #: mageia-cauldron
586 #, no-wrap
587 msgid "Linux man-pages 6.17"
588 msgstr "Pagini de manual de Linux 6.17"
589
590 #. type: TH
591 #: opensuse-leap-16-1 opensuse-tumbleweed
592 #, no-wrap
593 msgid "Linux man-pages (unreleased)"
594 msgstr "Pagini de manual Linux (nepublicate)"