Unix-system-calls-io-destroy

提供:Dev Guides
移動先:案内検索

[top]#

[[File:]]

[[File:]]

|Web |This Site

  • 初心者向けのUnix *
  • 高度なUnix *

選択した読書

Copyright©2014 by finddevguides

  Home     References     Discussion Forums     About TP  

io_destroy()-Unix、Linuxシステムコール

[[File:]] image :http://www.finddevguides.com/images/next.gif [next] image:http://www.finddevguides.com/add- this.gif [AddThisソーシャルブックマークボタン]

広告

NAME

io_destroy-非同期I/Oコンテキストを破棄する

概要

  1. include <libaio.h>

Tag

説明

int* io_destroy *(io_context_t ctx);

説明

*io_destroy* ()は、I/Oコンテキストのリストから非同期I/Oコンテキストを削除してから破棄します。 *io_destroy* ()は、_ctx_で未処理の非同期I/Oアクションをキャンセルし、完了時にブロックすることもできます。

返り値

*io_destroy* ()は成功すると0を返します。

エラー

Tag Description
EINVAL The AIO context specified by ctx is invalid.
EFAULT The context pointed to is invalid.
ENOSYS io_destroy() is not implemented on this architecture.

準拠

*io_destroy* ()はLinux固有であり、移植性を意図したプログラムでは使用しないでください。

バージョン

非同期I/Oシステムコールは、2002年8月にLinux 2.5で初めて登場しました。

関連項目

*io_setup* (2)、 *io_submit* (2)、 *io_getevents* (2)、 *io_cancel* (2)。

ノート

非同期I/OシステムコールはBenjamin LaHaiseによって作成されました。

著者

ケント・ヨーダー。 [[File:]] image :http://www.finddevguides.com/images/next.gif [next] [[File:]]

広告

  
Advertisements