| 1 |
# German translation of manpages |
| 2 |
# This file is distributed under the same license as the manpages-l10n package. |
| 3 |
# Copyright © of this file: |
| 4 |
# Martin Schulze <[email protected]>, 1996. |
| 5 |
# Chris Leick <[email protected]>, 2010-2013. |
| 6 |
# Mario Blättermann <[email protected]>, 2014, 2020, 2021, 2022, 2023. |
| 7 |
msgid "" |
| 8 |
msgstr "" |
| 9 |
"Project-Id-Version: manpages-l10n 4.28.0\n" |
| 10 |
"POT-Creation-Date: 2026-06-05 06:25+0200\n" |
| 11 |
"PO-Revision-Date: 2025-11-01 14:52+0100\n" |
| 12 |
"Last-Translator: Mario Blättermann <[email protected]>\n" |
| 13 |
"Language-Team: German <[email protected]>\n" |
| 14 |
"Language: de\n" |
| 15 |
"MIME-Version: 1.0\n" |
| 16 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 17 |
"Content-Transfer-Encoding: 8bit\n" |
| 18 |
"Plural-Forms: nplurals=2; plural=n != 1;\n" |
| 19 |
"X-Generator: Lokalize 23.04.3\n" |
| 20 |
|
| 21 |
#. type: TH |
| 22 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 23 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 24 |
#, no-wrap |
| 25 |
msgid "getpwnam" |
| 26 |
msgstr "getpwnam" |
| 27 |
|
| 28 |
#. type: TH |
| 29 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 30 |
#: opensuse-tumbleweed |
| 31 |
#, no-wrap |
| 32 |
msgid "2026-02-08" |
| 33 |
msgstr "8. Februar 2026" |
| 34 |
|
| 35 |
#. type: TH |
| 36 |
#: archlinux debian-unstable |
| 37 |
#, no-wrap |
| 38 |
msgid "Linux man-pages 6.18" |
| 39 |
msgstr "Linux man-pages 6.18" |
| 40 |
|
| 41 |
#. type: SH |
| 42 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 43 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 44 |
#, no-wrap |
| 45 |
msgid "NAME" |
| 46 |
msgstr "BEZEICHNUNG" |
| 47 |
|
| 48 |
#. type: Plain text |
| 49 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 50 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 51 |
msgid "getpwnam, getpwnam_r, getpwuid, getpwuid_r - get password file entry" |
| 52 |
msgstr "" |
| 53 |
"getpwnam, getpwnam_r, getpwuid, getpwuid_r - Eintrag in Passwortdatei " |
| 54 |
"abfragen" |
| 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 "BIBLIOTHEK" |
| 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 "Standard-C-Bibliothek (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 "ÜBERSICHT" |
| 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 "" |
| 81 |
"B<#include E<lt>sys/types.hE<gt>>\n" |
| 82 |
"B<#include E<lt>pwd.hE<gt>>\n" |
| 83 |
msgstr "" |
| 84 |
"B<#include E<lt>sys/types.hE<gt>>\n" |
| 85 |
"B<#include E<lt>pwd.hE<gt>>\n" |
| 86 |
|
| 87 |
#. type: Plain text |
| 88 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 89 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 90 |
#, no-wrap |
| 91 |
msgid "" |
| 92 |
"B<struct passwd *getpwnam(const char *>I<name>B<);>\n" |
| 93 |
"B<struct passwd *getpwuid(uid_t >I<uid>B<);>\n" |
| 94 |
msgstr "" |
| 95 |
"B<struct passwd *getpwnam(const char *>I<Name>B<);>\n" |
| 96 |
"B<struct passwd *getpwuid(uid_t >I<uid>B<);>\n" |
| 97 |
|
| 98 |
# WONTFIX B<…>size_t size → B<…size_t> I<size> // forward declaration |
| 99 |
#. type: Plain text |
| 100 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 101 |
#: opensuse-tumbleweed |
| 102 |
#, no-wrap |
| 103 |
msgid "" |
| 104 |
"B<int getpwnam_r(>size_t size;\n" |
| 105 |
"B< const char *restrict >I<name>B<,>\n" |
| 106 |
"B< struct passwd *restrict >I<pwd>B<,>\n" |
| 107 |
"B< char >I<buf>B<[restrict >I<size>B<], size_t >I<size>B<,>\n" |
| 108 |
"B< struct passwd **restrict >I<result>B<);>\n" |
| 109 |
"B<int getpwuid_r(>size_t size;\n" |
| 110 |
"B< uid_t >I<uid>B<,>\n" |
| 111 |
"B< struct passwd *restrict >I<pwd>B<,>\n" |
| 112 |
"B< char >I<buf>B<[restrict >I<size>B<], size_t >I<size>B<,>\n" |
| 113 |
"B< struct passwd **restrict >I<result>B<);>\n" |
| 114 |
msgstr "" |
| 115 |
"B<int getpwnam_r(>size_t Größe;\n" |
| 116 |
"B< const char *restrict >I<Name>B<,>\n" |
| 117 |
"B< struct passwd *restrict >I<pwd>B<,>\n" |
| 118 |
"B< char >I<Puffer>B<[restrict >I<Größe>B<], size_t >I<Größe>B<,>\n" |
| 119 |
"B< struct passwd **restrict >I<Ergebnis>B<);>\n" |
| 120 |
"B<int getpwuid_r(>size_t Größe;\n" |
| 121 |
"B< uid_t >I<uid>B<,>\n" |
| 122 |
"B< struct passwd *restrict >I<pwd>B<,>\n" |
| 123 |
"B< char >I<Puffer>B<[restrict >I<Größe>B<], size_t >I<Größe>B<,>\n" |
| 124 |
"B< struct passwd **restrict >I<Ergebnis>B<);>\n" |
| 125 |
|
| 126 |
#. type: Plain text |
| 127 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 128 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 129 |
msgid "" |
| 130 |
"Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):" |
| 131 |
msgstr "" |
| 132 |
"Mit Glibc erforderliche Feature-Test-Makros (siehe " |
| 133 |
"B<feature_test_macros>(7)):" |
| 134 |
|
| 135 |
#. type: Plain text |
| 136 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 137 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 138 |
msgid "B<getpwnam_r>(), B<getpwuid_r>():" |
| 139 |
msgstr "B<getpwnam_r>(), B<getpwuid_r>():" |
| 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 |
#, no-wrap |
| 145 |
msgid "" |
| 146 |
" _POSIX_C_SOURCE\n" |
| 147 |
" || /* glibc E<lt>= 2.19: */ _BSD_SOURCE || _SVID_SOURCE\n" |
| 148 |
msgstr "" |
| 149 |
"_POSIX_C_SOURCE\n" |
| 150 |
" || /* Glibc E<lt>= 2.19: */ _BSD_SOURCE || _SVID_SOURCE\n" |
| 151 |
|
| 152 |
#. type: SH |
| 153 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 154 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 155 |
#, no-wrap |
| 156 |
msgid "DESCRIPTION" |
| 157 |
msgstr "BESCHREIBUNG" |
| 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 "" |
| 163 |
"The B<getpwnam>() function returns a pointer to a structure containing the " |
| 164 |
"broken-out fields of the record in the password database (e.g., the local " |
| 165 |
"password file I</etc/passwd>, NIS, and LDAP) that matches the username " |
| 166 |
"I<name>." |
| 167 |
msgstr "" |
| 168 |
"Die Funktion B<getpwnam>() gibt einen Zeiger auf eine Struktur zurück, die " |
| 169 |
"aus einem Datensatz herausgelöste Felder aus der Passwort-Datenbank enthält " |
| 170 |
"(z.B. die lokale Passwortdatei, NIS und LDAP), die zum Benutzername I<Name> " |
| 171 |
"passen." |
| 172 |
|
| 173 |
#. type: Plain text |
| 174 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 175 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 176 |
msgid "" |
| 177 |
"The B<getpwuid>() function returns a pointer to a structure containing the " |
| 178 |
"broken-out fields of the record in the password database that matches the " |
| 179 |
"user ID I<uid>." |
| 180 |
msgstr "" |
| 181 |
"Die Funktion B<getpwnam>() gibt einen Zeiger auf eine Struktur zurück, die " |
| 182 |
"aus einem Datensatz herausgelöste Felder aus der Passwort-Datenbank enthält, " |
| 183 |
"die zur Benutzerkennung I<uid> passen." |
| 184 |
|
| 185 |
#. type: Plain text |
| 186 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 187 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 188 |
msgid "The I<passwd> structure is defined in I<E<lt>pwd.hE<gt>> as follows:" |
| 189 |
msgstr "Die Struktur I<passwd> ist in I<E<lt>pwd.hE<gt>> wie folgt definiert:" |
| 190 |
|
| 191 |
#. type: Plain text |
| 192 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 193 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 194 |
#, no-wrap |
| 195 |
msgid "" |
| 196 |
"struct passwd {\n" |
| 197 |
" char *pw_name; /* username */\n" |
| 198 |
" char *pw_passwd; /* user password */\n" |
| 199 |
" uid_t pw_uid; /* user ID */\n" |
| 200 |
" gid_t pw_gid; /* group ID */\n" |
| 201 |
" char *pw_gecos; /* user information */\n" |
| 202 |
" char *pw_dir; /* home directory */\n" |
| 203 |
" char *pw_shell; /* shell program */\n" |
| 204 |
"};\n" |
| 205 |
msgstr "" |
| 206 |
"struct passwd {\n" |
| 207 |
" char *pw_name; /* Benutzername */\n" |
| 208 |
" char *pw_passwd; /* Passwort des Benutzers */\n" |
| 209 |
" uid_t pw_uid; /* Benutzerkennung */\n" |
| 210 |
" gid_t pw_gid; /* Gruppenkennung */\n" |
| 211 |
" char *pw_gecos; /* Benutzerinformationen */\n" |
| 212 |
" char *pw_dir; /* Home-Verzeichnis */\n" |
| 213 |
" char *pw_shell; /* Anmelde-Shell */\n" |
| 214 |
"};\n" |
| 215 |
|
| 216 |
#. type: Plain text |
| 217 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 218 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 219 |
msgid "See B<passwd>(5) for more information about these fields." |
| 220 |
msgstr "" |
| 221 |
"Weitere Informationen über die Felder dieser Struktur finden Sie unter " |
| 222 |
"B<passwd>(5)." |
| 223 |
|
| 224 |
#. type: Plain text |
| 225 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 226 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 227 |
msgid "" |
| 228 |
"The B<getpwnam_r>() and B<getpwuid_r>() functions obtain the same " |
| 229 |
"information as B<getpwnam>() and B<getpwuid>(), but store the retrieved " |
| 230 |
"I<passwd> structure in the space pointed to by I<pwd>. The string fields " |
| 231 |
"pointed to by the members of the I<passwd> structure are stored in the " |
| 232 |
"buffer I<buf> of size I<size>. A pointer to the result (in case of success) " |
| 233 |
"or NULL (in case no entry was found or an error occurred) is stored in " |
| 234 |
"I<*result>." |
| 235 |
msgstr "" |
| 236 |
"Die Funktionen B<getpwnam_r>() und B<getpwuid_r>() erhalten die gleichen " |
| 237 |
"Informationen wie B<getpwnam>() und B<getpwuid>(), speichern aber die " |
| 238 |
"empfangene I<passwd>-Struktur an dem Platz, auf den I<pwd> zeigt. Die " |
| 239 |
"Zeichenkettenfelder, auf die die Mitglieder der I<passwd>-Struktur zeigen, " |
| 240 |
"werden im Puffer I<Puffer> der Länge I<Größe> gespeichert. Ein Zeiger auf " |
| 241 |
"das Ergebnis (im Erfolgsfall) oder NULL (im Fall, dass kein Eintrag gefunden " |
| 242 |
"wurde oder ein Fehler auftrat) wird in I<*Ergebnis> gespeichert." |
| 243 |
|
| 244 |
#. type: Plain text |
| 245 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 246 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 247 |
msgid "The call" |
| 248 |
msgstr "Der Aufruf" |
| 249 |
|
| 250 |
#. type: Plain text |
| 251 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 252 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 253 |
#, no-wrap |
| 254 |
msgid "sysconf(_SC_GETPW_R_SIZE_MAX)\n" |
| 255 |
msgstr "sysconf(_SC_GETPW_R_SIZE_MAX)\n" |
| 256 |
|
| 257 |
#. type: Plain text |
| 258 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 259 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 260 |
msgid "" |
| 261 |
"returns either -1, without changing I<errno>, or an initial suggested size " |
| 262 |
"for I<buf>. (If this size is too small, the call fails with B<ERANGE>, in " |
| 263 |
"which case the caller can retry with a larger buffer.)" |
| 264 |
msgstr "" |
| 265 |
"liefert entweder -1 ohne Änderung von I<errno> oder die anfänglich " |
| 266 |
"vorgeschlagene Größe für I<Puffer> zurück. (Falls diese Größe zu klein ist, " |
| 267 |
"schlägt der Aufruf mit B<ERANGE> fehl. In diesem Fall kann der Aufrufende es " |
| 268 |
"mit einem größeren Puffer erneut versuchen.)" |
| 269 |
|
| 270 |
#. type: SH |
| 271 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 272 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 273 |
#, no-wrap |
| 274 |
msgid "RETURN VALUE" |
| 275 |
msgstr "RÜCKGABEWERT" |
| 276 |
|
| 277 |
#. type: Plain text |
| 278 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 279 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 280 |
msgid "" |
| 281 |
"The B<getpwnam>() and B<getpwuid>() functions return a pointer to a " |
| 282 |
"I<passwd> structure, or NULL if the matching entry is not found or an error " |
| 283 |
"occurs. If an error occurs, I<errno> is set to indicate the error. If one " |
| 284 |
"wants to check I<errno> after the call, it should be set to zero before the " |
| 285 |
"call." |
| 286 |
msgstr "" |
| 287 |
"Die Funktionen B<getpwnam>() und B<getpwuid>() geben einen Zeiger auf eine " |
| 288 |
"I<passwd>-Struktur oder NULL zurück, falls kein passender Eintrag gefunden " |
| 289 |
"wird oder ein Fehler auftritt. Wenn ein Fehler auftritt wird I<errno> " |
| 290 |
"gesetzt, um den Fehler anzuzeigen. Falls I<errno> nach dem Aufruf geprüft " |
| 291 |
"werden soll, sollte es vor dem Aufruf auf Null gesetzt werden." |
| 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 |
"The return value may point to a static area, and may be overwritten by " |
| 298 |
"subsequent calls to B<getpwent>(3), B<getpwnam>(), or B<getpwuid>(). (Do " |
| 299 |
"not pass the returned pointer to B<free>(3).)" |
| 300 |
msgstr "" |
| 301 |
"Der Rückgabewert könnte auf einen statischen Bereich zeigen und von " |
| 302 |
"nachfolgenden Aufrufen von B<getpwent>(3), B<getpwnam>() oder B<getpwuid>(3) " |
| 303 |
"überschrieben werden. (Übergeben Sie den zurückgegebenen Zeiger nicht an " |
| 304 |
"B<free>(3).)" |
| 305 |
|
| 306 |
#. type: Plain text |
| 307 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 308 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 309 |
msgid "" |
| 310 |
"On success, B<getpwnam_r>() and B<getpwuid_r>() return zero, and set " |
| 311 |
"I<*result> to I<pwd>. If no matching password record was found, these " |
| 312 |
"functions return 0 and store NULL in I<*result>. In case of error, an error " |
| 313 |
"number is returned, and NULL is stored in I<*result>." |
| 314 |
msgstr "" |
| 315 |
"Bei Erfolg geben B<getpwnam_r>() und B<getpwuid_r>() Null zurück und setzen " |
| 316 |
"I<*Ergebnis> auf I<pwd>. Falls kein passender Passwort-Datensatz gefunden " |
| 317 |
"wurde, geben diese Funktionen 0 zurück und speichern NULL in I<*Ergebnis>. " |
| 318 |
"Im Fall eines Fehlers wird eine Fehlernummer zurückgegeben und NULL in " |
| 319 |
"I<*Ergebnis> gespeichert." |
| 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 "ERRORS" |
| 326 |
msgstr "FEHLER" |
| 327 |
|
| 328 |
#. type: TP |
| 329 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 330 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 331 |
#, no-wrap |
| 332 |
msgid "B<0> or B<ENOENT> or B<ESRCH> or B<EBADF> or B<EPERM> or ..." |
| 333 |
msgstr "B<0> oder B<ENOENT> oder B<ESRCH> oder B<EBADF> oder B<EPERM> oder …" |
| 334 |
|
| 335 |
#. type: Plain text |
| 336 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 337 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 338 |
msgid "The given I<name> or I<uid> was not found." |
| 339 |
msgstr "Der angegebene I<Name> oder die I<uid> wurde nicht gefunden" |
| 340 |
|
| 341 |
#. type: TP |
| 342 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 343 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 344 |
#, no-wrap |
| 345 |
msgid "B<EINTR>" |
| 346 |
msgstr "B<EINTR>" |
| 347 |
|
| 348 |
#. type: Plain text |
| 349 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 350 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 351 |
msgid "A signal was caught; see B<signal>(7)." |
| 352 |
msgstr "Ein Signal wurde abgefangen; siehe B<signal>(7)." |
| 353 |
|
| 354 |
#. type: TP |
| 355 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 356 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 357 |
#, no-wrap |
| 358 |
msgid "B<EIO>" |
| 359 |
msgstr "B<EIO>" |
| 360 |
|
| 361 |
#. type: Plain text |
| 362 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 363 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 364 |
msgid "I/O error." |
| 365 |
msgstr "E/A-Fehler (engl. I/O)." |
| 366 |
|
| 367 |
#. type: TP |
| 368 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 369 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 370 |
#, no-wrap |
| 371 |
msgid "B<EMFILE>" |
| 372 |
msgstr "B<EMFILE>" |
| 373 |
|
| 374 |
#. type: Plain text |
| 375 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 376 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 377 |
msgid "" |
| 378 |
"The per-process limit on the number of open file descriptors has been " |
| 379 |
"reached." |
| 380 |
msgstr "" |
| 381 |
"Die Beschränkung pro Prozess der Anzahl offener Datei-Deskriptoren wurde " |
| 382 |
"erreicht." |
| 383 |
|
| 384 |
#. type: TP |
| 385 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 386 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 387 |
#, no-wrap |
| 388 |
msgid "B<ENFILE>" |
| 389 |
msgstr "B<ENFILE>" |
| 390 |
|
| 391 |
#. type: Plain text |
| 392 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 393 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 394 |
msgid "" |
| 395 |
"The system-wide limit on the total number of open files has been reached." |
| 396 |
msgstr "" |
| 397 |
"Die systemweite Beschränkung für die Gesamtzahl offener Dateien wurde " |
| 398 |
"erreicht." |
| 399 |
|
| 400 |
#. type: TP |
| 401 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 402 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 403 |
#, no-wrap |
| 404 |
msgid "B<ENOMEM>" |
| 405 |
msgstr "B<ENOMEM>" |
| 406 |
|
| 407 |
#. #-#-#-#-# archlinux: getpwnam.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 408 |
#. not in POSIX |
| 409 |
#. This structure is static, allocated 0 or 1 times. No memory leak. (libc45) |
| 410 |
#. type: Plain text |
| 411 |
#. #-#-#-#-# debian-trixie: getpwnam.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 412 |
#. not in POSIX |
| 413 |
#. This structure is static, allocated 0 or 1 times. No memory leak. (libc45) |
| 414 |
#. type: Plain text |
| 415 |
#. #-#-#-#-# debian-unstable: getpwnam.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 416 |
#. not in POSIX |
| 417 |
#. This structure is static, allocated 0 or 1 times. No memory leak. (libc45) |
| 418 |
#. type: Plain text |
| 419 |
#. #-#-#-#-# fedora-44: getpwnam.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 420 |
#. not in POSIX |
| 421 |
#. This structure is static, allocated 0 or 1 times. No memory leak. (libc45) |
| 422 |
#. type: Plain text |
| 423 |
#. #-#-#-#-# fedora-rawhide: getpwnam.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 424 |
#. not in POSIX |
| 425 |
#. This structure is static, allocated 0 or 1 times. No memory leak. (libc45) |
| 426 |
#. type: Plain text |
| 427 |
#. #-#-#-#-# mageia-cauldron: getpwnam.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 428 |
#. not in POSIX |
| 429 |
#. This structure is static, allocated 0 or 1 times. No memory leak. (libc45) |
| 430 |
#. type: Plain text |
| 431 |
#. #-#-#-#-# opensuse-leap-16-1: getpwnam.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 432 |
#. not in POSIX |
| 433 |
#. This structure is static, allocated 0 or 1 times. No memory leak. (libc45) |
| 434 |
#. type: Plain text |
| 435 |
#. #-#-#-#-# opensuse-tumbleweed: getpwnam.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 436 |
#. not in POSIX |
| 437 |
#. This structure is static, allocated 0 or 1 times. No memory leak. (libc45) |
| 438 |
#. type: Plain text |
| 439 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 440 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 441 |
msgid "Insufficient memory to allocate I<passwd> structure." |
| 442 |
msgstr "" |
| 443 |
"Der Speicher reicht nicht aus, um ihn für die Struktur I<passwd> zu " |
| 444 |
"reservieren." |
| 445 |
|
| 446 |
#. type: TP |
| 447 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 448 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 449 |
#, no-wrap |
| 450 |
msgid "B<ERANGE>" |
| 451 |
msgstr "B<ERANGE>" |
| 452 |
|
| 453 |
#. type: Plain text |
| 454 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 455 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 456 |
msgid "Insufficient buffer space supplied." |
| 457 |
msgstr "Zu wenig Pufferspeicher bereitgestellt." |
| 458 |
|
| 459 |
#. type: SH |
| 460 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 461 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 462 |
#, no-wrap |
| 463 |
msgid "FILES" |
| 464 |
msgstr "DATEIEN" |
| 465 |
|
| 466 |
#. type: TP |
| 467 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 468 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 469 |
#, no-wrap |
| 470 |
msgid "I</etc/passwd>" |
| 471 |
msgstr "I</etc/passwd>" |
| 472 |
|
| 473 |
#. type: Plain text |
| 474 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 475 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 476 |
msgid "local password database file" |
| 477 |
msgstr "lokale Passwortdatenbank" |
| 478 |
|
| 479 |
#. type: SH |
| 480 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 481 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 482 |
#, no-wrap |
| 483 |
msgid "ATTRIBUTES" |
| 484 |
msgstr "ATTRIBUTE" |
| 485 |
|
| 486 |
#. type: Plain text |
| 487 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 488 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 489 |
msgid "" |
| 490 |
"For an explanation of the terms used in this section, see B<attributes>(7)." |
| 491 |
msgstr "" |
| 492 |
"Siehe B<attributes>(7) für eine Erläuterung der in diesem Abschnitt " |
| 493 |
"verwandten Ausdrücke." |
| 494 |
|
| 495 |
#. type: tbl table |
| 496 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 497 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 498 |
#, no-wrap |
| 499 |
msgid "Interface" |
| 500 |
msgstr "Schnittstelle" |
| 501 |
|
| 502 |
#. type: tbl table |
| 503 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 504 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 505 |
#, no-wrap |
| 506 |
msgid "Attribute" |
| 507 |
msgstr "Attribut" |
| 508 |
|
| 509 |
#. type: tbl table |
| 510 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 511 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 512 |
#, no-wrap |
| 513 |
msgid "Value" |
| 514 |
msgstr "Wert" |
| 515 |
|
| 516 |
#. type: tbl table |
| 517 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 518 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 519 |
#, no-wrap |
| 520 |
msgid ".na\n" |
| 521 |
msgstr ".na\n" |
| 522 |
|
| 523 |
#. type: tbl table |
| 524 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 525 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 526 |
#, no-wrap |
| 527 |
msgid ".nh\n" |
| 528 |
msgstr ".nh\n" |
| 529 |
|
| 530 |
#. type: tbl table |
| 531 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 532 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 533 |
#, no-wrap |
| 534 |
msgid "B<getpwnam>()" |
| 535 |
msgstr "B<getpwnam>()" |
| 536 |
|
| 537 |
#. type: tbl table |
| 538 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 539 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 540 |
#, no-wrap |
| 541 |
msgid "Thread safety" |
| 542 |
msgstr "Multithread-Fähigkeit" |
| 543 |
|
| 544 |
#. type: tbl table |
| 545 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 546 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 547 |
#, no-wrap |
| 548 |
msgid "MT-Unsafe race:pwnam locale" |
| 549 |
msgstr "MT-Unsicher race:pwnam locale" |
| 550 |
|
| 551 |
#. type: tbl table |
| 552 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 553 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 554 |
#, no-wrap |
| 555 |
msgid "B<getpwuid>()" |
| 556 |
msgstr "B<getpwuid>()" |
| 557 |
|
| 558 |
#. type: tbl table |
| 559 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 560 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 561 |
#, no-wrap |
| 562 |
msgid "MT-Unsafe race:pwuid locale" |
| 563 |
msgstr "MT-Unsicher race:pwuid locale" |
| 564 |
|
| 565 |
#. type: tbl table |
| 566 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 567 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 568 |
#, no-wrap |
| 569 |
msgid "" |
| 570 |
"B<getpwnam_r>(),\n" |
| 571 |
"B<getpwuid_r>()" |
| 572 |
msgstr "" |
| 573 |
"B<getpwnam_r>(),\n" |
| 574 |
"B<getpwuid_r>()" |
| 575 |
|
| 576 |
#. type: tbl table |
| 577 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 578 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 579 |
#, no-wrap |
| 580 |
msgid "MT-Safe locale" |
| 581 |
msgstr "MT-Sicher locale" |
| 582 |
|
| 583 |
#. type: SH |
| 584 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 585 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 586 |
#, no-wrap |
| 587 |
msgid "VERSIONS" |
| 588 |
msgstr "VERSIONEN" |
| 589 |
|
| 590 |
#. type: Plain text |
| 591 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 592 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 593 |
msgid "" |
| 594 |
"The I<pw_gecos> field is not specified in POSIX, but is present on most " |
| 595 |
"implementations." |
| 596 |
msgstr "" |
| 597 |
"Das Feld I<pw_gecos> ist in POSIX nicht spezifiziert, aber in den meisten " |
| 598 |
"Implementierungen vorhanden." |
| 599 |
|
| 600 |
#. type: SH |
| 601 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 602 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 603 |
#, no-wrap |
| 604 |
msgid "STANDARDS" |
| 605 |
msgstr "STANDARDS" |
| 606 |
|
| 607 |
#. type: Plain text |
| 608 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 609 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 610 |
msgid "POSIX.1-2008." |
| 611 |
msgstr "POSIX.1-2008." |
| 612 |
|
| 613 |
#. type: SH |
| 614 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 615 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 616 |
#, no-wrap |
| 617 |
msgid "HISTORY" |
| 618 |
msgstr "GESCHICHTE" |
| 619 |
|
| 620 |
#. type: Plain text |
| 621 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 622 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 623 |
msgid "POSIX.1-2001, SVr4, 4.3BSD." |
| 624 |
msgstr "POSIX.1-2001, SVr4, 4.3BSD." |
| 625 |
|
| 626 |
#. type: SH |
| 627 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 628 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 629 |
#, no-wrap |
| 630 |
msgid "NOTES" |
| 631 |
msgstr "ANMERKUNGEN" |
| 632 |
|
| 633 |
#. more precisely: |
| 634 |
#. AIX 5.1 - gives ESRCH |
| 635 |
#. OSF1 4.0g - gives EWOULDBLOCK |
| 636 |
#. libc, glibc up to glibc 2.6, Irix 6.5 - give ENOENT |
| 637 |
#. since glibc 2.7 - give 0 |
| 638 |
#. FreeBSD 4.8, OpenBSD 3.2, NetBSD 1.6 - give EPERM |
| 639 |
#. SunOS 5.8 - gives EBADF |
| 640 |
#. Tru64 5.1b, HP-UX-11i, SunOS 5.7 - give 0 |
| 641 |
#. type: Plain text |
| 642 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 643 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 644 |
msgid "" |
| 645 |
"The formulation given above under \"RETURN VALUE\" is from POSIX.1-2001. It " |
| 646 |
"does not call \"not found\" an error, and hence does not specify what value " |
| 647 |
"I<errno> might have in this situation. But that makes it impossible to " |
| 648 |
"recognize errors. One might argue that according to POSIX I<errno> should " |
| 649 |
"be left unchanged if an entry is not found. Experiments on various UNIX-" |
| 650 |
"like systems show that lots of different values occur in this situation: 0, " |
| 651 |
"ENOENT, EBADF, ESRCH, EWOULDBLOCK, EPERM, and probably others." |
| 652 |
msgstr "" |
| 653 |
"Die unter »RÜCKGABEWERT« angegebene Formulierung stammt von POSIX.1-2001. " |
| 654 |
"Sie lautet nicht Fehler »nicht gefunden« und gibt daher nicht an, welchen " |
| 655 |
"Wert I<errno> in dieser Situation haben könnte. Dies macht es aber unmöglich " |
| 656 |
"Fehler zu erkennen. Es kann argumentiert werden, dass I<errno> von POSIX " |
| 657 |
"unverändert bleiben sollte, wenn ein Eintrag nicht gefunden wird. " |
| 658 |
"Experimente auf verschiedenen UNIX-Systemen zeigen aber, dass viele " |
| 659 |
"verschieden Werte in dieser Situation auftreten: 0, ENOENT, EBADF, ESRCH, " |
| 660 |
"EWOULDBLOCK, EPERM und wahrscheinlich andere." |
| 661 |
|
| 662 |
#. type: Plain text |
| 663 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 664 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 665 |
msgid "" |
| 666 |
"The I<pw_dir> field contains the name of the initial working directory of " |
| 667 |
"the user. Login programs use the value of this field to initialize the " |
| 668 |
"B<HOME> environment variable for the login shell. An application that wants " |
| 669 |
"to determine its user's home directory should inspect the value of B<HOME> " |
| 670 |
"(rather than the value I<getpwuid(getuid())-E<gt>pw_dir>) since this allows " |
| 671 |
"the user to modify their notion of \"the home directory\" during a login " |
| 672 |
"session. To determine the (initial) home directory of another user, it is " |
| 673 |
"necessary to use I<getpwnam(\"username\")-E<gt>pw_dir> or similar." |
| 674 |
msgstr "" |
| 675 |
"Das Feld I<pw_dir> enthält den Namen des anfänglichen Arbeitsverzeichnisses " |
| 676 |
"des Benutzers. Anmeldeprogramme benutzen diesen Wert, um die " |
| 677 |
"Umgebungsvariable B<HOME> für die Anmelde-Shell zu initialisieren. Eine " |
| 678 |
"Anwendung, die das Home-Verzeichnis des Benutzers feststellen möchte, sollte " |
| 679 |
"den Wert von B<HOME> (anstatt des Wertes I<getpwuid(getuid())-E<gt>pw_dir>) " |
| 680 |
"kontrollieren, da dies dem Benutzer erlaubt, seine Vorstellung von »das Home-" |
| 681 |
"Verzeichnis« während einer Anmeldesitzung zu ändern. Um das (anfängliche) " |
| 682 |
"Home-Verzeichnis eines anderen Benutzers festzustellen, ist es nötig " |
| 683 |
"I<getpwnam(»Benutzername«)-E<gt>pw_dir> oder ähnliches zu benutzen." |
| 684 |
|
| 685 |
#. type: SH |
| 686 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 687 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 688 |
#, no-wrap |
| 689 |
msgid "EXAMPLES" |
| 690 |
msgstr "BEISPIELE" |
| 691 |
|
| 692 |
#. type: Plain text |
| 693 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 694 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 695 |
msgid "" |
| 696 |
"The program below demonstrates the use of B<getpwnam_r>() to find the full " |
| 697 |
"username and user ID for the username supplied as a command-line argument." |
| 698 |
msgstr "" |
| 699 |
"Das folgende Programm demonstriert den Gebrauch von B<getpwnam_r>(), um den " |
| 700 |
"volständigen Benutzernamen und die Benutzerkennung für den als " |
| 701 |
"Befehlszeilenargument angegebenen Benutzernamen herauszufinden." |
| 702 |
|
| 703 |
#. type: Plain text |
| 704 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 705 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 706 |
#, no-wrap |
| 707 |
msgid "" |
| 708 |
"#include E<lt>errno.hE<gt>\n" |
| 709 |
"#include E<lt>pwd.hE<gt>\n" |
| 710 |
"#include E<lt>stdint.hE<gt>\n" |
| 711 |
"#include E<lt>stdio.hE<gt>\n" |
| 712 |
"#include E<lt>stdlib.hE<gt>\n" |
| 713 |
"#include E<lt>unistd.hE<gt>\n" |
| 714 |
"\\&\n" |
| 715 |
"int\n" |
| 716 |
"main(int argc, char *argv[])\n" |
| 717 |
"{\n" |
| 718 |
" struct passwd pwd;\n" |
| 719 |
" struct passwd *result;\n" |
| 720 |
" char *buf;\n" |
| 721 |
" long bufsize;\n" |
| 722 |
" int s;\n" |
| 723 |
"\\&\n" |
| 724 |
" if (argc != 2) {\n" |
| 725 |
" fprintf(stderr, \"Usage: %s username\\[rs]n\", argv[0]);\n" |
| 726 |
" exit(EXIT_FAILURE);\n" |
| 727 |
" }\n" |
| 728 |
"\\&\n" |
| 729 |
" bufsize = sysconf(_SC_GETPW_R_SIZE_MAX);\n" |
| 730 |
" if (bufsize == -1) /* Value was indeterminate */\n" |
| 731 |
" bufsize = 16384; /* Should be more than enough */\n" |
| 732 |
"\\&\n" |
| 733 |
" buf = malloc(bufsize);\n" |
| 734 |
" if (buf == NULL) {\n" |
| 735 |
" perror(\"malloc\");\n" |
| 736 |
" exit(EXIT_FAILURE);\n" |
| 737 |
" }\n" |
| 738 |
"\\&\n" |
| 739 |
" s = getpwnam_r(argv[1], &pwd, buf, bufsize, &result);\n" |
| 740 |
" if (result == NULL) {\n" |
| 741 |
" if (s == 0)\n" |
| 742 |
" printf(\"Not found\\[rs]n\");\n" |
| 743 |
" else {\n" |
| 744 |
" errno = s;\n" |
| 745 |
" perror(\"getpwnam_r\");\n" |
| 746 |
" }\n" |
| 747 |
" exit(EXIT_FAILURE);\n" |
| 748 |
" }\n" |
| 749 |
"\\&\n" |
| 750 |
" printf(\"Name: %s; UID: %jd\\[rs]n\", pwd.pw_gecos,\n" |
| 751 |
" (intmax_t) pwd.pw_uid);\n" |
| 752 |
" exit(EXIT_SUCCESS);\n" |
| 753 |
"}\n" |
| 754 |
msgstr "" |
| 755 |
"#include E<lt>errno.hE<gt>\n" |
| 756 |
"#include E<lt>pwd.hE<gt>\n" |
| 757 |
"#include E<lt>stdint.hE<gt>\n" |
| 758 |
"#include E<lt>stdio.hE<gt>\n" |
| 759 |
"#include E<lt>stdlib.hE<gt>\n" |
| 760 |
"#include E<lt>unistd.hE<gt>\n" |
| 761 |
"\\&\n" |
| 762 |
"int\n" |
| 763 |
"main(int argc, char *argv[])\n" |
| 764 |
"{\n" |
| 765 |
" struct passwd pwd;\n" |
| 766 |
" struct passwd *result;\n" |
| 767 |
" char *buf;\n" |
| 768 |
" long bufsize;\n" |
| 769 |
" int s;\n" |
| 770 |
"\\&\n" |
| 771 |
" if (argc != 2) {\n" |
| 772 |
" fprintf(stderr, \"Usage: %s username\\[rs]n\", argv[0]);\n" |
| 773 |
" exit(EXIT_FAILURE);\n" |
| 774 |
" }\n" |
| 775 |
"\\&\n" |
| 776 |
" bufsize = sysconf(_SC_GETPW_R_SIZE_MAX);\n" |
| 777 |
" if (bufsize == -1) /* Wert war unklar */\n" |
| 778 |
" bufsize = 16384; /* Sollte mehr als genug sein */\n" |
| 779 |
"\\&\n" |
| 780 |
" buf = malloc(bufsize);\n" |
| 781 |
" if (buf == NULL) {\n" |
| 782 |
" perror(\"malloc\");\n" |
| 783 |
" exit(EXIT_FAILURE);\n" |
| 784 |
" }\n" |
| 785 |
"\\&\n" |
| 786 |
" s = getpwnam_r(argv[1], &pwd, buf, bufsize, &result);\n" |
| 787 |
" if (result == NULL) {\n" |
| 788 |
" if (s == 0)\n" |
| 789 |
" printf(\"Not found\\[rs]n\");\n" |
| 790 |
" else {\n" |
| 791 |
" errno = s;\n" |
| 792 |
" perror(\"getpwnam_r\");\n" |
| 793 |
" }\n" |
| 794 |
" exit(EXIT_FAILURE);\n" |
| 795 |
" }\n" |
| 796 |
"\\&\n" |
| 797 |
" printf(\"Name: %s; UID: %jd\\[rs]n\", pwd.pw_gecos,\n" |
| 798 |
" (intmax_t) pwd.pw_uid);\n" |
| 799 |
" exit(EXIT_SUCCESS);\n" |
| 800 |
"}\n" |
| 801 |
|
| 802 |
#. SRC END |
| 803 |
#. type: SH |
| 804 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 805 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 806 |
#, no-wrap |
| 807 |
msgid "SEE ALSO" |
| 808 |
msgstr "SIEHE AUCH" |
| 809 |
|
| 810 |
#. type: Plain text |
| 811 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1 |
| 812 |
#: opensuse-tumbleweed |
| 813 |
msgid "" |
| 814 |
"B<endpwent>(3), B<fgetpwent>(3), B<getgrnam>(3), B<getpw>(3), " |
| 815 |
"B<getpwent>(3), B<getspnam>(3), B<putpwent>(3), B<setpwent>(3), B<passwd>(5)" |
| 816 |
msgstr "" |
| 817 |
"B<endpwent>(3), B<fgetpwent>(3), B<getgrnam>(3), B<getpw>(3), " |
| 818 |
"B<getpwent>(3), B<getspnam>(3), B<putpwent>(3), B<setpwent>(3), B<passwd>(5)" |
| 819 |
|
| 820 |
#. type: TH |
| 821 |
#: debian-trixie |
| 822 |
#, no-wrap |
| 823 |
msgid "2024-06-15" |
| 824 |
msgstr "15. Juni 2024" |
| 825 |
|
| 826 |
#. type: TH |
| 827 |
#: debian-trixie |
| 828 |
#, no-wrap |
| 829 |
msgid "Linux man-pages 6.9.1" |
| 830 |
msgstr "Linux man-pages 6.9.1" |
| 831 |
|
| 832 |
#. type: Plain text |
| 833 |
#: debian-trixie |
| 834 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 835 |
msgstr "Standard-C-Bibliothek (I<libc>, I<-lc>)" |
| 836 |
|
| 837 |
#. type: Plain text |
| 838 |
#: debian-trixie |
| 839 |
#, no-wrap |
| 840 |
msgid "" |
| 841 |
"B<int getpwnam_r(const char *restrict >I<name>B<, struct passwd *restrict >I<pwd>B<,>\n" |
| 842 |
"B< char >I<buf>B<[restrict .>I<buflen>B<], size_t >I<buflen>B<,>\n" |
| 843 |
"B< struct passwd **restrict >I<result>B<);>\n" |
| 844 |
"B<int getpwuid_r(uid_t >I<uid>B<, struct passwd *restrict >I<pwd>B<,>\n" |
| 845 |
"B< char >I<buf>B<[restrict .>I<buflen>B<], size_t >I<buflen>B<,>\n" |
| 846 |
"B< struct passwd **restrict >I<result>B<);>\n" |
| 847 |
msgstr "" |
| 848 |
"B<int getpwnam_r(const char *restrict >I<Name>B<, struct passwd *restrict >I<pwd>B<,>\n" |
| 849 |
"B< char >I<Puffer>B<[restrict .>I<Puffergröße>B<], size_t >I<Puffergröße>B<,>\n" |
| 850 |
"B< struct passwd **restrict >I<Ergebnis>B<);>\n" |
| 851 |
"B<int getpwuid_r(uid_t >I<uid>B<, struct passwd *restrict >I<pwd>B<,>\n" |
| 852 |
"B< char >I<Puffer>B<[restrict .>I<Puffergröße>B<], size_t >I<Puffergröße>B<,>\n" |
| 853 |
"B< struct passwd **restrict >I<Ergebnis>B<);>\n" |
| 854 |
|
| 855 |
#. type: Plain text |
| 856 |
#: debian-trixie |
| 857 |
msgid "" |
| 858 |
"The B<getpwnam_r>() and B<getpwuid_r>() functions obtain the same " |
| 859 |
"information as B<getpwnam>() and B<getpwuid>(), but store the retrieved " |
| 860 |
"I<passwd> structure in the space pointed to by I<pwd>. The string fields " |
| 861 |
"pointed to by the members of the I<passwd> structure are stored in the " |
| 862 |
"buffer I<buf> of size I<buflen>. A pointer to the result (in case of " |
| 863 |
"success) or NULL (in case no entry was found or an error occurred) is stored " |
| 864 |
"in I<*result>." |
| 865 |
msgstr "" |
| 866 |
"Die Funktionen B<getpwnam_r>() und B<getpwuid_r>() erhalten die gleichen " |
| 867 |
"Informationen wie B<getpwnam>() und B<getpwuid>(), speichern aber die " |
| 868 |
"empfangene I<passwd>-Struktur an dem Platz, auf den I<pwd> zeigt. Die " |
| 869 |
"Zeichenkettenfelder, auf die die Mitglieder der I<passwd>-Struktur zeigen, " |
| 870 |
"werden im Puffer I<Puffer> der Länge I<Puffergröße> gespeichert. Ein Zeiger " |
| 871 |
"auf das Ergebnis (im Erfolgsfall) oder NULL (im Fall, dass kein Eintrag " |
| 872 |
"gefunden wurde oder ein Fehler auftrat) wird in I<*Ergebnis> gespeichert." |
| 873 |
|
| 874 |
#. type: SH |
| 875 |
#: debian-trixie debian-unstable |
| 876 |
#, no-wrap |
| 877 |
msgid "NOTE" |
| 878 |
msgstr "ANMERKUNGEN" |
| 879 |
|
| 880 |
#. type: Plain text |
| 881 |
#: debian-trixie debian-unstable |
| 882 |
msgid "" |
| 883 |
"The user password database mostly refers to I</etc/passwd>. However, with " |
| 884 |
"recent systems it also refers to network wide databases using NIS, LDAP and " |
| 885 |
"other local files as configured in I</etc/nsswitch.conf>." |
| 886 |
msgstr "" |
| 887 |
"Die Benutzer-Passwortdatenbank bezieht sich meistens auf I</etc/passwd>. Bei " |
| 888 |
"aktuellen Systemen bezieht sie sich jedoch außerdem auf netzwerkweite " |
| 889 |
"Datenbanken, die NIS, LDAP und andere lokale Datenbanken benutzen. Dies ist " |
| 890 |
"in I</etc/nsswitch.conf> konfiguriert." |
| 891 |
|
| 892 |
#. type: TP |
| 893 |
#: debian-trixie debian-unstable |
| 894 |
#, no-wrap |
| 895 |
msgid "I</etc/nsswitch.conf>" |
| 896 |
msgstr "I</etc/nsswitch.conf>" |
| 897 |
|
| 898 |
#. type: Plain text |
| 899 |
#: debian-trixie debian-unstable |
| 900 |
msgid "System Databases and Name Service Switch configuration file" |
| 901 |
msgstr "" |
| 902 |
"Konfigurationsdatei für Systemdatenbanken und Namens-Dienst-Umschalter " |
| 903 |
"(»Name Service Switch«)" |
| 904 |
|
| 905 |
#. type: Plain text |
| 906 |
#: debian-trixie debian-unstable |
| 907 |
msgid "" |
| 908 |
"B<endpwent>(3), B<fgetpwent>(3), B<getgrnam>(3), B<getpw>(3), " |
| 909 |
"B<getpwent>(3), B<getspnam>(3), B<putpwent>(3), B<setpwent>(3), " |
| 910 |
"B<nsswitch.conf>(5), B<passwd>(5)" |
| 911 |
msgstr "" |
| 912 |
"B<endpwent>(3), B<fgetpwent>(3), B<getgrnam>(3), B<getpw>(3), " |
| 913 |
"B<getpwent>(3), B<getspnam>(3), B<putpwent>(3), B<setpwent>(3), " |
| 914 |
"B<nsswitch.conf>(5), B<passwd>(5)" |
| 915 |
|
| 916 |
#. type: TH |
| 917 |
#: fedora-44 fedora-rawhide |
| 918 |
#, no-wrap |
| 919 |
msgid "2024-12-24" |
| 920 |
msgstr "24. Dezember 2024" |
| 921 |
|
| 922 |
#. type: TH |
| 923 |
#: fedora-44 fedora-rawhide |
| 924 |
#, no-wrap |
| 925 |
msgid "Linux man-pages 6.13" |
| 926 |
msgstr "Linux man-pages 6.13" |
| 927 |
|
| 928 |
#. type: Plain text |
| 929 |
#: fedora-44 fedora-rawhide |
| 930 |
#, no-wrap |
| 931 |
msgid "" |
| 932 |
"B<int getpwnam_r(const char *restrict >I<name>B<, struct passwd *restrict >I<pwd>B<,>\n" |
| 933 |
"B< char >I<buf>B<[restrict .>I<size>B<], size_t >I<size>B<,>\n" |
| 934 |
"B< struct passwd **restrict >I<result>B<);>\n" |
| 935 |
"B<int getpwuid_r(uid_t >I<uid>B<, struct passwd *restrict >I<pwd>B<,>\n" |
| 936 |
"B< char >I<buf>B<[restrict .>I<size>B<], size_t >I<size>B<,>\n" |
| 937 |
"B< struct passwd **restrict >I<result>B<);>\n" |
| 938 |
msgstr "" |
| 939 |
"B<int getpwnam_r(const char *restrict >I<Name>B<, struct passwd *restrict >I<pwd>B<,>\n" |
| 940 |
"B< char >I<Puffer>B<[restrict .>I<Größe>B<], size_t >I<Größe>B<,>\n" |
| 941 |
"B< struct passwd **restrict >I<Ergebnis>B<);>\n" |
| 942 |
"B<int getpwuid_r(uid_t >I<uid>B<, struct passwd *restrict >I<pwd>B<,>\n" |
| 943 |
"B< char >I<Puffer>B<[restrict .>I<Größe>B<], size_t >I<Größe>B<,>\n" |
| 944 |
"B< struct passwd **restrict >I<Ergebnis>B<);>\n" |
| 945 |
|
| 946 |
#. type: TH |
| 947 |
#: mageia-cauldron |
| 948 |
#, no-wrap |
| 949 |
msgid "Linux man-pages 6.17" |
| 950 |
msgstr "Linux man-pages 6.17" |
| 951 |
|
| 952 |
#. type: TH |
| 953 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 954 |
#, no-wrap |
| 955 |
msgid "Linux man-pages (unreleased)" |
| 956 |
msgstr "Linux man-pages (unveröffentlicht)" |