.\" -*- coding: UTF-8 -*- .\" Copyright (c) 2003 Andries Brouwer (aeb@cwi.nl) .\" .\" %%%LICENSE_START(GPLv2+_DOC_FULL) .\" This is free documentation; you can redistribute it and/or .\" modify it under the terms of the GNU General Public License as .\" published by the Free Software Foundation; either version 2 of .\" the License, or (at your option) any later version. .\" .\" The GNU General Public License's references to "object code" .\" and "executables" are to be interpreted as the output of any .\" document formatting or typesetting system, including .\" intermediate and printed output. .\" .\" This manual is distributed in the hope that it will be useful, .\" but WITHOUT ANY WARRANTY; without even the implied warranty of .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the .\" GNU General Public License for more details. .\" .\" You should have received a copy of the GNU General Public .\" License along with this manual; if not, see .\" . .\" %%%LICENSE_END .\" .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH AIO_RETURN 3 "9 juin 2020" "" "Manuel du programmeur Linux" .SH NOM aio_return \- Récupérer l'état de retour d'une opération d'E/S asynchrone .SH SYNOPSIS \fB#include \fP .PP \fBssize_t aio_return(struct aiocb *\fP\fIaiocbp\fP\fB);\fP .PP Éditer les liens avec \fI\-lrt\fP. .SH DESCRIPTION La fonction \fBaio_return\fP() renvoie l'état de retour final d'une requête d'E/S asynchrone dont le bloc de contrôle est pointé par \fIaiocbp\fP. Consultez \fBaio\fP(7) pour une description de la structure \fIaiocb\fP. .PP Cette fonction ne devrait être appelée qu'une seule fois pour une requête donnée, après que la fonction \fBaio_error\fP(3) a renvoyé autre chose que \fBEINPROGRESS\fP. .SH "VALEUR RENVOYÉE" Si l'opération d'E/S asynchrone s'est achevée, cette fonction renvoie la valeur qui aurait été retournée dans le cas d'un appel synchrone à \fBread\fP(2), \fBwrite\fP(2), \fBfsync\fP(2) ou \fBfdatasync\fP(2). En cas d'erreur,\ \-1 est renvoyé et \fIerrno\fP est réglé en conséquence. .PP Si l'opération asynchrone d'E/S n'est pas terminée, la valeur renvoyée et l'effet de \fBaio_return\fP() est indéfini. .SH ERREURS .TP \fBEINVAL\fP \fIaiocbp\fP ne pointe pas vers un bloc de contrôle d'une requête d'E/S asynchrone pour laquelle l'état de retour n'a pas encore été récupéré. .TP \fBENOSYS\fP \fBaio_return\fP() n'est pas implémenté. .SH VERSIONS La fonction \fBaio_return\fP() est disponible depuis la glibc\ 2.1. .SH ATTRIBUTS Pour une explication des termes utilisés dans cette section, consulter \fBattributes\fP(7). .TS allbox; lb lb lb l l l. Interface Attribut Valeur T{ \fBaio_return\fP() T} Sécurité des threads MT\-Safe .TE .SH CONFORMITÉ POSIX.1\-2001, POSIX.1\-2008. .SH EXEMPLES Consultez \fBaio\fP(7). .SH "VOIR AUSSI" \fBaio_cancel\fP(3), \fBaio_error\fP(3), \fBaio_fsync\fP(3), \fBaio_read\fP(3), \fBaio_suspend\fP(3), \fBaio_write\fP(3), \fBlio_listio\fP(3), \fBaio\fP(7) .SH COLOPHON Cette page fait partie de la publication\ 5.10 du projet \fIman\-pages\fP Linux. Une description du projet et des instructions pour signaler des anomalies et la dernière version de cette page peuvent être trouvées à l'adresse \%https://www.kernel.org/doc/man\-pages/. .PP .SH TRADUCTION La traduction française de cette page de manuel a été créée par Christophe Blaess , Stéphan Rafin , Thierry Vignaud , François Micaux, Alain Portal , Jean-Philippe Guérard , Jean-Luc Coulon (f5ibh) , Julien Cristau , Thomas Huriaux , Nicolas François , Florentin Duneau , Simon Paillard , Denis Barbier , David Prévot et Thomas Vincent . .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 .