.\" -*- coding: UTF-8 -*- .\" Copyright 2003, Free Software Foundation, Inc. .\" Copyright, the authors of the Linux man-pages project .\" .\" SPDX-License-Identifier: GPL-1.0-or-later .\" .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH io_cancel 2 "11 avril 2026" "Pages du manuel de Linux 6.18" .SH NOM io_cancel \- Annuler une opération d'entrée\-sortie asynchrone en attente .SH BIBLIOTHÈQUE Bibliothèque C standard (\fIlibc\fP,\ \fI\-lc\fP) .SH SYNOPSIS .nf \fB#include \fP /* Définition des types nécessaires */ \fB#include \fP /* Définition des contantes \fBSYS_*\fP */ \fB#include \fP .P \fBint syscall(SYS_io_cancel, aio_context_t \fP\fIctx_id\fP\fB, struct iocb *\fP\fIiocb\fP\fB,\fP \fB struct io_event *\fP\fIresult\fP\fB);\fP .fi .SH DESCRIPTION \fINote\fP: you probably want to use the \fBio_getevents\fP(3) wrapper function provided by \fIlibaio\fP; see VERSIONS. .P L'appel système \fBio_cancel\fP() essaye d'annuler l'opération d'E/S asynchrone précédemment soumise par l'appel \fBio_submit\fP(2). L'argument \fIiocb\fP décrit l'opération à annuler et l'argument \fIctx_id\fP est le contexte d'E/S asynchrone auquel l'opération a été soumise. Si l'opération est correctement annulée, l'événement sera copié dans la zone pointée par \fIresult\fP sans être placé dans la file des événements terminés. .SH "VALEUR RENVOYÉE" On success, \fBio_cancel\fP() returns 0. On error, \-1 is returned, and \fIerrno\fP is set to indicate the error. .SH ERREURS .TP \fBEAGAIN\fP L'opération \fIiocb\fP n'a pas été annulée. .TP \fBEFAULT\fP L'une des structures de données pointe sur une zone invalide. .TP \fBEINVAL\fP Le contexte indiqué par \fIctx_id\fP est invalide. .TP \fBENOSYS\fP L'appel système \fBio_cancel\fP() n'est pas implémenté sur cette architecture. .SH VERSIONS .UR https://pagure.io/libaio \fIlibaio\fP .UE provides a wrapper function with the same name, but different prototype and return value. You probably want to use that wrapper. .SH NORMES Linux. .SH HISTORIQUE Linux 2.5. .SH "VOIR AUSSI" \fBio_destroy\fP(2), \fBio_getevents\fP(2), \fBio_setup\fP(2), \fBio_submit\fP(2), \fBio_cancel\fP(3), \fBaio\fP(7) .\" .SH AUTHOR .\" Kent Yoder. .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 Jean-Philippe MENGUAL . .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 .