Unix-system-calls-inotify-init

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

[top]#

|http://www.google.com/[Google] | a|

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

選択した読書

Copyright©2014 by finddevguides

[cols=",,,,,,,",]

| |  Home   | |  References   | |  Discussion Forums   | |  About TP  

[width="100%",cols="100%",]

a| == inotify_init()-Unix、Linuxシステムコール

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

広告

NAME

inotify_init-inotifyインスタンスを初期化する

概要

  • #include <sys/inotify.h> *
  • int inotify_init(void)*

説明

*inotify_init* ()は、新しいinotifyインスタンスを初期化し、新しいinotifyイベントキューに関連付けられたファイル記述子を返します。

返り値

成功すると、 inotify_init ()は新しいファイル記述子を返します。エラーが発生した場合は-1を返します(この場合、_errno_は適切に設定されます)。

エラー

Tag Description
EMFILE The user limit on the total number of inotify instances has been reached.
ENFILE The system limit on the total number of file descriptors has been reached.
ENOMEM Insufficient kernel memory is available.

歴史

Inotifyは2.6.13 Linuxカーネルに統合されました。

準拠

このシステムコールはLinux固有です。

関連項目

[[File:]] image :http://www.finddevguides.com/images/next.gif [next] [[File:]]

広告

|  

[cols="^",]

|Advertisements