downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

inotify_init> <Fonctions Inotify
[edit] Last updated: Fri, 14 Jun 2013

view this page in

inotify_add_watch

(PECL inotify >= 0.1.2)

inotify_add_watchAjoute un point de surveillance à une instance inotify

Description

int inotify_add_watch ( resource $inotify_instance , string $pathname , int $mask )

inotify_add_watch() ajoute un point de surveillance à une instance inotify ou modifie un point de surveillnace en cours vers un nouveau fichier ou dossier spécifié par le chemin pathname.

Utiliser inotify_add_watch() sur un objet déjà en surveillance modifie la configuration. Utiliser la constante IN_MASK_ADD ajoute les événements (OR logique).

Liste de paramètres

inotify_instance

Ressource returnée par inotify_init()

pathname

Fichier ou dossier à surveiller.

mask

Événements à surveiller. Voyez Constantes pré-définies.

Valeurs de retour

La valeur retournée est un pointeur inotify unique (inotify instance wide).

Voir aussi



add a note add a note User Contributed Notes inotify_add_watch - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites