.\" -*- coding: UTF-8 -*-
'\" t
.\" Copyright 2001 Andries Brouwer <aeb@cwi.nl>.
.\"
.\" SPDX-License-Identifier: Linux-man-pages-copyleft
.\"
.\"*******************************************************************
.\"
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
.TH fseeko 3 "15 décembre 2022" "Pages du manuel de Linux 6.03" 
.SH NOM
fseeko, ftello \- Définir ou consulter la position d'un fichier
.SH BIBLIOTHÈQUE
Bibliothèque C standard (\fIlibc\fP, \fI\-lc\fP)
.SH SYNOPSIS
.nf
\fB#include <stdio.h>\fP
.PP
\fBint fseeko(FILE *\fP\fIstream\fP\fB, off_t \fP\fIoffset\fP\fB, int \fP\fIwhence\fP\fB);\fP
\fBoff_t ftello(FILE *\fP\fIstream\fP\fB);\fP
.fi
.PP
.RS -4
Exigences de macros de test de fonctionnalités pour la glibc (consulter
\fBfeature_test_macros\fP(7))\ :
.RE
.PP
\fBfseeko\fP(), \fBftello\fP()\ :
.nf
    _FILE_OFFSET_BITS == 64 || _POSIX_C_SOURCE >= 200112L
.fi
.SH DESCRIPTION
Les fonctions \fBfseeko\fP() et \fBftello\fP() sont respectivement identiques à
\fBfseek\fP(3) et \fBftell\fP(3), (consultez \fBfseek\fP(3)), excepté que l'argument
\fIoffset\fP de \fBfseeko\fP() et le code de retour de \fBftello\fP() sont du type
\fIoff_t\fP et non \fIlong\fP.
.PP
Sur certaines architectures, à la fois \fIoff_t\fP et \fIlong\fP sont de type 32\ bits, mais en définissant \fB_FILE_OFFSET_BITS\fP à la valeur\ 64 (avant
l'inclusion de \fItout\fP fichier d'en\-tête) passera \fIoff_t\fP en type 64\ bits.
.SH "VALEUR RENVOYÉE"
Sans erreur, la fonction \fBfseeko\fP() renvoie 0, alors que la fonction
\fBftello\fP() renvoie la valeur du décalage actuel. Sinon \-1 est renvoyé et
\fIerrno\fP est défini pour indiquer l'erreur.
.SH ERREURS
Consultez la section ERREURS de \fBfseek\fP(3).
.SH VERSIONS
Ces fonctions sont disponibles depuis la glibc 2.1.
.SH ATTRIBUTS
Pour une explication des termes utilisés dans cette section, consulter
\fBattributes\fP(7).
.ad l
.nh
.TS
allbox;
lbx lb lb
l l l.
Interface	Attribut	Valeur
T{
\fBfseeko\fP(),
\fBftello\fP()
T}	Sécurité des threads	MT\-Safe
.TE
.hy
.ad
.sp 1
.SH STANDARDS
POSIX.1\-2001, POSIX.1\-2008, SUSv2.
.SH NOTES
La déclaration de ces fonction peut également être obtenu en définissant la
macro de test de fonctionnalité \fB_LARGEFILE_SOURCE\fP qui est oboslète.
.SH "VOIR AUSSI"
\fBfseek\fP(3)
.PP
.SH 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>
et
Frédéric Hantrais <fhantrais@gmail.com>
.
.PP
Cette traduction est une documentation libre ; veuillez vous reporter à la
.UR https://www.gnu.org/licenses/gpl-3.0.html
GNU General Public License version 3
.UE
concernant les conditions de copie et 
de distribution. Il n'y a aucune RESPONSABILITÉ LÉGALE.
.PP
Si vous découvrez un bogue dans la traduction de cette page de manuel, 
veuillez envoyer un message à
.MT debian-l10n-french@lists.debian.org
.ME .