| 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.22.0\n" |
| 8 |
"POT-Creation-Date: 2026-06-05 06:45+0200\n" |
| 9 |
"PO-Revision-Date: 2026-05-07 14:28+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 "strcpy" |
| 25 |
msgstr "strcpy" |
| 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-unstable opensuse-leap-16-1 opensuse-tumbleweed |
| 48 |
msgid "strcpy, strcat - copy or catenate a string" |
| 49 |
msgstr "stpcpy, strcat - copiază sau concatenează un șir de caractere" |
| 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 "BIBLIOTECA" |
| 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 "Biblioteca C standard (I<libc>, I<-lc>)" |
| 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 "SINOPSIS" |
| 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 "B<#include E<lt>string.hE<gt>>\n" |
| 77 |
|
| 78 |
#. type: Plain text |
| 79 |
#: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed |
| 80 |
#, no-wrap |
| 81 |
msgid "" |
| 82 |
"B<char *strcpy(char *restrict >I<dst>B<, const char *restrict >I<src>B<);>\n" |
| 83 |
"B<char *strcat(char *restrict >I<dst>B<, const char *restrict >I<src>B<);>\n" |
| 84 |
msgstr "" |
| 85 |
"B<char *strcpy(char *restrict >I<dst>B<, const char *restrict >I<src>B<);>\n" |
| 86 |
"B<char *strcat(char *restrict >I<dst>B<, const char *restrict >I<src>B<);>\n" |
| 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 "DESCRIERE" |
| 94 |
|
| 95 |
#. type: TP |
| 96 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 97 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 98 |
#, no-wrap |
| 99 |
msgid "B<strcpy>()" |
| 100 |
msgstr "B<strcpy>()" |
| 101 |
|
| 102 |
#. type: Plain text |
| 103 |
#: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed |
| 104 |
msgid "" |
| 105 |
"This function copies the string pointed to by I<src>, into a string at the " |
| 106 |
"buffer pointed to by I<dst>. The programmer is responsible for allocating a " |
| 107 |
"destination buffer large enough, that is, I<strlen(src) + 1>." |
| 108 |
msgstr "" |
| 109 |
"Aceste funcții copiază șirul indicat de I<src> într-un șir din memoria " |
| 110 |
"tampon indicată de I<dst>. Programatorul este responsabil pentru alocarea " |
| 111 |
"unei memorii tampon de destinație suficient de mare, adică I<strlen(src) + " |
| 112 |
"1>." |
| 113 |
|
| 114 |
#. type: Plain text |
| 115 |
#: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed |
| 116 |
msgid "It is equivalent to" |
| 117 |
msgstr "Aceasta este echivalent cu" |
| 118 |
|
| 119 |
#. type: Plain text |
| 120 |
#: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed |
| 121 |
#, no-wrap |
| 122 |
msgid "stpcpy(dst, src), dst\n" |
| 123 |
msgstr "stpcpy(dst, src), dst\n" |
| 124 |
|
| 125 |
#. #-#-#-#-# archlinux: strcpy.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 126 |
#. type: TP |
| 127 |
#. #-#-#-#-# debian-trixie: strcpy.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 128 |
#. type: TQ |
| 129 |
#. #-#-#-#-# debian-unstable: strcpy.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 130 |
#. type: TP |
| 131 |
#. #-#-#-#-# fedora-44: strcpy.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 132 |
#. type: TQ |
| 133 |
#. #-#-#-#-# fedora-rawhide: strcpy.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 134 |
#. type: TQ |
| 135 |
#. #-#-#-#-# mageia-cauldron: strcpy.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 136 |
#. type: TQ |
| 137 |
#. #-#-#-#-# opensuse-leap-16-1: strcpy.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 138 |
#. type: TP |
| 139 |
#. #-#-#-#-# opensuse-tumbleweed: strcpy.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 140 |
#. type: TP |
| 141 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 142 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 143 |
#, no-wrap |
| 144 |
msgid "B<strcat>()" |
| 145 |
msgstr "B<strcat>()" |
| 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 |
"This function catenates the string pointed to by I<src>, after the string " |
| 152 |
"pointed to by I<dst> (overwriting its terminating null byte). The " |
| 153 |
"programmer is responsible for allocating a destination buffer large enough, " |
| 154 |
"that is, I<strlen(dst) + strlen(src) + 1>." |
| 155 |
msgstr "" |
| 156 |
"Această funcție concatenează șirul indicat de I<src> după șirul indicat de " |
| 157 |
"I<dst> (suprascriind octetul nul de sfârșit). Programatorul este responsabil " |
| 158 |
"pentru alocarea unei memorii tampon de destinație suficient de mari, adică " |
| 159 |
"I<strlen(dst) + strlen(src) + 1>." |
| 160 |
|
| 161 |
#. type: Plain text |
| 162 |
#: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed |
| 163 |
#, no-wrap |
| 164 |
msgid "stpcpy(strnul(dst), src), dst\n" |
| 165 |
msgstr "stpcpy(strnul(dst), src), dst\n" |
| 166 |
|
| 167 |
#. type: SH |
| 168 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 169 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 170 |
#, no-wrap |
| 171 |
msgid "RETURN VALUE" |
| 172 |
msgstr "VALOAREA RETURNATĂ" |
| 173 |
|
| 174 |
#. type: Plain text |
| 175 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 176 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 177 |
msgid "These functions return I<dst>." |
| 178 |
msgstr "Aceste funcții returnează I<dst>." |
| 179 |
|
| 180 |
#. type: SH |
| 181 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 182 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 183 |
#, no-wrap |
| 184 |
msgid "ATTRIBUTES" |
| 185 |
msgstr "ATRIBUTE" |
| 186 |
|
| 187 |
#. type: Plain text |
| 188 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 189 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 190 |
msgid "" |
| 191 |
"For an explanation of the terms used in this section, see B<attributes>(7)." |
| 192 |
msgstr "" |
| 193 |
"Pentru o explicație a termenilor folosiți în această secțiune, a se vedea " |
| 194 |
"B<attributes>(7)." |
| 195 |
|
| 196 |
#. type: tbl table |
| 197 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 198 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 199 |
#, no-wrap |
| 200 |
msgid "Interface" |
| 201 |
msgstr "Interfață" |
| 202 |
|
| 203 |
#. type: tbl table |
| 204 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 205 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 206 |
#, no-wrap |
| 207 |
msgid "Attribute" |
| 208 |
msgstr "Atribut" |
| 209 |
|
| 210 |
#. type: tbl table |
| 211 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 212 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 213 |
#, no-wrap |
| 214 |
msgid "Value" |
| 215 |
msgstr "Valoare" |
| 216 |
|
| 217 |
#. type: tbl table |
| 218 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 219 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 220 |
#, no-wrap |
| 221 |
msgid ".na\n" |
| 222 |
msgstr ".na\n" |
| 223 |
|
| 224 |
#. type: tbl table |
| 225 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 226 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 227 |
#, no-wrap |
| 228 |
msgid ".nh\n" |
| 229 |
msgstr ".nh\n" |
| 230 |
|
| 231 |
#. type: tbl table |
| 232 |
#: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed |
| 233 |
#, no-wrap |
| 234 |
msgid "" |
| 235 |
"B<strcpy>(),\n" |
| 236 |
"B<strcat>()" |
| 237 |
msgstr "" |
| 238 |
"B<strcpy>(),\n" |
| 239 |
"B<strcat>()" |
| 240 |
|
| 241 |
#. type: tbl table |
| 242 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 243 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 244 |
#, no-wrap |
| 245 |
msgid "Thread safety" |
| 246 |
msgstr "Siguranța firelor" |
| 247 |
|
| 248 |
#. type: tbl table |
| 249 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 250 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 251 |
#, no-wrap |
| 252 |
msgid "MT-Safe" |
| 253 |
msgstr "MT-Safe" |
| 254 |
|
| 255 |
#. type: SH |
| 256 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 257 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 258 |
#, no-wrap |
| 259 |
msgid "STANDARDS" |
| 260 |
msgstr "STANDARDE" |
| 261 |
|
| 262 |
#. type: Plain text |
| 263 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 264 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 265 |
msgid "C11, POSIX.1-2008." |
| 266 |
msgstr "C11, POSIX.1-2008." |
| 267 |
|
| 268 |
#. type: SH |
| 269 |
#: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed |
| 270 |
#, no-wrap |
| 271 |
msgid "HISTORY" |
| 272 |
msgstr "ISTORIC" |
| 273 |
|
| 274 |
#. type: Plain text |
| 275 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 276 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 277 |
msgid "POSIX.1-2001, C89, SVr4, 4.3BSD." |
| 278 |
msgstr "POSIX.1-2001, C89, SVr4, 4.3BSD." |
| 279 |
|
| 280 |
#. type: SH |
| 281 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 282 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 283 |
#, no-wrap |
| 284 |
msgid "CAVEATS" |
| 285 |
msgstr "AVERTISMENTE" |
| 286 |
|
| 287 |
#. type: Plain text |
| 288 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 289 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 290 |
msgid "The strings I<src> and I<dst> may not overlap." |
| 291 |
msgstr "Șirurile I<src> și I<dst> nu se pot suprapune." |
| 292 |
|
| 293 |
#. type: Plain text |
| 294 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 295 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 296 |
msgid "" |
| 297 |
"If the destination buffer is not large enough, the behavior is undefined. " |
| 298 |
"See B<_FORTIFY_SOURCE> in B<feature_test_macros>(7)." |
| 299 |
msgstr "" |
| 300 |
"În cazul în care memoria tampon de destinație nu este suficient de mare, " |
| 301 |
"comportamentul este nedefinit. A se vedea B<_FORTIFY_SOURCE> în " |
| 302 |
"B<feature_test_macros>(7)." |
| 303 |
|
| 304 |
#. type: Plain text |
| 305 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 306 |
#: opensuse-tumbleweed |
| 307 |
msgid "" |
| 308 |
"B<strcat>() can be very inefficient. Read about E<.UR https:\\://" |
| 309 |
"www.joelonsoftware.com/\\:2001/12/11/\\:back-to-basics/> Shlemiel the " |
| 310 |
"painter E<.UE .>" |
| 311 |
msgstr "" |
| 312 |
"B<strcat>() poate fi foarte ineficientă. Citiți despre aceasta în E<.UR " |
| 313 |
"https:\\://www.joelonsoftware.com/\\:2001/12/11/\\:back-to-basics/> Shlemiel " |
| 314 |
"the painter E<.UE .>" |
| 315 |
|
| 316 |
#. type: SH |
| 317 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 318 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 319 |
#, no-wrap |
| 320 |
msgid "EXAMPLES" |
| 321 |
msgstr "EXEMPLE" |
| 322 |
|
| 323 |
#. type: Plain text |
| 324 |
#: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed |
| 325 |
#, no-wrap |
| 326 |
msgid "" |
| 327 |
"#include E<lt>err.hE<gt>\n" |
| 328 |
"#include E<lt>stdio.hE<gt>\n" |
| 329 |
"#include E<lt>stdlib.hE<gt>\n" |
| 330 |
"#include E<lt>string.hE<gt>\n" |
| 331 |
"\\&\n" |
| 332 |
"int\n" |
| 333 |
"main(void)\n" |
| 334 |
"{\n" |
| 335 |
" char *buf1;\n" |
| 336 |
" size_t len, size;\n" |
| 337 |
"\\&\n" |
| 338 |
" size = strlen(\"Hello \") + strlen(\"world\") + strlen(\"!\") + 1;\n" |
| 339 |
" buf1 = malloc(sizeof(*buf1) * size);\n" |
| 340 |
" if (buf1 == NULL)\n" |
| 341 |
" err(EXIT_FAILURE, \"malloc()\");\n" |
| 342 |
"\\&\n" |
| 343 |
" strcpy(buf1, \"Hello \");\n" |
| 344 |
" strcat(buf1, \"world\");\n" |
| 345 |
" strcat(buf1, \"!\");\n" |
| 346 |
" len = strlen(buf1);\n" |
| 347 |
"\\&\n" |
| 348 |
" printf(\"[len = %zu]: \", len);\n" |
| 349 |
" puts(buf1); // \"Hello world!\"\n" |
| 350 |
" free(buf1);\n" |
| 351 |
"\\&\n" |
| 352 |
" exit(EXIT_SUCCESS);\n" |
| 353 |
"}\n" |
| 354 |
msgstr "" |
| 355 |
"#include E<lt>err.hE<gt>\n" |
| 356 |
"#include E<lt>stdio.hE<gt>\n" |
| 357 |
"#include E<lt>stdlib.hE<gt>\n" |
| 358 |
"#include E<lt>string.hE<gt>\n" |
| 359 |
"\\&\n" |
| 360 |
"int\n" |
| 361 |
"main(void)\n" |
| 362 |
"{\n" |
| 363 |
" char *buf1;\n" |
| 364 |
" size_t len, size;\n" |
| 365 |
"\\&\n" |
| 366 |
" size = strlen(\"Salutare \") + strlen(\"lume\") + strlen(\"!\") + 1;\n" |
| 367 |
" buf1 = malloc(sizeof(*buf1) * size);\n" |
| 368 |
" if (buf1 == NULL)\n" |
| 369 |
" err(EXIT_FAILURE, \"malloc()\");\n" |
| 370 |
"\\&\n" |
| 371 |
" strcpy(buf1, \"Salutare \");\n" |
| 372 |
" strcat(buf1, \"lume\");\n" |
| 373 |
" strcat(buf1,, \"!\");\n" |
| 374 |
" len = strlen(buf1);\n" |
| 375 |
"\\&\n" |
| 376 |
" printf(\"[len = %zu]: \", len);\n" |
| 377 |
" puts(buf1); // \"Salutare lume!\"\n" |
| 378 |
" free(buf1);\n" |
| 379 |
"\\&\n" |
| 380 |
" exit(EXIT_SUCCESS);\n" |
| 381 |
"}\n" |
| 382 |
|
| 383 |
#. SRC END |
| 384 |
#. type: SH |
| 385 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 386 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 387 |
#, no-wrap |
| 388 |
msgid "SEE ALSO" |
| 389 |
msgstr "CONSULTAȚI ȘI" |
| 390 |
|
| 391 |
#. type: Plain text |
| 392 |
#: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed |
| 393 |
msgid "" |
| 394 |
"B<stpcpy>(3), B<strdup>(3), B<string>(3), B<wcscpy>(3), B<string_copying>(7)" |
| 395 |
msgstr "" |
| 396 |
"B<stpcpy>(3), B<strdup>(3), B<string>(3), B<wcscpy>(3), B<string_copying>(7)" |
| 397 |
|
| 398 |
#. type: TH |
| 399 |
#: debian-trixie |
| 400 |
#, no-wrap |
| 401 |
msgid "2024-06-15" |
| 402 |
msgstr "15 iunie 2024" |
| 403 |
|
| 404 |
#. type: TH |
| 405 |
#: debian-trixie |
| 406 |
#, no-wrap |
| 407 |
msgid "Linux man-pages 6.9.1" |
| 408 |
msgstr "Pagini de manual de Linux 6.9.1" |
| 409 |
|
| 410 |
#. type: Plain text |
| 411 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 412 |
msgid "stpcpy, strcpy, strcat - copy or catenate a string" |
| 413 |
msgstr "stpcpy, strcpy, strcat - copiază sau concatenează un șir de caractere" |
| 414 |
|
| 415 |
#. type: Plain text |
| 416 |
#: debian-trixie |
| 417 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 418 |
msgstr "Biblioteca C standard (I<libc>, I<-lc>)" |
| 419 |
|
| 420 |
#. type: Plain text |
| 421 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 422 |
#, no-wrap |
| 423 |
msgid "" |
| 424 |
"B<char *stpcpy(char *restrict >I<dst>B<, const char *restrict >I<src>B<);>\n" |
| 425 |
"B<char *strcpy(char *restrict >I<dst>B<, const char *restrict >I<src>B<);>\n" |
| 426 |
"B<char *strcat(char *restrict >I<dst>B<, const char *restrict >I<src>B<);>\n" |
| 427 |
msgstr "" |
| 428 |
"B<char *stpcpy(char *restrict >I<dst>B<, const char *restrict >I<src>B<);>\n" |
| 429 |
"B<char *strcpy(char *restrict >I<dst>B<, const char *restrict >I<src>B<);>\n" |
| 430 |
"B<char *strcat(char *restrict >I<dst>B<, const char *restrict >I<src>B<);>\n" |
| 431 |
|
| 432 |
#. type: Plain text |
| 433 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 434 |
msgid "" |
| 435 |
"Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):" |
| 436 |
msgstr "" |
| 437 |
"Cerințe pentru macrocomenzi de testare a caracteristicilor pentru glibc " |
| 438 |
"(consultați B<feature_test_macros>(7)):" |
| 439 |
|
| 440 |
#. type: Plain text |
| 441 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 442 |
msgid "B<stpcpy>():" |
| 443 |
msgstr "B<stpcpy>():" |
| 444 |
|
| 445 |
#. type: Plain text |
| 446 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 447 |
#, no-wrap |
| 448 |
msgid "" |
| 449 |
" Since glibc 2.10:\n" |
| 450 |
" _POSIX_C_SOURCE E<gt>= 200809L\n" |
| 451 |
" Before glibc 2.10:\n" |
| 452 |
" _GNU_SOURCE\n" |
| 453 |
msgstr "" |
| 454 |
" Începând cu glibc 2.10\n" |
| 455 |
" _POSIX_C_SOURCE E<gt>= 200809L\n" |
| 456 |
" Înainte de glibc 2.10:\n" |
| 457 |
" _GNU_SOURCE\n" |
| 458 |
|
| 459 |
#. type: TP |
| 460 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 461 |
#, no-wrap |
| 462 |
msgid "B<stpcpy>()" |
| 463 |
msgstr "B<stpcpy>()" |
| 464 |
|
| 465 |
#. type: Plain text |
| 466 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 467 |
msgid "" |
| 468 |
"These functions copy the string pointed to by I<src>, into a string at the " |
| 469 |
"buffer pointed to by I<dst>. The programmer is responsible for allocating a " |
| 470 |
"destination buffer large enough, that is, I<strlen(src) + 1>. For the " |
| 471 |
"difference between the two functions, see RETURN VALUE." |
| 472 |
msgstr "" |
| 473 |
"Aceste funcții copiază șirul indicat de I<src> într-un șir din memoria " |
| 474 |
"tampon indicată de I<dst>. Programatorul este responsabil pentru alocarea " |
| 475 |
"unei memorii tampon de destinație suficient de mare, adică I<strlen(src) + " |
| 476 |
"1>. Pentru diferența dintre cele două funcții, consultați secțiunea VALOAREA " |
| 477 |
"RETURNATĂ." |
| 478 |
|
| 479 |
#. type: Plain text |
| 480 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 481 |
msgid "An implementation of these functions might be:" |
| 482 |
msgstr "O implementare a acestor funcții ar putea fi:" |
| 483 |
|
| 484 |
#. type: Plain text |
| 485 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 486 |
#, no-wrap |
| 487 |
msgid "" |
| 488 |
"char *\n" |
| 489 |
"stpcpy(char *restrict dst, const char *restrict src)\n" |
| 490 |
"{\n" |
| 491 |
" char *p;\n" |
| 492 |
"\\&\n" |
| 493 |
" p = mempcpy(dst, src, strlen(src));\n" |
| 494 |
" *p = \\[aq]\\[rs]0\\[aq];\n" |
| 495 |
"\\&\n" |
| 496 |
" return p;\n" |
| 497 |
"}\n" |
| 498 |
"\\&\n" |
| 499 |
"char *\n" |
| 500 |
"strcpy(char *restrict dst, const char *restrict src)\n" |
| 501 |
"{\n" |
| 502 |
" stpcpy(dst, src);\n" |
| 503 |
" return dst;\n" |
| 504 |
"}\n" |
| 505 |
"\\&\n" |
| 506 |
"char *\n" |
| 507 |
"strcat(char *restrict dst, const char *restrict src)\n" |
| 508 |
"{\n" |
| 509 |
" stpcpy(dst + strlen(dst), src);\n" |
| 510 |
" return dst;\n" |
| 511 |
"}\n" |
| 512 |
msgstr "" |
| 513 |
"char *\n" |
| 514 |
"stpcpy(char *restrict dst, const char *restrict src)\n" |
| 515 |
"{\n" |
| 516 |
" char *p;\n" |
| 517 |
"\\&\n" |
| 518 |
" p = mempcpy(dst, src, strlen(src));\n" |
| 519 |
" *p = \\[aq]\\[rs]0\\[aq];\n" |
| 520 |
"\\&\n" |
| 521 |
" return p;\n" |
| 522 |
"}\n" |
| 523 |
"\\&\n" |
| 524 |
"char *\n" |
| 525 |
"strcpy(char *restrict dst, const char *restrict src)\n" |
| 526 |
"{\n" |
| 527 |
" stpcpy(dst, src);\n" |
| 528 |
" return dst;\n" |
| 529 |
"}\n" |
| 530 |
"\\&\n" |
| 531 |
"char *\n" |
| 532 |
"strcat(char *restrict dst, const char *restrict src)\n" |
| 533 |
"{\n" |
| 534 |
" stpcpy(dst + strlen(dst), src);\n" |
| 535 |
" return dst;\n" |
| 536 |
"}\n" |
| 537 |
|
| 538 |
#. type: Plain text |
| 539 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 540 |
msgid "" |
| 541 |
"This function returns a pointer to the terminating null byte of the copied " |
| 542 |
"string." |
| 543 |
msgstr "" |
| 544 |
"Această funcție returnează un indicator la octetul nul de sfârșit al șirului " |
| 545 |
"copiat." |
| 546 |
|
| 547 |
#. type: tbl table |
| 548 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 549 |
#, no-wrap |
| 550 |
msgid "" |
| 551 |
"B<stpcpy>(),\n" |
| 552 |
"B<strcpy>(),\n" |
| 553 |
"B<strcat>()" |
| 554 |
msgstr "" |
| 555 |
"B<stpcpy>(),\n" |
| 556 |
"B<strcpy>(),\n" |
| 557 |
"B<strcat>()" |
| 558 |
|
| 559 |
#. type: Plain text |
| 560 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 561 |
msgid "POSIX.1-2008." |
| 562 |
msgstr "POSIX.1-2008." |
| 563 |
|
| 564 |
#. type: Plain text |
| 565 |
#: debian-trixie fedora-44 fedora-rawhide |
| 566 |
msgid "" |
| 567 |
"B<strcat>() can be very inefficient. Read about E<.UR https://" |
| 568 |
"www.joelonsoftware.com/\\:2001/12/11/\\:back-to-basics/> Shlemiel the " |
| 569 |
"painter E<.UE .>" |
| 570 |
msgstr "" |
| 571 |
"B<strcat>() poate fi foarte ineficientă. Citiți despre aceasta în E<.UR " |
| 572 |
"https://www.joelonsoftware.com/\\:2001/12/11/\\:back-to-basics/> Shlemiel " |
| 573 |
"the painter E<.UE>." |
| 574 |
|
| 575 |
#. type: Plain text |
| 576 |
#: debian-trixie |
| 577 |
#, no-wrap |
| 578 |
msgid "" |
| 579 |
"#include E<lt>err.hE<gt>\n" |
| 580 |
"#include E<lt>stdio.hE<gt>\n" |
| 581 |
"#include E<lt>stdlib.hE<gt>\n" |
| 582 |
"#include E<lt>string.hE<gt>\n" |
| 583 |
"\\&\n" |
| 584 |
"int\n" |
| 585 |
"main(void)\n" |
| 586 |
"{\n" |
| 587 |
" char *p;\n" |
| 588 |
" char *buf1;\n" |
| 589 |
" char *buf2;\n" |
| 590 |
" size_t len, maxsize;\n" |
| 591 |
"\\&\n" |
| 592 |
" maxsize = strlen(\"Hello \") + strlen(\"world\") + strlen(\"!\") + 1;\n" |
| 593 |
" buf1 = malloc(sizeof(*buf1) * maxsize);\n" |
| 594 |
" if (buf1 == NULL)\n" |
| 595 |
" err(EXIT_FAILURE, \"malloc()\");\n" |
| 596 |
" buf2 = malloc(sizeof(*buf2) * maxsize);\n" |
| 597 |
" if (buf2 == NULL)\n" |
| 598 |
" err(EXIT_FAILURE, \"malloc()\");\n" |
| 599 |
"\\&\n" |
| 600 |
" p = buf1;\n" |
| 601 |
" p = stpcpy(p, \"Hello \");\n" |
| 602 |
" p = stpcpy(p, \"world\");\n" |
| 603 |
" p = stpcpy(p, \"!\");\n" |
| 604 |
" len = p - buf1;\n" |
| 605 |
"\\&\n" |
| 606 |
" printf(\"[len = %zu]: \", len);\n" |
| 607 |
" puts(buf1); // \"Hello world!\"\n" |
| 608 |
" free(buf1);\n" |
| 609 |
"\\&\n" |
| 610 |
" strcpy(buf2, \"Hello \");\n" |
| 611 |
" strcat(buf2, \"world\");\n" |
| 612 |
" strcat(buf2, \"!\");\n" |
| 613 |
" len = strlen(buf2);\n" |
| 614 |
"\\&\n" |
| 615 |
" printf(\"[len = %zu]: \", len);\n" |
| 616 |
" puts(buf2); // \"Hello world!\"\n" |
| 617 |
" free(buf2);\n" |
| 618 |
"\\&\n" |
| 619 |
" exit(EXIT_SUCCESS);\n" |
| 620 |
"}\n" |
| 621 |
msgstr "" |
| 622 |
"#include E<lt>err.hE<gt>\n" |
| 623 |
"#include E<lt>stdio.hE<gt>\n" |
| 624 |
"#include E<lt>stdlib.hE<gt>\n" |
| 625 |
"#include E<lt>string.hE<gt>\n" |
| 626 |
"\\&\n" |
| 627 |
"int\n" |
| 628 |
"main(void)\n" |
| 629 |
"{\n" |
| 630 |
" char *p;\n" |
| 631 |
" char *buf1;\n" |
| 632 |
" char *buf2;\n" |
| 633 |
" size_t len, maxsize;\n" |
| 634 |
"\\&\n" |
| 635 |
" maxsize = strlen(\"Salutare \") + strlen(\"lume\") + strlen(\"!\") + 1;\n" |
| 636 |
" buf1 = malloc(sizeof(*buf1) * maxsize);\n" |
| 637 |
" if (buf1 == NULL)\n" |
| 638 |
" err(EXIT_FAILURE, \"malloc()\");\n" |
| 639 |
" buf2 = malloc(sizeof(*buf2) * maxsize);\n" |
| 640 |
" if (buf2 == NULL)\n" |
| 641 |
" err(EXIT_FAILURE, \"malloc()\");\n" |
| 642 |
"\\&\n" |
| 643 |
" p = buf1;\n" |
| 644 |
" p = stpcpy(p, \"Salutare \");\n" |
| 645 |
" p = stpcpy(p, \"lume\");\n" |
| 646 |
" p = stpcpy(p, \"!\");\n" |
| 647 |
" len = p - buf1;\n" |
| 648 |
"\\&\n" |
| 649 |
" printf(\"[len = %zu]: \", len);\n" |
| 650 |
" puts(buf1); // \"Salutare lume!\"\n" |
| 651 |
" free(buf1);\n" |
| 652 |
"\\&\n" |
| 653 |
" strcpy(buf2, \"Salutare \");\n" |
| 654 |
" strcat(buf2, \"lume\");\n" |
| 655 |
" strcat(buf2, \"!\");\n" |
| 656 |
" len = strlen(buf2);\n" |
| 657 |
"\\&\n" |
| 658 |
" printf(\"[len = %zu]: \", len);\n" |
| 659 |
" puts(buf2); // \"Salutare lume!\"\n" |
| 660 |
" free(buf2);\n" |
| 661 |
"\\&\n" |
| 662 |
" exit(EXIT_SUCCESS);\n" |
| 663 |
"}\n" |
| 664 |
|
| 665 |
#. type: Plain text |
| 666 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 667 |
msgid "B<strdup>(3), B<string>(3), B<wcscpy>(3), B<string_copying>(7)" |
| 668 |
msgstr "B<strdup>(3), B<string>(3), B<wcscpy>(3), B<string_copying>(7)" |
| 669 |
|
| 670 |
#. type: TH |
| 671 |
#: fedora-44 fedora-rawhide |
| 672 |
#, no-wrap |
| 673 |
msgid "2024-11-17" |
| 674 |
msgstr "17 noiembrie 2024" |
| 675 |
|
| 676 |
#. type: TH |
| 677 |
#: fedora-44 fedora-rawhide |
| 678 |
#, no-wrap |
| 679 |
msgid "Linux man-pages 6.13" |
| 680 |
msgstr "Pagini de manual de Linux 6.13" |
| 681 |
|
| 682 |
#. type: Plain text |
| 683 |
#: fedora-44 fedora-rawhide mageia-cauldron |
| 684 |
#, no-wrap |
| 685 |
msgid "" |
| 686 |
"#include E<lt>err.hE<gt>\n" |
| 687 |
"#include E<lt>stdio.hE<gt>\n" |
| 688 |
"#include E<lt>stdlib.hE<gt>\n" |
| 689 |
"#include E<lt>string.hE<gt>\n" |
| 690 |
"\\&\n" |
| 691 |
"int\n" |
| 692 |
"main(void)\n" |
| 693 |
"{\n" |
| 694 |
" char *p;\n" |
| 695 |
" char *buf1;\n" |
| 696 |
" char *buf2;\n" |
| 697 |
" size_t len, size;\n" |
| 698 |
"\\&\n" |
| 699 |
" size = strlen(\"Hello \") + strlen(\"world\") + strlen(\"!\") + 1;\n" |
| 700 |
" buf1 = malloc(sizeof(*buf1) * size);\n" |
| 701 |
" if (buf1 == NULL)\n" |
| 702 |
" err(EXIT_FAILURE, \"malloc()\");\n" |
| 703 |
" buf2 = malloc(sizeof(*buf2) * size);\n" |
| 704 |
" if (buf2 == NULL)\n" |
| 705 |
" err(EXIT_FAILURE, \"malloc()\");\n" |
| 706 |
"\\&\n" |
| 707 |
" p = buf1;\n" |
| 708 |
" p = stpcpy(p, \"Hello \");\n" |
| 709 |
" p = stpcpy(p, \"world\");\n" |
| 710 |
" p = stpcpy(p, \"!\");\n" |
| 711 |
" len = p - buf1;\n" |
| 712 |
"\\&\n" |
| 713 |
" printf(\"[len = %zu]: \", len);\n" |
| 714 |
" puts(buf1); // \"Hello world!\"\n" |
| 715 |
" free(buf1);\n" |
| 716 |
"\\&\n" |
| 717 |
" strcpy(buf2, \"Hello \");\n" |
| 718 |
" strcat(buf2, \"world\");\n" |
| 719 |
" strcat(buf2, \"!\");\n" |
| 720 |
" len = strlen(buf2);\n" |
| 721 |
"\\&\n" |
| 722 |
" printf(\"[len = %zu]: \", len);\n" |
| 723 |
" puts(buf2); // \"Hello world!\"\n" |
| 724 |
" free(buf2);\n" |
| 725 |
"\\&\n" |
| 726 |
" exit(EXIT_SUCCESS);\n" |
| 727 |
"}\n" |
| 728 |
msgstr "" |
| 729 |
"#include E<lt>err.hE<gt>\n" |
| 730 |
"#include E<lt>stdio.hE<gt>\n" |
| 731 |
"#include E<lt>stdlib.hE<gt>\n" |
| 732 |
"#include E<lt>string.hE<gt>\n" |
| 733 |
"\\&\n" |
| 734 |
"int\n" |
| 735 |
"main(void)\n" |
| 736 |
"{\n" |
| 737 |
" char *p;\n" |
| 738 |
" char *buf1;\n" |
| 739 |
" char *buf2;\n" |
| 740 |
" size_t len, size;\n" |
| 741 |
"\\&\n" |
| 742 |
" size = strlen(\"Salutare \") + strlen(\"lume\") + strlen(\"!\") + 1;\n" |
| 743 |
" buf1 = malloc(sizeof(*buf1) * size);\n" |
| 744 |
" if (buf1 == NULL)\n" |
| 745 |
" err(EXIT_FAILURE, \"malloc()\");\n" |
| 746 |
" buf2 = malloc(sizeof(*buf2) * size);\n" |
| 747 |
" if (buf2 == NULL)\n" |
| 748 |
" err(EXIT_FAILURE, \"malloc()\");\n" |
| 749 |
"\\&\n" |
| 750 |
" p = buf1;\n" |
| 751 |
" p = stpcpy(p, \"Salutare \");\n" |
| 752 |
" p = stpcpy(p, \"lume\");\n" |
| 753 |
" p = stpcpy(p, \"!\");\n" |
| 754 |
" len = p - buf1;\n" |
| 755 |
"\\&\n" |
| 756 |
" printf(\"[len = %zu]: \", len);\n" |
| 757 |
" puts(buf1); // \"Salutare lume!\"\n" |
| 758 |
" free(buf1);\n" |
| 759 |
"\\&\n" |
| 760 |
" strcpy(buf2, \"Salutare \");\n" |
| 761 |
" strcat(buf2, \"lume\");\n" |
| 762 |
" strcat(buf2, \"!\");\n" |
| 763 |
" len = strlen(buf2);\n" |
| 764 |
"\\&\n" |
| 765 |
" printf(\"[len = %zu]: \", len);\n" |
| 766 |
" puts(buf2); // \"Salutare lume!\"\n" |
| 767 |
" free(buf2);\n" |
| 768 |
"\\&\n" |
| 769 |
" exit(EXIT_SUCCESS);\n" |
| 770 |
"}\n" |
| 771 |
|
| 772 |
#. type: TH |
| 773 |
#: mageia-cauldron |
| 774 |
#, no-wrap |
| 775 |
msgid "2025-12-25" |
| 776 |
msgstr "25 decembrie 2025" |
| 777 |
|
| 778 |
#. type: TH |
| 779 |
#: mageia-cauldron |
| 780 |
#, no-wrap |
| 781 |
msgid "Linux man-pages 6.17" |
| 782 |
msgstr "Pagini de manual de Linux 6.17" |
| 783 |
|
| 784 |
#. type: TH |
| 785 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 786 |
#, no-wrap |
| 787 |
msgid "Linux man-pages (unreleased)" |
| 788 |
msgstr "Pagini de manual Linux (nepublicate)" |