Man page - updwtmp(3)

Packages contains this manual

Available languages:

en fr es ja ru ro

Manual

updwtmp

NOM
BIBLIOTHÈQUE
SYNOPSIS
DESCRIPTION
FICHIERS
ATTRIBUTS
VERSIONS
STANDARDS
HISTORIQUE
VOIR AUSSI
TRADUCTION

NOM

updwtmp, logwtmp - Ajouter une entrée dans le fichier wtmp

BIBLIOTHÈQUE

Bibliothùque d’utilitaires systùme ( libutil , -lutil )

SYNOPSIS

#include <utmp.h>

void updwtmp(const char * wtmp_file , const struct utmp * ut );
void logwtmp(const char *
ligne , const char * nom , const char * hĂŽte );

DESCRIPTION

updwtmp () ajoute une structure utmp ut dans le fichier wtmp.

logwtmp () construit une structure utmp en utilisant les valeurs ligne , nom , hĂŽte , l’heure actuelle et le numĂ©ro de processus appelant. Ensuite, il appelle updwtmp () pour ajouter cette structure au fichier wtmp.

FICHIERS

/var/log/wtmp

base de données des connexions passées.

ATTRIBUTS

Pour une explication des termes utilisés dans cette section, consulter attributes (7).

Image grohtml-3873634-1.png

VERSIONS

Pour cohérence avec les autres fonctions « utmpx » (consultez getutxent (3)), la glibc fournit (depuis la glibc 2.1) :

#define _GNU_SOURCE /* Consultez feature_test_macros(7) */
#include <utmpx.h>
void updwtmpx (const char *
wtmpx_file , const struct utmpx * utx );

Cette fonction effectue les mĂȘmes tĂąches que updwtmp (), mais en diffĂšre en ce qu’elle prend une structure utmpx comme dernier paramĂštre.

STANDARDS

Aucun.

HISTORIQUE

Solaris, NetBSD.

VOIR AUSSI

getutxent (3), wtmp (5)

TRADUCTION

La traduction française de cette page de manuel a été créée par Christophe Blaess <https://www.blaess.fr/christophe/>, Stéphan Rafin <stephan.rafin@laposte.net>, Thierry Vignaud <tvignaud@mandriva.com>, François Micaux, Alain Portal <aportal@univ-montp2.fr>, Jean-Philippe Guérard <fevrier@tigreraye.org>, Jean-Luc Coulon (f5ibh) <jean-luc.coulon@wanadoo.fr>, Julien Cristau <jcristau@debian.org>, Thomas Huriaux <thomas.huriaux@gmail.com>, Nicolas François <nicolas.francois@centraliens.net>, Florentin Duneau <fduneau@gmail.com>, Simon Paillard <simon.paillard@resel.enst-bretagne.fr>, Denis Barbier <barbier@debian.org>, David Prévot <david@tilapin.org>, Jean-Baptiste Holcroft <jean-baptiste@holcroft.fr> et Grégoire Scano <gregoire.scano@malloc.fr>

Cette traduction est une documentation libre ; veuillez vous reporter à la GNU General Public License version 3 concernant les conditions de copie et de distribution. Il n’y a aucune RESPONSABILITÉ LÉGALE.

Si vous découvrez un bogue dans la traduction de cette page de manuel, veuillez envoyer un message à debian-l10n-french@lists.debian.org .