| 1 |
# SOME DESCRIPTIVE TITLE |
| 2 |
# Copyright (C) YEAR Free Software Foundation, Inc. |
| 3 |
# This file is distributed under the same license as the PACKAGE package. |
| 4 |
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. |
| 5 |
# |
| 6 |
#, fuzzy |
| 7 |
msgid "" |
| 8 |
msgstr "" |
| 9 |
"Project-Id-Version: PACKAGE VERSION\n" |
| 10 |
"POT-Creation-Date: 2026-06-05 06:25+0200\n" |
| 11 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
| 12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
| 13 |
"Language-Team: LANGUAGE <[email protected]>\n" |
| 14 |
"Language: \n" |
| 15 |
"MIME-Version: 1.0\n" |
| 16 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 17 |
"Content-Transfer-Encoding: 8bit\n" |
| 18 |
|
| 19 |
#. type: TH |
| 20 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 21 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 22 |
#, no-wrap |
| 23 |
msgid "getlogin" |
| 24 |
msgstr "" |
| 25 |
|
| 26 |
#. type: TH |
| 27 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 28 |
#: opensuse-tumbleweed |
| 29 |
#, no-wrap |
| 30 |
msgid "2026-02-08" |
| 31 |
msgstr "" |
| 32 |
|
| 33 |
#. type: TH |
| 34 |
#: archlinux debian-unstable |
| 35 |
#, no-wrap |
| 36 |
msgid "Linux man-pages 6.18" |
| 37 |
msgstr "" |
| 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 "" |
| 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 "getlogin, getlogin_r, cuserid - get username" |
| 50 |
msgstr "" |
| 51 |
|
| 52 |
#. type: SH |
| 53 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 54 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 55 |
#, no-wrap |
| 56 |
msgid "LIBRARY" |
| 57 |
msgstr "" |
| 58 |
|
| 59 |
#. type: Plain text |
| 60 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 61 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 62 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 63 |
msgstr "" |
| 64 |
|
| 65 |
#. type: SH |
| 66 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 67 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 68 |
#, no-wrap |
| 69 |
msgid "SYNOPSIS" |
| 70 |
msgstr "" |
| 71 |
|
| 72 |
#. type: Plain text |
| 73 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 74 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 75 |
#, no-wrap |
| 76 |
msgid "B<#include E<lt>unistd.hE<gt>>\n" |
| 77 |
msgstr "" |
| 78 |
|
| 79 |
#. type: Plain text |
| 80 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 81 |
#: opensuse-tumbleweed |
| 82 |
#, no-wrap |
| 83 |
msgid "" |
| 84 |
"B<char *getlogin(void);>\n" |
| 85 |
"B<int getlogin_r(>size_t bufsize;\n" |
| 86 |
"B< char >I<buf>B<[>I<bufsize>B<], size_t >I<bufsize>B<);>\n" |
| 87 |
msgstr "" |
| 88 |
|
| 89 |
#. type: Plain text |
| 90 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 91 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 92 |
#, no-wrap |
| 93 |
msgid "B<#include E<lt>stdio.hE<gt>>\n" |
| 94 |
msgstr "" |
| 95 |
|
| 96 |
#. type: Plain text |
| 97 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 98 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 99 |
#, no-wrap |
| 100 |
msgid "B<char *cuserid(char *>I<string>B<);>\n" |
| 101 |
msgstr "" |
| 102 |
|
| 103 |
#. type: Plain text |
| 104 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 105 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 106 |
msgid "" |
| 107 |
"Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):" |
| 108 |
msgstr "" |
| 109 |
|
| 110 |
#. type: TQ |
| 111 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 112 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 113 |
#, no-wrap |
| 114 |
msgid "B<getlogin_r>():" |
| 115 |
msgstr "" |
| 116 |
|
| 117 |
#. Deprecated: _REENTRANT || |
| 118 |
#. type: Plain text |
| 119 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 120 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 121 |
#, no-wrap |
| 122 |
msgid " _POSIX_C_SOURCE E<gt>= 199506L\n" |
| 123 |
msgstr "" |
| 124 |
|
| 125 |
#. type: Plain text |
| 126 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 127 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 128 |
msgid "B<cuserid>():" |
| 129 |
msgstr "" |
| 130 |
|
| 131 |
#. type: Plain text |
| 132 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 133 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 134 |
#, no-wrap |
| 135 |
msgid "" |
| 136 |
" Since glibc 2.24:\n" |
| 137 |
" (_XOPEN_SOURCE && ! (_POSIX_C_SOURCE E<gt>= 200112L)\n" |
| 138 |
" || _GNU_SOURCE\n" |
| 139 |
" Up to and including glibc 2.23:\n" |
| 140 |
" _XOPEN_SOURCE\n" |
| 141 |
msgstr "" |
| 142 |
|
| 143 |
#. type: SH |
| 144 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 145 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 146 |
#, no-wrap |
| 147 |
msgid "DESCRIPTION" |
| 148 |
msgstr "" |
| 149 |
|
| 150 |
#. type: Plain text |
| 151 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 152 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 153 |
msgid "" |
| 154 |
"B<getlogin>() returns a pointer to a string containing the name of the user " |
| 155 |
"logged in on the controlling terminal of the process, or a null pointer if " |
| 156 |
"this information cannot be determined. The string is statically allocated " |
| 157 |
"and might be overwritten on subsequent calls to this function or to " |
| 158 |
"B<cuserid>()." |
| 159 |
msgstr "" |
| 160 |
|
| 161 |
#. type: Plain text |
| 162 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 163 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 164 |
msgid "" |
| 165 |
"B<getlogin_r>() returns this same username in the array I<buf> of size " |
| 166 |
"I<bufsize>." |
| 167 |
msgstr "" |
| 168 |
|
| 169 |
#. type: Plain text |
| 170 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 171 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 172 |
msgid "" |
| 173 |
"B<cuserid>() returns a pointer to a string containing a username associated " |
| 174 |
"with the effective user ID of the process. If I<string> is not a null " |
| 175 |
"pointer, it should be an array that can hold at least B<L_cuserid> " |
| 176 |
"characters; the string is returned in this array. Otherwise, a pointer to a " |
| 177 |
"string in a static area is returned. This string is statically allocated " |
| 178 |
"and might be overwritten on subsequent calls to this function or to " |
| 179 |
"B<getlogin>()." |
| 180 |
msgstr "" |
| 181 |
|
| 182 |
#. type: Plain text |
| 183 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 184 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 185 |
msgid "" |
| 186 |
"The macro B<L_cuserid> is an integer constant that indicates how long an " |
| 187 |
"array you might need to store a username. B<L_cuserid> is declared in " |
| 188 |
"I<E<lt>stdio.hE<gt>>." |
| 189 |
msgstr "" |
| 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 |
msgid "" |
| 195 |
"These functions let your program identify positively the user who is running " |
| 196 |
"(B<cuserid>()) or the user who logged in this session (B<getlogin>()). " |
| 197 |
"(These can differ when set-user-ID programs are involved.)" |
| 198 |
msgstr "" |
| 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 "" |
| 204 |
"For most purposes, it is more useful to use the environment variable " |
| 205 |
"B<LOGNAME> to find out who the user is. This is more flexible precisely " |
| 206 |
"because the user can set B<LOGNAME> arbitrarily." |
| 207 |
msgstr "" |
| 208 |
|
| 209 |
#. type: SH |
| 210 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 211 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 212 |
#, no-wrap |
| 213 |
msgid "RETURN VALUE" |
| 214 |
msgstr "" |
| 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 "" |
| 220 |
"B<getlogin>() returns a pointer to the username when successful, and NULL " |
| 221 |
"on failure, with I<errno> set to indicate the error. B<getlogin_r>() " |
| 222 |
"returns 0 when successful, and nonzero on failure." |
| 223 |
msgstr "" |
| 224 |
|
| 225 |
#. type: SH |
| 226 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 227 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 228 |
#, no-wrap |
| 229 |
msgid "ERRORS" |
| 230 |
msgstr "" |
| 231 |
|
| 232 |
#. type: Plain text |
| 233 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 234 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 235 |
msgid "POSIX specifies:" |
| 236 |
msgstr "" |
| 237 |
|
| 238 |
#. type: TP |
| 239 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 240 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 241 |
#, no-wrap |
| 242 |
msgid "B<EMFILE>" |
| 243 |
msgstr "" |
| 244 |
|
| 245 |
#. type: Plain text |
| 246 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 247 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 248 |
msgid "" |
| 249 |
"The per-process limit on the number of open file descriptors has been " |
| 250 |
"reached." |
| 251 |
msgstr "" |
| 252 |
|
| 253 |
#. type: TP |
| 254 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 255 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 256 |
#, no-wrap |
| 257 |
msgid "B<ENFILE>" |
| 258 |
msgstr "" |
| 259 |
|
| 260 |
#. type: Plain text |
| 261 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 262 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 263 |
msgid "" |
| 264 |
"The system-wide limit on the total number of open files has been reached." |
| 265 |
msgstr "" |
| 266 |
|
| 267 |
#. type: TP |
| 268 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 269 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 270 |
#, no-wrap |
| 271 |
msgid "B<ENXIO>" |
| 272 |
msgstr "" |
| 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 "The calling process has no controlling terminal." |
| 278 |
msgstr "" |
| 279 |
|
| 280 |
#. type: TP |
| 281 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 282 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 283 |
#, no-wrap |
| 284 |
msgid "B<ERANGE>" |
| 285 |
msgstr "" |
| 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 "" |
| 291 |
"(getlogin_r) The length of the username, including the terminating null " |
| 292 |
"byte (B<\\[aq]\\[rs]0\\[aq]>), is larger than I<bufsize>." |
| 293 |
msgstr "" |
| 294 |
|
| 295 |
#. type: Plain text |
| 296 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 297 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 298 |
msgid "Linux/glibc also has:" |
| 299 |
msgstr "" |
| 300 |
|
| 301 |
#. type: TP |
| 302 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 303 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 304 |
#, no-wrap |
| 305 |
msgid "B<ENOENT>" |
| 306 |
msgstr "" |
| 307 |
|
| 308 |
#. type: Plain text |
| 309 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 310 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 311 |
msgid "There was no corresponding entry in the utmp-file." |
| 312 |
msgstr "" |
| 313 |
|
| 314 |
#. type: TP |
| 315 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 316 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 317 |
#, no-wrap |
| 318 |
msgid "B<ENOMEM>" |
| 319 |
msgstr "" |
| 320 |
|
| 321 |
#. type: Plain text |
| 322 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 323 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 324 |
msgid "Insufficient memory to allocate passwd structure." |
| 325 |
msgstr "" |
| 326 |
|
| 327 |
#. type: TP |
| 328 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 329 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 330 |
#, no-wrap |
| 331 |
msgid "B<ENOTTY>" |
| 332 |
msgstr "" |
| 333 |
|
| 334 |
#. type: Plain text |
| 335 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 336 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 337 |
msgid "Standard input didn't refer to a terminal. (See BUGS.)" |
| 338 |
msgstr "" |
| 339 |
|
| 340 |
#. type: SH |
| 341 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 342 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 343 |
#, no-wrap |
| 344 |
msgid "FILES" |
| 345 |
msgstr "" |
| 346 |
|
| 347 |
#. type: TP |
| 348 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 349 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 350 |
#, no-wrap |
| 351 |
msgid "I</etc/passwd>" |
| 352 |
msgstr "" |
| 353 |
|
| 354 |
#. type: Plain text |
| 355 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 356 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 357 |
msgid "password database file" |
| 358 |
msgstr "" |
| 359 |
|
| 360 |
#. type: TP |
| 361 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 362 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 363 |
#, no-wrap |
| 364 |
msgid "I</var/run/utmp>" |
| 365 |
msgstr "" |
| 366 |
|
| 367 |
#. type: Plain text |
| 368 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 369 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 370 |
msgid "(traditionally I</etc/utmp>; some libc versions used I</var/adm/utmp>)" |
| 371 |
msgstr "" |
| 372 |
|
| 373 |
#. type: SH |
| 374 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 375 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 376 |
#, no-wrap |
| 377 |
msgid "ATTRIBUTES" |
| 378 |
msgstr "" |
| 379 |
|
| 380 |
#. type: Plain text |
| 381 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 382 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 383 |
msgid "" |
| 384 |
"For an explanation of the terms used in this section, see B<attributes>(7)." |
| 385 |
msgstr "" |
| 386 |
|
| 387 |
#. type: tbl table |
| 388 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 389 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 390 |
#, no-wrap |
| 391 |
msgid "Interface" |
| 392 |
msgstr "" |
| 393 |
|
| 394 |
#. type: tbl table |
| 395 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 396 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 397 |
#, no-wrap |
| 398 |
msgid "Attribute" |
| 399 |
msgstr "" |
| 400 |
|
| 401 |
#. type: tbl table |
| 402 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 403 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 404 |
#, no-wrap |
| 405 |
msgid "Value" |
| 406 |
msgstr "" |
| 407 |
|
| 408 |
#. type: tbl table |
| 409 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 410 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 411 |
#, no-wrap |
| 412 |
msgid ".na\n" |
| 413 |
msgstr "" |
| 414 |
|
| 415 |
#. type: tbl table |
| 416 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 417 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 418 |
#, no-wrap |
| 419 |
msgid ".nh\n" |
| 420 |
msgstr "" |
| 421 |
|
| 422 |
#. type: TP |
| 423 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 424 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 425 |
#, no-wrap |
| 426 |
msgid "B<getlogin>()" |
| 427 |
msgstr "" |
| 428 |
|
| 429 |
#. type: tbl table |
| 430 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 431 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 432 |
#, no-wrap |
| 433 |
msgid "Thread safety" |
| 434 |
msgstr "" |
| 435 |
|
| 436 |
#. type: tbl table |
| 437 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 438 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 439 |
#, no-wrap |
| 440 |
msgid "" |
| 441 |
"MT-Unsafe race:getlogin race:utent\n" |
| 442 |
"sig:ALRM timer locale" |
| 443 |
msgstr "" |
| 444 |
|
| 445 |
#. type: TQ |
| 446 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 447 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 448 |
#, no-wrap |
| 449 |
msgid "B<getlogin_r>()" |
| 450 |
msgstr "" |
| 451 |
|
| 452 |
#. type: tbl table |
| 453 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 454 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 455 |
#, no-wrap |
| 456 |
msgid "" |
| 457 |
"MT-Unsafe race:utent sig:ALRM timer\n" |
| 458 |
"locale" |
| 459 |
msgstr "" |
| 460 |
|
| 461 |
#. type: TP |
| 462 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 463 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 464 |
#, no-wrap |
| 465 |
msgid "B<cuserid>()" |
| 466 |
msgstr "" |
| 467 |
|
| 468 |
#. type: tbl table |
| 469 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 470 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 471 |
#, no-wrap |
| 472 |
msgid "MT-Unsafe race:cuserid/!string locale" |
| 473 |
msgstr "" |
| 474 |
|
| 475 |
#. type: Plain text |
| 476 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 477 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 478 |
msgid "" |
| 479 |
"In the above table, I<utent> in I<race:utent> signifies that if any of the " |
| 480 |
"functions B<setutent>(3), B<getutent>(3), or B<endutent>(3) are used in " |
| 481 |
"parallel in different threads of a program, then data races could occur. " |
| 482 |
"B<getlogin>() and B<getlogin_r>() call those functions, so we use " |
| 483 |
"race:utent to remind users." |
| 484 |
msgstr "" |
| 485 |
|
| 486 |
#. type: SH |
| 487 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 488 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 489 |
#, no-wrap |
| 490 |
msgid "VERSIONS" |
| 491 |
msgstr "" |
| 492 |
|
| 493 |
#. type: Plain text |
| 494 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 495 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 496 |
msgid "" |
| 497 |
"OpenBSD has B<getlogin>() and B<setlogin>(), and a username associated with " |
| 498 |
"a session, even if it has no controlling terminal." |
| 499 |
msgstr "" |
| 500 |
|
| 501 |
#. type: SH |
| 502 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 503 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 504 |
#, no-wrap |
| 505 |
msgid "STANDARDS" |
| 506 |
msgstr "" |
| 507 |
|
| 508 |
#. type: Plain text |
| 509 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 510 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 511 |
msgid "POSIX.1-2008." |
| 512 |
msgstr "" |
| 513 |
|
| 514 |
#. type: Plain text |
| 515 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 516 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 517 |
msgid "None." |
| 518 |
msgstr "" |
| 519 |
|
| 520 |
#. type: Plain text |
| 521 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 522 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 523 |
msgid "POSIX.1-2001. OpenBSD." |
| 524 |
msgstr "" |
| 525 |
|
| 526 |
#. type: Plain text |
| 527 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 528 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 529 |
msgid "" |
| 530 |
"System V, POSIX.1-1988. Removed in POSIX.1-1990. SUSv2. Removed in " |
| 531 |
"POSIX.1-2001." |
| 532 |
msgstr "" |
| 533 |
|
| 534 |
#. type: Plain text |
| 535 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 536 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 537 |
msgid "" |
| 538 |
"System V has a B<cuserid>() function which uses the real user ID rather " |
| 539 |
"than the effective user ID." |
| 540 |
msgstr "" |
| 541 |
|
| 542 |
#. type: SH |
| 543 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 544 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 545 |
#, no-wrap |
| 546 |
msgid "BUGS" |
| 547 |
msgstr "" |
| 548 |
|
| 549 |
#. type: Plain text |
| 550 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 551 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 552 |
msgid "" |
| 553 |
"Unfortunately, it is often rather easy to fool B<getlogin>(). Sometimes it " |
| 554 |
"does not work at all, because some program messed up the utmp file. Often, " |
| 555 |
"it gives only the first 8 characters of the login name. The user currently " |
| 556 |
"logged in on the controlling terminal of our program need not be the user " |
| 557 |
"who started it. Avoid B<getlogin>() for security-related purposes." |
| 558 |
msgstr "" |
| 559 |
|
| 560 |
#. type: Plain text |
| 561 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 562 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 563 |
msgid "" |
| 564 |
"Note that glibc does not follow the POSIX specification and uses I<stdin> " |
| 565 |
"instead of I</dev/tty>. A bug. (Other recent systems, like SunOS 5.8 and " |
| 566 |
"HP-UX 11.11 and FreeBSD 4.8 all return the login name also when I<stdin> is " |
| 567 |
"redirected.)" |
| 568 |
msgstr "" |
| 569 |
|
| 570 |
#. type: Plain text |
| 571 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 572 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 573 |
msgid "" |
| 574 |
"Nobody knows precisely what B<cuserid>() does; avoid it in portable " |
| 575 |
"programs. Or avoid it altogether: use I<getpwuid(geteuid())> instead, if " |
| 576 |
"that is what you meant. B<Do not use> B<cuserid>()." |
| 577 |
msgstr "" |
| 578 |
|
| 579 |
#. type: SH |
| 580 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 581 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 582 |
#, no-wrap |
| 583 |
msgid "SEE ALSO" |
| 584 |
msgstr "" |
| 585 |
|
| 586 |
#. type: Plain text |
| 587 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 588 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 589 |
msgid "B<logname>(1), B<geteuid>(2), B<getuid>(2), B<utmp>(5)" |
| 590 |
msgstr "" |
| 591 |
|
| 592 |
#. type: TH |
| 593 |
#: debian-trixie |
| 594 |
#, no-wrap |
| 595 |
msgid "2024-06-15" |
| 596 |
msgstr "" |
| 597 |
|
| 598 |
#. type: TH |
| 599 |
#: debian-trixie |
| 600 |
#, no-wrap |
| 601 |
msgid "Linux man-pages 6.9.1" |
| 602 |
msgstr "" |
| 603 |
|
| 604 |
#. type: Plain text |
| 605 |
#: debian-trixie |
| 606 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 607 |
msgstr "" |
| 608 |
|
| 609 |
#. type: Plain text |
| 610 |
#: debian-trixie fedora-44 fedora-rawhide |
| 611 |
#, no-wrap |
| 612 |
msgid "" |
| 613 |
"B<char *getlogin(void);>\n" |
| 614 |
"B<int getlogin_r(char >I<buf>B<[.>I<bufsize>B<], size_t >I<bufsize>B<);>\n" |
| 615 |
msgstr "" |
| 616 |
|
| 617 |
#. type: TH |
| 618 |
#: fedora-44 fedora-rawhide |
| 619 |
#, no-wrap |
| 620 |
msgid "2024-07-23" |
| 621 |
msgstr "" |
| 622 |
|
| 623 |
#. type: TH |
| 624 |
#: fedora-44 fedora-rawhide |
| 625 |
#, no-wrap |
| 626 |
msgid "Linux man-pages 6.13" |
| 627 |
msgstr "" |
| 628 |
|
| 629 |
#. type: TH |
| 630 |
#: mageia-cauldron |
| 631 |
#, no-wrap |
| 632 |
msgid "Linux man-pages 6.17" |
| 633 |
msgstr "" |
| 634 |
|
| 635 |
#. type: TH |
| 636 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 637 |
#, no-wrap |
| 638 |
msgid "Linux man-pages (unreleased)" |
| 639 |
msgstr "" |