Bash-Linux.com : Le SHELL pour les nuls

  Actuellement 50 lignes de commande et 1472 man disponibles
login as: root
root@213.186.33.18's password:
Last login: Mon Feb 13 0:38:33 2012 from 38.107.179.228
[root@bash-linux ~] # echo "Bienvenue sur Bash-Linux.com"_
 Manuel des commandes UNIX (man) Version anglaise

Indiquez la fonction :

Man Lookup_dcookie en anglais

LOOKUP_DCOOKIE(2) Linux Programmer's Manual LOOKUP_DCOOKIE(2)
 
NAME


lookup_dcookie - return a directory entry's path
 
SYNOPSIS


int lookup_dcookie(u64 cookie, char *buffer, size_t len);
 
DESCRIPTION


Look up the full path of the directory entry specified by the value cookie The cookie is an opaque identifier uniquely identifying a par- ticular directory entry. The buffer given is filled in with the full path of the directory entry. For lookup_dcookie() to return successfully, the kernel must still hold a cookie reference to the directory entry.
 
RETURN VALUE


On success, lookup_dcookie() returns the length of the path string copied into the buffer. On error, -1 is returned, and errno is set appropriately.
 
ERRORS


EFAULT The buffer was not valid. EINVAL The kernel has no registered cookie/directory entry mappings at the time of lookup, or the cookie does not refer to a valid directory entry.
 
ENAMETOOLONG


The name could not fit in the buffer. ENOMEM The kernel could not allocate memory for the temporary buffer holding the path. EPERM The process does not have the capability CAP_SYS_ADMIN required to look up cookie values. ERANGE The buffer was not large enough to hold the path of the direc- tory entry.
 
VERSIONS


Available since Linux 2.5.43. The ENAMETOOLONG error return was added in 2.5.70.
 
CONFORMING TO


lookup_dcookie() is Linux-specific.
 
NOTES


lookup_dcookie() is a special-purpose system call, currently used only by the oprofile profiler. It relies on a kernel driver to register cookies for directory entries. The path returned may be suffixed by the string " (deleted)" if the directory entry has been removed.
 
COLOPHON


This page is part of release 3.05 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/. Linux 2004-06-17 LOOKUP_DCOOKIE(2)


 Dernières recherches
Man  en anglais Man lookup_dcookie en anglaisMan  en français Man lookup_dcookie en français
Man  en anglais Man fsync en anglaisMan  en français Man fsync en français
Man  en anglais Man msync en anglaisMan  en français Man msync en français
Man  en anglais Man fread en anglaisMan  en français Man fread en français
Man  en anglais Man csqrt en anglaisMan  en français Man csqrt en français
Man  en anglais Man login en anglaisMan  en français Man login en français
Man  en anglais Man ascii en anglaisMan  en français Man ascii en français
Man  en anglais Man issue en anglaisMan  en français Man issue en français
Man  en anglais Man pthread_detach en anglaisMan  en français Man pthread_detach en français
Man  en anglais Man error en anglaisMan  en français Man error en français
Man  en anglais Man regex en anglaisMan  en français Man regex en français
Man  en anglais Man qecvt en anglaisMan  en français Man qecvt en français
Man  en anglais Man getcwd en anglaisMan  en français Man getcwd en français
Man  en anglais Man shmat en anglaisMan  en français Man shmat en français
Man  en anglais Man uname en anglaisMan  en français Man uname en français

 Recherche

Dans ce moteur de recherche, vous pouvez taper directement votre besoin, en une phrase normale, humaine.
Exemple : vous cherchez comment remplacer un mot par un autre dans tous les fichiers d'un certain dossier. Vous pouvez écrire "Comment remplacer un mot par un autre dans tous les fichiers d'un dossier". Le moteur vous ramenera les résultats en fonction de leur pertinence.
Vous pouvez bien sûr ne chercher qu'un seul mot-clé, par exemple "find".
 Toutes les lignes de code
Par popularité
Par fonction
Recherche avancée
 Les logiciels SHELL/SSH
Putty
Astuces Bash
Faire du SHELL avec PHP!
 La doc officielle
Les man Linux en français
Les man Linux en anglais
 Proposer vos bash
Partagez vos lignes!
 Les requêtes
Déposer une requête
Voir/répondre à une requête
 Quelques sites interessants
Bons sites pour apprendre
 Rechercher