| 1 |
# French translation of manpages |
| 2 |
# This file is distributed under the same license as the manpages-l10n package. |
| 3 |
# Copyright © of this file: |
| 4 |
# Christophe Blaess <https://www.blaess.fr/christophe/>, 1996-2003. |
| 5 |
# Stéphan Rafin <[email protected]>, 2002. |
| 6 |
# Thierry Vignaud <[email protected]>, 1999, 2002. |
| 7 |
# François Micaux, 2002. |
| 8 |
# Alain Portal <[email protected]>, 2003-2008. |
| 9 |
# Jean-Philippe Guérard <[email protected]>, 2005-2006. |
| 10 |
# Jean-Luc Coulon (f5ibh) <[email protected]>, 2006-2007. |
| 11 |
# Julien Cristau <[email protected]>, 2006-2007. |
| 12 |
# Thomas Huriaux <[email protected]>, 2006-2008. |
| 13 |
# Nicolas François <[email protected]>, 2006-2008. |
| 14 |
# Florentin Duneau <[email protected]>, 2006-2010. |
| 15 |
# Simon Paillard <[email protected]>, 2006. |
| 16 |
# Denis Barbier <[email protected]>, 2006, 2010. |
| 17 |
# David Prévot <[email protected]>, 2010, 2012, 2013. |
| 18 |
# Jean-Baptiste Holcroft <[email protected]>, 2018. |
| 19 |
# Grégoire Scano <[email protected]>, 2019. |
| 20 |
msgid "" |
| 21 |
msgstr "" |
| 22 |
"Project-Id-Version: manpages-l10n 4.21.0\n" |
| 23 |
"POT-Creation-Date: 2026-06-05 06:26+0200\n" |
| 24 |
"PO-Revision-Date: 2025-05-30 09:32+0200\n" |
| 25 |
"Last-Translator: Grégoire Scano <[email protected]>\n" |
| 26 |
"Language-Team: French <[email protected]>\n" |
| 27 |
"Language: fr\n" |
| 28 |
"MIME-Version: 1.0\n" |
| 29 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 30 |
"Content-Transfer-Encoding: 8bit\n" |
| 31 |
"Plural-Forms: nplurals=2; plural=n > 1;\n" |
| 32 |
"X-Generator: Lokalize 20.12.0\n" |
| 33 |
|
| 34 |
#. type: TH |
| 35 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 36 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 37 |
#, no-wrap |
| 38 |
msgid "getutent" |
| 39 |
msgstr "getutent" |
| 40 |
|
| 41 |
#. type: TH |
| 42 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 43 |
#: opensuse-tumbleweed |
| 44 |
#, no-wrap |
| 45 |
msgid "2026-02-08" |
| 46 |
msgstr "8 février 2026" |
| 47 |
|
| 48 |
#. type: TH |
| 49 |
#: archlinux debian-unstable |
| 50 |
#, no-wrap |
| 51 |
msgid "Linux man-pages 6.18" |
| 52 |
msgstr "Pages du manuel de Linux 6.18" |
| 53 |
|
| 54 |
#. type: SH |
| 55 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 56 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 57 |
#, no-wrap |
| 58 |
msgid "NAME" |
| 59 |
msgstr "NOM" |
| 60 |
|
| 61 |
#. type: Plain text |
| 62 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 63 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 64 |
msgid "" |
| 65 |
"getutent, getutid, getutline, pututline, setutent, endutent, utmpname - " |
| 66 |
"access utmp file entries" |
| 67 |
msgstr "" |
| 68 |
"getutent, getutid, getutline, pututline, setutent, endutent, utmpname - " |
| 69 |
"Accéder aux enregistrements utmp" |
| 70 |
|
| 71 |
#. type: SH |
| 72 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 73 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 74 |
#, no-wrap |
| 75 |
msgid "LIBRARY" |
| 76 |
msgstr "BIBLIOTHÈQUE" |
| 77 |
|
| 78 |
#. type: Plain text |
| 79 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 80 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 81 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 82 |
msgstr "Bibliothèque C standard (I<libc>,\\ I<-lc>)" |
| 83 |
|
| 84 |
#. type: SH |
| 85 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 86 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 87 |
#, no-wrap |
| 88 |
msgid "SYNOPSIS" |
| 89 |
msgstr "SYNOPSIS" |
| 90 |
|
| 91 |
#. type: Plain text |
| 92 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 93 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 94 |
#, no-wrap |
| 95 |
msgid "B<#include E<lt>utmp.hE<gt>>\n" |
| 96 |
msgstr "B<#include E<lt>utmp.hE<gt>>\n" |
| 97 |
|
| 98 |
#. type: Plain text |
| 99 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 100 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 101 |
#, no-wrap |
| 102 |
msgid "" |
| 103 |
"B<struct utmp *getutent(void);>\n" |
| 104 |
"B<struct utmp *getutid(const struct utmp *>I<ut>B<);>\n" |
| 105 |
"B<struct utmp *getutline(const struct utmp *>I<ut>B<);>\n" |
| 106 |
msgstr "" |
| 107 |
"B<struct utmp *getutent(void);>\n" |
| 108 |
"B<struct utmp *getutid(const struct utmp *>I<ut>B<);>\n" |
| 109 |
"B<struct utmp *getutline(const struct utmp *>I<ut>B<);>\n" |
| 110 |
|
| 111 |
#. type: Plain text |
| 112 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 113 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 114 |
#, no-wrap |
| 115 |
msgid "B<struct utmp *pututline(const struct utmp *>I<ut>B<);>\n" |
| 116 |
msgstr "B<struct utmp *pututline(const struct utmp *>I<ut>B<);>\n" |
| 117 |
|
| 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 "" |
| 123 |
"B<void setutent(void);>\n" |
| 124 |
"B<void endutent(void);>\n" |
| 125 |
msgstr "" |
| 126 |
"B<void setutent(void);>\n" |
| 127 |
"B<void endutent(void);>\n" |
| 128 |
|
| 129 |
#. type: Plain text |
| 130 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 131 |
#: opensuse-tumbleweed |
| 132 |
#, fuzzy, no-wrap |
| 133 |
#| msgid "B<int utmpname(const char *>I<file>B<);>\n" |
| 134 |
msgid "B<int utmpname(const char *>I<path>B<);>\n" |
| 135 |
msgstr "B<int utmpname(const char *>I<file>B<);>\n" |
| 136 |
|
| 137 |
#. type: SH |
| 138 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 139 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 140 |
#, no-wrap |
| 141 |
msgid "DESCRIPTION" |
| 142 |
msgstr "DESCRIPTION" |
| 143 |
|
| 144 |
#. type: Plain text |
| 145 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 146 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 147 |
msgid "" |
| 148 |
"New applications should use the POSIX.1-specified \"utmpx\" versions of " |
| 149 |
"these functions; see STANDARDS." |
| 150 |
msgstr "" |
| 151 |
"Les nouvelles applications devraient utiliser les versions «\\ utmpx\\ » " |
| 152 |
"spécifiées par POSIX.1 de ces fonctions\\ ; voir STANDARDS." |
| 153 |
|
| 154 |
#. type: Plain text |
| 155 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 156 |
#: opensuse-tumbleweed |
| 157 |
#, fuzzy |
| 158 |
#| msgid "" |
| 159 |
#| "B<utmpname>() sets the name of the utmp-format file for the other utmp " |
| 160 |
#| "functions to access. If B<utmpname>() is not used to set the filename " |
| 161 |
#| "before the other functions are used, they assume B<_PATH_UTMP>, as " |
| 162 |
#| "defined in I<E<lt>paths.hE<gt>>." |
| 163 |
msgid "" |
| 164 |
"B<utmpname>() sets the pathname of the utmp-format file for the other utmp " |
| 165 |
"functions to access. If B<utmpname>() is not used to set the pathname " |
| 166 |
"before the other functions are used, they assume B<_PATH_UTMP>, as defined " |
| 167 |
"in I<E<lt>paths.hE<gt>>." |
| 168 |
msgstr "" |
| 169 |
"B<utmpname>() indique le nom du fichier au format utmp à utiliser avec les " |
| 170 |
"autres fonctions. Si B<utmpname>() n'est pas appelé avant les autres " |
| 171 |
"fonctions, elles utiliseront le fichier B<_PATH_UTMP>, défini dans " |
| 172 |
"I<E<lt>paths.hE<gt>>." |
| 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 "" |
| 178 |
"B<setutent>() rewinds the file pointer to the beginning of the utmp file. " |
| 179 |
"It is generally a good idea to call it before any of the other functions." |
| 180 |
msgstr "" |
| 181 |
"B<setutent>() ramène le pointeur au début du fichier utmp. Il est " |
| 182 |
"généralement conseillé d'appeler cette fonction au début du programme." |
| 183 |
|
| 184 |
#. type: Plain text |
| 185 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 186 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 187 |
msgid "" |
| 188 |
"B<endutent>() closes the utmp file. It should be called when the user code " |
| 189 |
"is done accessing the file with the other functions." |
| 190 |
msgstr "" |
| 191 |
"B<endutent>() ferme le fichier utmp. Ceci devrait être appelé une fois que " |
| 192 |
"le programme a terminé ses accès au fichier." |
| 193 |
|
| 194 |
#. type: Plain text |
| 195 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 196 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 197 |
msgid "" |
| 198 |
"B<getutent>() reads a line from the current file position in the utmp " |
| 199 |
"file. It returns a pointer to a structure containing the fields of the " |
| 200 |
"line. The definition of this structure is shown in B<utmp>(5)." |
| 201 |
msgstr "" |
| 202 |
"B<getutent>() lit une ligne du fichier utmp, à la position courante. Elle " |
| 203 |
"renvoie un pointeur sur une structure contenant les divers champs de la " |
| 204 |
"ligne. La définition de cette structure peut être consultée dans B<utmp>(5)." |
| 205 |
|
| 206 |
#. type: Plain text |
| 207 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 208 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 209 |
msgid "" |
| 210 |
"B<getutid>() searches forward from the current file position in the utmp " |
| 211 |
"file based upon I<ut>. If I<ut-E<gt>ut_type> is one of B<RUN_LVL>, " |
| 212 |
"B<BOOT_TIME>, B<NEW_TIME>, or B<OLD_TIME>, B<getutid>() will find the first " |
| 213 |
"entry whose I<ut_type> field matches I<ut-E<gt>ut_type>. If I<ut-" |
| 214 |
"E<gt>ut_type> is one of B<INIT_PROCESS>, B<LOGIN_PROCESS>, B<USER_PROCESS>, " |
| 215 |
"or B<DEAD_PROCESS>, B<getutid>() will find the first entry whose I<ut_id> " |
| 216 |
"field matches I<ut-E<gt>ut_id>." |
| 217 |
msgstr "" |
| 218 |
"B<getutid>() effectue une recherche dans le fichier utmp, à partir de la " |
| 219 |
"position courante, en se basant sur I<ut>. Si I<ut-E<gt>ut_type> vaut " |
| 220 |
"B<RUN_LVL>, B<BOOT_TIME>, B<NEW_TIME>, ou B<OLD_TIME>, B<getutid>() " |
| 221 |
"recherchera le premier enregistrement dont le champ I<ut_type> correspond à " |
| 222 |
"I<ut-E<gt>ut_type>. Si I<ut-E<gt>ut_type> vaut B<INIT_PROCESS>, " |
| 223 |
"B<LOGIN_PROCESS>, B<USER_PROCESS>, ou B<DEAD_PROCESS>, B<getutid>() " |
| 224 |
"recherchera le premier enregistrement dont le champ I<ut_id> correspond à " |
| 225 |
"I<ut-E<gt>ut_id>." |
| 226 |
|
| 227 |
#. type: Plain text |
| 228 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 229 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 230 |
msgid "" |
| 231 |
"B<getutline>() searches forward from the current file position in the utmp " |
| 232 |
"file. It scans entries whose I<ut_type> is B<USER_PROCESS> or " |
| 233 |
"B<LOGIN_PROCESS> and returns the first one whose I<ut_line> field matches " |
| 234 |
"I<ut-E<gt>ut_line>." |
| 235 |
msgstr "" |
| 236 |
"B<getutline>() effectue une recherche dans le fichier utmp, à partir de la " |
| 237 |
"position courante. Elle examine les enregistrements dont le champ I<ut_type> " |
| 238 |
"est B<USER_PROCESS> ou B<LOGIN_PROCESS> et renvoie le premier dont le champ " |
| 239 |
"I<ut_line> correspond à I<ut-E<gt>ut_line>." |
| 240 |
|
| 241 |
#. type: Plain text |
| 242 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 243 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 244 |
msgid "" |
| 245 |
"B<pututline>() writes the I<utmp> structure I<ut> into the utmp file. It " |
| 246 |
"uses B<getutid>() to search for the proper place in the file to insert the " |
| 247 |
"new entry. If it cannot find an appropriate slot for I<ut>, B<pututline>() " |
| 248 |
"will append the new entry to the end of the file." |
| 249 |
msgstr "" |
| 250 |
"B<pututline>() écrit la structure I<utmp> I<ut> dans le fichier utmp. Elle " |
| 251 |
"utilise B<getutid>() pour rechercher l'emplacement ou insérer le nouvel " |
| 252 |
"enregistrement. Si elle ne trouve pas d'emplacement approprié pour I<ut>, " |
| 253 |
"B<pututline>() ajoutera le nouvel enregistrement à la fin du fichier." |
| 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 "RETURN VALUE" |
| 260 |
msgstr "VALEUR RENVOYÉE" |
| 261 |
|
| 262 |
#. type: Plain text |
| 263 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 264 |
#: opensuse-tumbleweed |
| 265 |
#, fuzzy |
| 266 |
#| msgid "" |
| 267 |
#| "B<getutent>(), B<getutid>(), and B<getutline>() return a pointer to a " |
| 268 |
#| "I<struct utmp> on success, and NULL on failure (which includes the " |
| 269 |
#| "\"record not found\" case). This I<struct utmp> is allocated in static " |
| 270 |
#| "storage, and may be overwritten by subsequent calls." |
| 271 |
msgid "" |
| 272 |
"B<getutent>(), B<getutid>(), and B<getutline>() return a pointer to a " |
| 273 |
"I<struct\\ utmp> on success, and NULL on failure (which includes the " |
| 274 |
"\"record not found\" case). This I<struct\\ utmp> is allocated in static " |
| 275 |
"storage, and may be overwritten by subsequent calls." |
| 276 |
msgstr "" |
| 277 |
"B<getutent>(), B<getutid>() et B<getutline>() renvoient un pointeur sur une " |
| 278 |
"structure I<utmp>, ou NULL en cas d'erreur (ce qui inclut le cas «\\ pas " |
| 279 |
"d'enregistrement trouvé\\ »). Cette structure I<utmp> est allouée " |
| 280 |
"statiquement, et peut être écrasée par des appels successifs." |
| 281 |
|
| 282 |
#. type: Plain text |
| 283 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 284 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 285 |
msgid "On success B<pututline>() returns I<ut>; on failure, it returns NULL." |
| 286 |
msgstr "" |
| 287 |
"Si elle réussit, B<pututline>() renvoie I<ut> ; si elle échoue, elle renvoie " |
| 288 |
"NULL." |
| 289 |
|
| 290 |
#. type: Plain text |
| 291 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 292 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 293 |
msgid "" |
| 294 |
"B<utmpname>() returns 0 if the new name was successfully stored, or -1 on " |
| 295 |
"failure." |
| 296 |
msgstr "" |
| 297 |
"B<utmpname>() renvoie B<0> si le nouveau nom a été correctement enregistré, " |
| 298 |
"ou B<-1> si elle échoue." |
| 299 |
|
| 300 |
#. type: Plain text |
| 301 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 302 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 303 |
msgid "On failure, these functions I<errno> set to indicate the error." |
| 304 |
msgstr "" |
| 305 |
"En cas d'échec, ces fonctions définissent I<errno> pour indiquer l'erreur." |
| 306 |
|
| 307 |
#. type: SH |
| 308 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 309 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 310 |
#, no-wrap |
| 311 |
msgid "ERRORS" |
| 312 |
msgstr "ERREURS" |
| 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 "B<ENOMEM>" |
| 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 "Out of memory." |
| 325 |
msgstr "Plus assez de mémoire." |
| 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<ESRCH>" |
| 332 |
msgstr "B<ESRCH>" |
| 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 "Record not found." |
| 338 |
msgstr "Enregistrement non trouvé." |
| 339 |
|
| 340 |
#. type: Plain text |
| 341 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 342 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 343 |
msgid "" |
| 344 |
"B<setutent>(), B<pututline>(), and the B<getut*>() functions can also fail " |
| 345 |
"for the reasons described in B<open>(2)." |
| 346 |
msgstr "" |
| 347 |
"B<setutent>(), B<pututline>() et les fonctions B<getut*>() peuvent également " |
| 348 |
"échouer pour les raisons décrites dans B<open>(2)." |
| 349 |
|
| 350 |
#. type: SH |
| 351 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 352 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 353 |
#, no-wrap |
| 354 |
msgid "FILES" |
| 355 |
msgstr "FICHIERS" |
| 356 |
|
| 357 |
#. type: TP |
| 358 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 359 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 360 |
#, no-wrap |
| 361 |
msgid "I</var/run/utmp>" |
| 362 |
msgstr "I</var/run/utmp>" |
| 363 |
|
| 364 |
#. type: Plain text |
| 365 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 366 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 367 |
msgid "database of currently logged-in users" |
| 368 |
msgstr "base de données des utilisateurs actuellement connectés" |
| 369 |
|
| 370 |
#. type: TP |
| 371 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 372 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 373 |
#, no-wrap |
| 374 |
msgid "I</var/log/wtmp>" |
| 375 |
msgstr "I</var/log/wtmp>" |
| 376 |
|
| 377 |
#. type: Plain text |
| 378 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 379 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 380 |
msgid "database of past user logins" |
| 381 |
msgstr "base de données des connexions passées." |
| 382 |
|
| 383 |
#. type: SH |
| 384 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 385 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 386 |
#, no-wrap |
| 387 |
msgid "ATTRIBUTES" |
| 388 |
msgstr "ATTRIBUTS" |
| 389 |
|
| 390 |
#. type: Plain text |
| 391 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 392 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 393 |
msgid "" |
| 394 |
"For an explanation of the terms used in this section, see B<attributes>(7)." |
| 395 |
msgstr "" |
| 396 |
"Pour une explication des termes utilisés dans cette section, consulter " |
| 397 |
"B<attributes>(7)." |
| 398 |
|
| 399 |
#. type: tbl table |
| 400 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 401 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 402 |
#, no-wrap |
| 403 |
msgid "Interface" |
| 404 |
msgstr "Interface" |
| 405 |
|
| 406 |
#. type: tbl table |
| 407 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 408 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 409 |
#, no-wrap |
| 410 |
msgid "Attribute" |
| 411 |
msgstr "Attribut" |
| 412 |
|
| 413 |
#. type: tbl table |
| 414 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 415 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 416 |
#, no-wrap |
| 417 |
msgid "Value" |
| 418 |
msgstr "Valeur" |
| 419 |
|
| 420 |
#. type: tbl table |
| 421 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 422 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 423 |
#, no-wrap |
| 424 |
msgid ".na\n" |
| 425 |
msgstr ".na\n" |
| 426 |
|
| 427 |
#. type: tbl table |
| 428 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 429 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 430 |
#, no-wrap |
| 431 |
msgid ".nh\n" |
| 432 |
msgstr ".nh\n" |
| 433 |
|
| 434 |
#. type: tbl table |
| 435 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 436 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 437 |
#, no-wrap |
| 438 |
msgid "B<getutent>()" |
| 439 |
msgstr "B<getutent>()" |
| 440 |
|
| 441 |
#. type: tbl table |
| 442 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 443 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 444 |
#, no-wrap |
| 445 |
msgid "Thread safety" |
| 446 |
msgstr "Sécurité des threads" |
| 447 |
|
| 448 |
#. type: tbl table |
| 449 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 450 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 451 |
#, no-wrap |
| 452 |
msgid "" |
| 453 |
"MT-Unsafe init race:utent\n" |
| 454 |
"race:utentbuf sig:ALRM timer" |
| 455 |
msgstr "" |
| 456 |
"MT-Unsafe init race:utent\n" |
| 457 |
"race:utentbuf sig:ALRM timer" |
| 458 |
|
| 459 |
#. type: tbl table |
| 460 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 461 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 462 |
#, no-wrap |
| 463 |
msgid "" |
| 464 |
"B<getutid>(),\n" |
| 465 |
"B<getutline>()" |
| 466 |
msgstr "" |
| 467 |
"B<getutid>(),\n" |
| 468 |
"B<getutline>()" |
| 469 |
|
| 470 |
#. type: tbl table |
| 471 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 472 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 473 |
#, no-wrap |
| 474 |
msgid "" |
| 475 |
"MT-Unsafe init race:utent\n" |
| 476 |
"sig:ALRM timer" |
| 477 |
msgstr "" |
| 478 |
"MT-Unsafe init race:utent\n" |
| 479 |
"sig:ALRM timer" |
| 480 |
|
| 481 |
#. type: tbl table |
| 482 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 483 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 484 |
#, no-wrap |
| 485 |
msgid "B<pututline>()" |
| 486 |
msgstr "B<pututline>()" |
| 487 |
|
| 488 |
#. type: tbl table |
| 489 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 490 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 491 |
#, no-wrap |
| 492 |
msgid "" |
| 493 |
"MT-Unsafe race:utent\n" |
| 494 |
"sig:ALRM timer" |
| 495 |
msgstr "" |
| 496 |
"MT-Unsafe race:utent\n" |
| 497 |
"sig:ALRM timer" |
| 498 |
|
| 499 |
#. type: tbl table |
| 500 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 501 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 502 |
#, no-wrap |
| 503 |
msgid "" |
| 504 |
"B<setutent>(),\n" |
| 505 |
"B<endutent>(),\n" |
| 506 |
"B<utmpname>()" |
| 507 |
msgstr "" |
| 508 |
"B<setutent>(),\n" |
| 509 |
"B<endutent>(),\n" |
| 510 |
"B<utmpname>()" |
| 511 |
|
| 512 |
#. type: tbl table |
| 513 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 514 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 515 |
#, no-wrap |
| 516 |
msgid "MT-Unsafe race:utent" |
| 517 |
msgstr "MT-Unsafe race:utent" |
| 518 |
|
| 519 |
#. type: Plain text |
| 520 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 521 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 522 |
msgid "" |
| 523 |
"In the above table, I<utent> in I<race:utent> signifies that if any of the " |
| 524 |
"functions B<setutent>(), B<getutent>(), B<getutid>(), B<getutline>(), " |
| 525 |
"B<pututline>(), B<utmpname>(), or B<endutent>() are used in parallel in " |
| 526 |
"different threads of a program, then data races could occur." |
| 527 |
msgstr "" |
| 528 |
"Dans la table ci-dessus, I<utent> dans I<race:utent> veut dire que si une " |
| 529 |
"des fonctions B<setutent>(), B<getutent>(), B<getutid>(), B<getutline>(), " |
| 530 |
"B<pututline>(), B<utmpname>() ou B<endutent>() est utilisée en parallèle " |
| 531 |
"dans différents fils d'exécution (thread) d'un programme, alors des " |
| 532 |
"situations de concurrences de données peuvent se produire." |
| 533 |
|
| 534 |
#. type: SH |
| 535 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 536 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 537 |
#, no-wrap |
| 538 |
msgid "STANDARDS" |
| 539 |
msgstr "NORMES" |
| 540 |
|
| 541 |
#. type: Plain text |
| 542 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 543 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 544 |
msgid "None." |
| 545 |
msgstr "Aucun." |
| 546 |
|
| 547 |
#. type: SH |
| 548 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 549 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 550 |
#, no-wrap |
| 551 |
msgid "HISTORY" |
| 552 |
msgstr "HISTORIQUE" |
| 553 |
|
| 554 |
#. type: Plain text |
| 555 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 556 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 557 |
msgid "XPG2, SVr4." |
| 558 |
msgstr "XPG2, SVr4." |
| 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 |
"In XPG2 and SVID 2 the function B<pututline>() is documented to return " |
| 565 |
"void, and that is what it does on many systems (AIX, HP-UX). HP-UX " |
| 566 |
"introduces a new function B<_pututline>() with the prototype given above " |
| 567 |
"for B<pututline>()." |
| 568 |
msgstr "" |
| 569 |
"Dans XPG2 et SVID 2, la fonction B<pututline>() est décrite comme renvoyant " |
| 570 |
"« void », et c'est le cas sur de nombreux systèmes (AIX, HP-UX). HP-UX " |
| 571 |
"introduit une nouvelle fonction B<_pututline>() avec le prototype fourni " |
| 572 |
"plus haut pour B<pututline>()." |
| 573 |
|
| 574 |
#. type: Plain text |
| 575 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 576 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 577 |
msgid "" |
| 578 |
"All these functions are obsolete now on non-Linux systems. POSIX.1-2001 and " |
| 579 |
"POSIX.1-2008, following SUSv1, does not have any of these functions, but " |
| 580 |
"instead uses" |
| 581 |
msgstr "" |
| 582 |
"Toutes ces fonctions sont maintenant obsolètes sur les systèmes non Linux. " |
| 583 |
"POSIX.1-2001 et POSIX.1-2008, suivant SUSv1, ne proposent aucune de ces " |
| 584 |
"fonctions, mais utilisent plutôt" |
| 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 |
#, no-wrap |
| 590 |
msgid "B<#include E<lt>utmpx.hE<gt>>\n" |
| 591 |
msgstr "B<#include E<lt>utmpx.hE<gt>>\n" |
| 592 |
|
| 593 |
#. type: Plain text |
| 594 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 595 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 596 |
#, no-wrap |
| 597 |
msgid "" |
| 598 |
"B<struct utmpx *getutxent(void);>\n" |
| 599 |
"B<struct utmpx *getutxid(const struct utmpx *);>\n" |
| 600 |
"B<struct utmpx *getutxline(const struct utmpx *);>\n" |
| 601 |
"B<struct utmpx *pututxline(const struct utmpx *);>\n" |
| 602 |
"B<void setutxent(void);>\n" |
| 603 |
"B<void endutxent(void);>\n" |
| 604 |
msgstr "" |
| 605 |
"B<struct utmpx *getutxent(void);>\n" |
| 606 |
"B<struct utmpx *getutxid(const struct utmpx *);>\n" |
| 607 |
"B<struct utmpx *getutxline(const struct utmpx *);>\n" |
| 608 |
"B<struct utmpx *pututxline(const struct utmpx *);>\n" |
| 609 |
"B<void setutxent(void);>\n" |
| 610 |
"B<void endutxent(void);>\n" |
| 611 |
|
| 612 |
#. type: Plain text |
| 613 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 614 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 615 |
msgid "" |
| 616 |
"These functions are provided by glibc, and perform the same task as their " |
| 617 |
"equivalents without the \"x\", but use I<struct utmpx>, defined on Linux to " |
| 618 |
"be the same as I<struct utmp>. For completeness, glibc also provides " |
| 619 |
"B<utmpxname>(), although this function is not specified by POSIX.1." |
| 620 |
msgstr "" |
| 621 |
"Ces fonctions sont fournies par la glibc et effectuent les mêmes tâches que " |
| 622 |
"leurs équivalents sans le «\\ x\\ » mais utilisent une structure I<utmpx>, " |
| 623 |
"définie sous Linux pour être identique à la structure I<utmp>. Pour être " |
| 624 |
"complet, la glibc fournit également B<utmpxname>(), bien que cette fonction " |
| 625 |
"ne soit pas spécifiée par POSIX.1." |
| 626 |
|
| 627 |
#. type: Plain text |
| 628 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 629 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 630 |
msgid "" |
| 631 |
"On some other systems, the I<utmpx> structure is a superset of the I<utmp> " |
| 632 |
"structure, with additional fields, and larger versions of the existing " |
| 633 |
"fields, and parallel files are maintained, often I</var/*/utmpx> and I</var/" |
| 634 |
"*/wtmpx>." |
| 635 |
msgstr "" |
| 636 |
"Sur quelques autres systèmes, la structure I<utmpx> est un surensemble de la " |
| 637 |
"structure I<utmp>, avec des champs supplémentaires, et des versions plus " |
| 638 |
"grandes des champs existants, et des fichiers sont maintenus en parallèle, " |
| 639 |
"souvent I</var/*/utmpx> et I</var/*/wtmpx>." |
| 640 |
|
| 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 |
"Linux glibc on the other hand does not use a parallel I<utmpx> file since " |
| 646 |
"its I<utmp> structure is already large enough. The \"x\" functions listed " |
| 647 |
"above are just aliases for their counterparts without the \"x\" (e.g., " |
| 648 |
"B<getutxent>() is an alias for B<getutent>())." |
| 649 |
msgstr "" |
| 650 |
"D'un autre côté, la glibc sous Linux n'utilise pas de fichier I<utmpx> en " |
| 651 |
"parallèle car sa structure I<utmp> est déjà assez grande. Les fonctions " |
| 652 |
"contenant un « x » listées ci-dessus sont simplement des alias des fonctions " |
| 653 |
"sans le « x » (par exemple, B<getutxent>() est un alias de B<getutent>())." |
| 654 |
|
| 655 |
#. type: SH |
| 656 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 657 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 658 |
#, no-wrap |
| 659 |
msgid "NOTES" |
| 660 |
msgstr "NOTES" |
| 661 |
|
| 662 |
#. type: SS |
| 663 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 664 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 665 |
#, no-wrap |
| 666 |
msgid "glibc notes" |
| 667 |
msgstr "Notes de la glibc" |
| 668 |
|
| 669 |
#. type: Plain text |
| 670 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 671 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 672 |
msgid "The above functions are not thread-safe. glibc adds reentrant versions" |
| 673 |
msgstr "" |
| 674 |
"Les fonctions ci-dessus ne sont pas sûres dans un contexte de thread. La " |
| 675 |
"glibc ajoute les versions réentrantes." |
| 676 |
|
| 677 |
#. type: Plain text |
| 678 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 679 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 680 |
#, no-wrap |
| 681 |
msgid "" |
| 682 |
"B<int getutent_r(struct utmp *>I<ubuf>B<, struct utmp **>I<ubufp>B<);>\n" |
| 683 |
"B<int getutid_r(struct utmp *>I<ut>B<,>\n" |
| 684 |
"B< struct utmp *>I<ubuf>B<, struct utmp **>I<ubufp>B<);>\n" |
| 685 |
"B<int getutline_r(struct utmp *>I<ut>B<,>\n" |
| 686 |
"B< struct utmp *>I<ubuf>B<, struct utmp **>I<ubufp>B<);>\n" |
| 687 |
msgstr "" |
| 688 |
"B<int getutent_r(struct utmp *>I<ubuf>B<, struct utmp **>I<ubufp>B<);>\n" |
| 689 |
"B<int getutid_r(struct utmp *>I<ut>B<,>\n" |
| 690 |
"B< struct utmp *>I<ubuf>B<, struct utmp **>I<ubufp>B<);>\n" |
| 691 |
"B<int getutline_r(struct utmp *>I<ut>B<,>\n" |
| 692 |
"B< struct utmp *>I<ubuf>B<, struct utmp **>I<ubufp>B<);>\n" |
| 693 |
|
| 694 |
#. type: Plain text |
| 695 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 696 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 697 |
msgid "" |
| 698 |
"Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):" |
| 699 |
msgstr "" |
| 700 |
"Exigences de macros de test de fonctionnalités pour la glibc (consulter " |
| 701 |
"B<feature_test_macros>(7)) :" |
| 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 |
msgid "B<getutent_r>(), B<getutid_r>(), B<getutline_r>():" |
| 707 |
msgstr "B<getutent_r>(), B<getutid_r>(), B<getutline_r>() :" |
| 708 |
|
| 709 |
#. type: Plain text |
| 710 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 711 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 712 |
#, no-wrap |
| 713 |
msgid "" |
| 714 |
" _GNU_SOURCE\n" |
| 715 |
" || /* Since glibc 2.19: */ _DEFAULT_SOURCE\n" |
| 716 |
" || /* glibc E<lt>= 2.19: */ _SVID_SOURCE || _BSD_SOURCE\n" |
| 717 |
msgstr "" |
| 718 |
" _GNU_SOURCE\n" |
| 719 |
" || /* depuis la glibc 2.19 : */ _DEFAULT_SOURCE\n" |
| 720 |
" || /* glibc E<lt>= 2.19 : */ _SVID_SOURCE || _BSD_SOURCE\n" |
| 721 |
|
| 722 |
#. type: Plain text |
| 723 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 724 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 725 |
msgid "" |
| 726 |
"These functions are GNU extensions, analogs of the functions of the same " |
| 727 |
"name without the _r suffix. The I<ubuf> argument gives these functions a " |
| 728 |
"place to store their result. On success, they return 0, and a pointer to " |
| 729 |
"the result is written in I<*ubufp>. On error, these functions return -1. " |
| 730 |
"There are no utmpx equivalents of the above functions. (POSIX.1 does not " |
| 731 |
"specify such functions.)" |
| 732 |
msgstr "" |
| 733 |
"Ces fonctions sont des extensions GNU, analogues aux fonctions de même nom " |
| 734 |
"sans le suffixe «\\ _r\\ ». Le paramètre I<ubuf> fournit à ces fonctions un " |
| 735 |
"endroit où stocker leur résultat. Si elles réussissent, elles renvoient B<0> " |
| 736 |
"et un pointeur vers le résultat est écrit dans I<*ubufp>. Si elles échouent, " |
| 737 |
"ces fonctions renvoient B<-1>. Il n'y a pas d'équivalent «\\ utmpx\\ » aux " |
| 738 |
"fonctions ci-dessus. (POSIX.1 ne spécifie pas ces fonctions.)" |
| 739 |
|
| 740 |
#. type: SH |
| 741 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 742 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 743 |
#, no-wrap |
| 744 |
msgid "EXAMPLES" |
| 745 |
msgstr "EXEMPLES" |
| 746 |
|
| 747 |
#. type: Plain text |
| 748 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 749 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 750 |
msgid "" |
| 751 |
"The following example adds and removes a utmp record, assuming it is run " |
| 752 |
"from within a pseudo terminal. For usage in a real application, you should " |
| 753 |
"check the return values of B<getpwuid>(3) and B<ttyname>(3)." |
| 754 |
msgstr "" |
| 755 |
"L'exemple suivant ajoute et retire un enregistrement utmp, en supposant " |
| 756 |
"qu'il est invoqué depuis un pseudoterminal. Dans une véritable application, " |
| 757 |
"il faudrait vérifier les valeurs renvoyées par B<getpwuid>(3) et " |
| 758 |
"B<ttyname>(3)." |
| 759 |
|
| 760 |
#. type: Plain text |
| 761 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 762 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 763 |
#, no-wrap |
| 764 |
msgid "" |
| 765 |
"#include E<lt>err.hE<gt>\n" |
| 766 |
"#include E<lt>pwd.hE<gt>\n" |
| 767 |
"#include E<lt>stdlib.hE<gt>\n" |
| 768 |
"#include E<lt>string.hE<gt>\n" |
| 769 |
"#include E<lt>time.hE<gt>\n" |
| 770 |
"#include E<lt>unistd.hE<gt>\n" |
| 771 |
"#include E<lt>utmp.hE<gt>\n" |
| 772 |
"\\&\n" |
| 773 |
"int\n" |
| 774 |
"main(void)\n" |
| 775 |
"{\n" |
| 776 |
" struct utmp entry;\n" |
| 777 |
"\\&\n" |
| 778 |
" if (system(\"echo before adding entry:;who\") == -1)\n" |
| 779 |
" err(EXIT_FAILURE, \"system\");\n" |
| 780 |
"\\&\n" |
| 781 |
" entry.ut_type = USER_PROCESS;\n" |
| 782 |
" entry.ut_pid = getpid();\n" |
| 783 |
" strcpy(entry.ut_line, ttyname(STDIN_FILENO) + strlen(\"/dev/\"));\n" |
| 784 |
" /* only correct for ptys named /dev/tty[pqr][0-9a-z] */\n" |
| 785 |
" strcpy(entry.ut_id, ttyname(STDIN_FILENO) + strlen(\"/dev/tty\"));\n" |
| 786 |
" entry.ut_time = time(NULL);\n" |
| 787 |
" strcpy(entry.ut_user, getpwuid(getuid())-E<gt>pw_name);\n" |
| 788 |
" memset(entry.ut_host, 0, UT_HOSTSIZE);\n" |
| 789 |
" entry.ut_addr = 0;\n" |
| 790 |
" setutent();\n" |
| 791 |
" if (pututline(&entry) == NULL)\n" |
| 792 |
" err(EXIT_FAILURE, \"pututline\");\n" |
| 793 |
"\\&\n" |
| 794 |
" if (system(\"echo after adding entry:;who\") == -1)\n" |
| 795 |
" err(EXIT_FAILURE, \"system\");\n" |
| 796 |
"\\&\n" |
| 797 |
" entry.ut_type = DEAD_PROCESS;\n" |
| 798 |
" memset(entry.ut_line, 0, UT_LINESIZE);\n" |
| 799 |
" entry.ut_time = 0;\n" |
| 800 |
" memset(entry.ut_user, 0, UT_NAMESIZE);\n" |
| 801 |
" setutent();\n" |
| 802 |
" if (pututline(&entry) == NULL)\n" |
| 803 |
" err(EXIT_FAILURE, \"pututline\");\n" |
| 804 |
"\\&\n" |
| 805 |
" if (system(\"echo after removing entry:;who\") == -1)\n" |
| 806 |
" err(EXIT_FAILURE, \"system\");\n" |
| 807 |
"\\&\n" |
| 808 |
" endutent();\n" |
| 809 |
" exit(EXIT_SUCCESS);\n" |
| 810 |
"}\n" |
| 811 |
msgstr "" |
| 812 |
"#include E<lt>err.hE<gt>\n" |
| 813 |
"#include E<lt>pwd.hE<gt>\n" |
| 814 |
"#include E<lt>stdlib.hE<gt>\n" |
| 815 |
"#include E<lt>string.hE<gt>\n" |
| 816 |
"#include E<lt>time.hE<gt>\n" |
| 817 |
"#include E<lt>unistd.hE<gt>\n" |
| 818 |
"#include E<lt>utmp.hE<gt>\n" |
| 819 |
"\\&\n" |
| 820 |
"int\n" |
| 821 |
"main(void)\n" |
| 822 |
"{\n" |
| 823 |
" struct utmp entry;\n" |
| 824 |
"\\&\n" |
| 825 |
" err(EXIT_FAILURE, \"system\");\n" |
| 826 |
" if (system(\"echo avant l'ajout d'une entrée :;who\") == -1)\n" |
| 827 |
" err(EXIT_FAILURE, \"system\");\n" |
| 828 |
"\\&\n" |
| 829 |
" entry.ut_type = USER_PROCESS;\n" |
| 830 |
" entry.ut_pid = getpid();\n" |
| 831 |
" strcpy(entry.ut_line, ttyname(STDIN_FILENO) + strlen(\"/dev/\"));\n" |
| 832 |
" /* correct seulement pour les ptys nommés /dev/tty[pqr][0-9a-z] */\n" |
| 833 |
" strcpy(entry.ut_id, ttyname(STDIN_FILENO) + strlen(\"/dev/tty\"));\n" |
| 834 |
" entry.ut_time = time(NULL);\n" |
| 835 |
" strcpy(entry.ut_user, getpwuid(getuid())-E<gt>pw_name);\n" |
| 836 |
" memset(entry.ut_host, 0, UT_HOSTSIZE);\n" |
| 837 |
" entry.ut_addr = 0;\n" |
| 838 |
" setutent();\n" |
| 839 |
" if (pututline(&entry) == NULL)\n" |
| 840 |
" err(EXIT_FAILURE, \"pututline\");\n" |
| 841 |
"\\&\n" |
| 842 |
" if (system(\"echo après l'ajout d'une entrée :;who\") == NULL)\n" |
| 843 |
" err(EXIT_FAILURE, \"system\");\n" |
| 844 |
"\\&\n" |
| 845 |
" entry.ut_type = DEAD_PROCESS;\n" |
| 846 |
" memset(entry.ut_line, 0, UT_LINESIZE);\n" |
| 847 |
" entry.ut_time = 0;\n" |
| 848 |
" memset(entry.ut_user, 0, UT_NAMESIZE);\n" |
| 849 |
" setutent();\n" |
| 850 |
" if (pututline(&entry) == NULL)\n" |
| 851 |
" err(EXIT_FAILURE, \"pututline\");\n" |
| 852 |
"\\&\n" |
| 853 |
" if (system(\"echo après le retrait d'une entrée:;who\") == -1)\n" |
| 854 |
" err(EXIT_FAILURE, \"system\");\n" |
| 855 |
"\\&\n" |
| 856 |
" endutent();\n" |
| 857 |
" exit(EXIT_SUCCESS);\n" |
| 858 |
"}\n" |
| 859 |
|
| 860 |
#. SRC END |
| 861 |
#. type: SH |
| 862 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 863 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 864 |
#, no-wrap |
| 865 |
msgid "SEE ALSO" |
| 866 |
msgstr "VOIR AUSSI" |
| 867 |
|
| 868 |
#. type: Plain text |
| 869 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 870 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 871 |
msgid "B<getutmp>(3), B<utmp>(5)" |
| 872 |
msgstr "B<getutmp>(3), B<utmp>(5)" |
| 873 |
|
| 874 |
#. type: TH |
| 875 |
#: debian-trixie |
| 876 |
#, no-wrap |
| 877 |
msgid "2024-05-02" |
| 878 |
msgstr "2 mai 2024" |
| 879 |
|
| 880 |
#. type: TH |
| 881 |
#: debian-trixie |
| 882 |
#, no-wrap |
| 883 |
msgid "Linux man-pages 6.9.1" |
| 884 |
msgstr "Pages du manuel de Linux 6.9.1" |
| 885 |
|
| 886 |
#. type: Plain text |
| 887 |
#: debian-trixie |
| 888 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 889 |
msgstr "Bibliothèque C standard (I<libc>, I<-lc>)" |
| 890 |
|
| 891 |
#. type: Plain text |
| 892 |
#: debian-trixie fedora-44 fedora-rawhide |
| 893 |
#, no-wrap |
| 894 |
msgid "B<int utmpname(const char *>I<file>B<);>\n" |
| 895 |
msgstr "B<int utmpname(const char *>I<file>B<);>\n" |
| 896 |
|
| 897 |
#. type: Plain text |
| 898 |
#: debian-trixie fedora-44 fedora-rawhide |
| 899 |
msgid "" |
| 900 |
"B<utmpname>() sets the name of the utmp-format file for the other utmp " |
| 901 |
"functions to access. If B<utmpname>() is not used to set the filename " |
| 902 |
"before the other functions are used, they assume B<_PATH_UTMP>, as defined " |
| 903 |
"in I<E<lt>paths.hE<gt>>." |
| 904 |
msgstr "" |
| 905 |
"B<utmpname>() indique le nom du fichier au format utmp à utiliser avec les " |
| 906 |
"autres fonctions. Si B<utmpname>() n'est pas appelé avant les autres " |
| 907 |
"fonctions, elles utiliseront le fichier B<_PATH_UTMP>, défini dans " |
| 908 |
"I<E<lt>paths.hE<gt>>." |
| 909 |
|
| 910 |
#. type: Plain text |
| 911 |
#: debian-trixie fedora-44 fedora-rawhide |
| 912 |
msgid "" |
| 913 |
"B<getutent>(), B<getutid>(), and B<getutline>() return a pointer to a " |
| 914 |
"I<struct utmp> on success, and NULL on failure (which includes the \"record " |
| 915 |
"not found\" case). This I<struct utmp> is allocated in static storage, and " |
| 916 |
"may be overwritten by subsequent calls." |
| 917 |
msgstr "" |
| 918 |
"B<getutent>(), B<getutid>() et B<getutline>() renvoient un pointeur sur une " |
| 919 |
"structure I<utmp>, ou NULL en cas d'erreur (ce qui inclut le cas «\\ pas " |
| 920 |
"d'enregistrement trouvé\\ »). Cette structure I<utmp> est allouée " |
| 921 |
"statiquement, et peut être écrasée par des appels successifs." |
| 922 |
|
| 923 |
#. type: Plain text |
| 924 |
#: debian-trixie |
| 925 |
#, no-wrap |
| 926 |
msgid "" |
| 927 |
"#include E<lt>pwd.hE<gt>\n" |
| 928 |
"#include E<lt>stdlib.hE<gt>\n" |
| 929 |
"#include E<lt>string.hE<gt>\n" |
| 930 |
"#include E<lt>time.hE<gt>\n" |
| 931 |
"#include E<lt>unistd.hE<gt>\n" |
| 932 |
"#include E<lt>utmp.hE<gt>\n" |
| 933 |
"\\&\n" |
| 934 |
"int\n" |
| 935 |
"main(void)\n" |
| 936 |
"{\n" |
| 937 |
" struct utmp entry;\n" |
| 938 |
"\\&\n" |
| 939 |
" system(\"echo before adding entry:;who\");\n" |
| 940 |
"\\&\n" |
| 941 |
" entry.ut_type = USER_PROCESS;\n" |
| 942 |
" entry.ut_pid = getpid();\n" |
| 943 |
" strcpy(entry.ut_line, ttyname(STDIN_FILENO) + strlen(\"/dev/\"));\n" |
| 944 |
" /* only correct for ptys named /dev/tty[pqr][0-9a-z] */\n" |
| 945 |
" strcpy(entry.ut_id, ttyname(STDIN_FILENO) + strlen(\"/dev/tty\"));\n" |
| 946 |
" entry.ut_time = time(NULL);\n" |
| 947 |
" strcpy(entry.ut_user, getpwuid(getuid())-E<gt>pw_name);\n" |
| 948 |
" memset(entry.ut_host, 0, UT_HOSTSIZE);\n" |
| 949 |
" entry.ut_addr = 0;\n" |
| 950 |
" setutent();\n" |
| 951 |
" pututline(&entry);\n" |
| 952 |
"\\&\n" |
| 953 |
" system(\"echo after adding entry:;who\");\n" |
| 954 |
"\\&\n" |
| 955 |
" entry.ut_type = DEAD_PROCESS;\n" |
| 956 |
" memset(entry.ut_line, 0, UT_LINESIZE);\n" |
| 957 |
" entry.ut_time = 0;\n" |
| 958 |
" memset(entry.ut_user, 0, UT_NAMESIZE);\n" |
| 959 |
" setutent();\n" |
| 960 |
" pututline(&entry);\n" |
| 961 |
"\\&\n" |
| 962 |
" system(\"echo after removing entry:;who\");\n" |
| 963 |
"\\&\n" |
| 964 |
" endutent();\n" |
| 965 |
" exit(EXIT_SUCCESS);\n" |
| 966 |
"}\n" |
| 967 |
msgstr "" |
| 968 |
"#include E<lt>pwd.hE<gt>\n" |
| 969 |
"#include E<lt>stdlib.hE<gt>\n" |
| 970 |
"#include E<lt>string.hE<gt>\n" |
| 971 |
"#include E<lt>time.hE<gt>\n" |
| 972 |
"#include E<lt>unistd.hE<gt>\n" |
| 973 |
"#include E<lt>utmp.hE<gt>\n" |
| 974 |
"\\&\n" |
| 975 |
"int\n" |
| 976 |
"main(void)\n" |
| 977 |
"{\n" |
| 978 |
" struct utmp entry;\n" |
| 979 |
"\\&\n" |
| 980 |
" system(\"echo avant l'ajout d'une entrée :;who\");\n" |
| 981 |
"\\&\n" |
| 982 |
" entry.ut_type = USER_PROCESS;\n" |
| 983 |
" entry.ut_pid = getpid();\n" |
| 984 |
" strcpy(entry.ut_line, ttyname(STDIN_FILENO) + strlen(\"/dev/\"));\n" |
| 985 |
" /* correct seulement pour les ptys nommés /dev/tty[pqr][0-9a-z] */\n" |
| 986 |
" strcpy(entry.ut_id, ttyname(STDIN_FILENO) + strlen(\"/dev/tty\"));\n" |
| 987 |
" entry.ut_time = time(NULL);\n" |
| 988 |
" strcpy(entry.ut_user, getpwuid(getuid())-E<gt>pw_name);\n" |
| 989 |
" memset(entry.ut_host, 0, UT_HOSTSIZE);\n" |
| 990 |
" entry.ut_addr = 0;\n" |
| 991 |
" setutent();\n" |
| 992 |
" pututline(&entry);\n" |
| 993 |
"\\&\n" |
| 994 |
" system(\"echo après l'ajout d'une entrée :;who\");\n" |
| 995 |
"\\&\n" |
| 996 |
" entry.ut_type = DEAD_PROCESS;\n" |
| 997 |
" memset(entry.ut_line, 0, UT_LINESIZE);\n" |
| 998 |
" entry.ut_time = 0;\n" |
| 999 |
" memset(entry.ut_user, 0, UT_NAMESIZE);\n" |
| 1000 |
" setutent();\n" |
| 1001 |
" pututline(&entry);\n" |
| 1002 |
"\\&\n" |
| 1003 |
" system(\"echo après le retrait d'une entrée:;who\");\n" |
| 1004 |
"\\&\n" |
| 1005 |
" endutent();\n" |
| 1006 |
" exit(EXIT_SUCCESS);\n" |
| 1007 |
"}\n" |
| 1008 |
|
| 1009 |
#. type: TH |
| 1010 |
#: fedora-44 fedora-rawhide |
| 1011 |
#, no-wrap |
| 1012 |
msgid "2024-07-23" |
| 1013 |
msgstr "23 juillet 2024" |
| 1014 |
|
| 1015 |
#. type: TH |
| 1016 |
#: fedora-44 fedora-rawhide |
| 1017 |
#, no-wrap |
| 1018 |
msgid "Linux man-pages 6.13" |
| 1019 |
msgstr "Pages du manuel de Linux 6.13" |
| 1020 |
|
| 1021 |
#. type: TH |
| 1022 |
#: mageia-cauldron |
| 1023 |
#, no-wrap |
| 1024 |
msgid "Linux man-pages 6.17" |
| 1025 |
msgstr "Pages du manuel de Linux 6.17" |
| 1026 |
|
| 1027 |
#. type: TH |
| 1028 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1029 |
#, no-wrap |
| 1030 |
msgid "Linux man-pages (unreleased)" |
| 1031 |
msgstr "Pages du manuel de Linux (non publiées)" |