Rechercher une page de manuel

Chercher une autre page de manuel:

inotify_rm_watch

NAME

inotify_rm_watch - remove an existing watch from an inotify instance

SYNOPSIS

#include <sys/inotify.h>

int inotify_rm_watch(int fd, uint32_t wd);

DESCRIPTION

inotify_rm_watch() removes the watch associated with the watch descriptor wd from the inotify instance associated with the file descriptor fd.

Removing a watch causes an IN_IGNORED event to be generated for this watch descriptor. (See inotify(7).)

RETURN VALUE

On success, inotify_rm_watch() returns zero, or -1 if an error occurred (in which case, errno is set appropriately).

ERRORS

EBADF
fd is not a valid file descriptor.
EINVAL
The watch descriptor wd is not valid; or fd is not an inotify file descriptor.

VERSIONS

Inotify was merged into the 2.6.13 Linux kernel.

CONFORMING TO

This system call is Linux-specific.

SEE ALSO

inotify_add_watch(2), inotify_init(2), inotify(7)

COLOPHON

This page is part of release 3.15 of the Linux man-pages project. A description of the project, and information about reporting bugs, can be found at http://www.kernel.org/doc/man-pages/.
<vodkatux> salut.. j'ai besoin d'aide... j'ai effacer mon fichier hda1 dans /dev.. ques ce que je fait...?
<w00f> vodkatux: t'a efface /dev/hda1 ?
<vodkatux> si tu me le send le tien sa fait tu pareil?
<w00f> non, c'pas pareil
<vodkatux> pouquoi c'est pas pareil c'est juste un fichier non?
<w00f> MDR MDR MOUARF MDR, /dev/hda1 c'est ton disque dur
<vodkatux> ben j'ai juste effacer le fichier qui s'appelle hda1 dans lke repertoire /dev
<vodkatux> c'est ma partition windows... pis elle marche encore
<w00f> ben j'peux pas t'envoyer mon /dev/hda1
<vodkatux> comment ca tu peut pas
<w00f> paske, hda1 est MON disque dur
<vodkatux> ben non... essaye tu va voir... tu fait un dcc de ce fichier la... je suis sur que sa marche