diff --git a/man2/lookup_dcookie.2 b/man2/lookup_dcookie.2 index 2f0559707..6c178e367 100644 --- a/man2/lookup_dcookie.2 +++ b/man2/lookup_dcookie.2 @@ -29,11 +29,18 @@ lookup_dcookie \- return a directory entry's path .SH SYNOPSIS .nf -.BI "int lookup_dcookie(uint64_t " cookie ", char *" buffer ", size_t " len ); +.BR "#include " " /* Definition of " SYS_* " constants */" +.B #include +.PP +.BI "int syscall(SYS_lookup_dcookie, uint64_t " cookie ", char *" buffer , +.BI " size_t " len ); .fi .PP .IR Note : -There is no glibc wrapper for this system call; see NOTES. +glibc provides no wrapper for +.BR lookup_dcookie (), +necessitating the use of +.BR syscall (2). .SH DESCRIPTION Look up the full path of the directory entry specified by the value .IR cookie . @@ -92,8 +99,5 @@ It relies on a kernel driver to register cookies for directory entries. .PP The path returned may be suffixed by the string " (deleted)" if the directory entry has been removed. -.PP -Glibc does not provide a wrapper for this system call; call it using -.BR syscall (2). .SH SEE ALSO .BR oprofile (1)