X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=original%2Fman2%2Funlink.2;fp=original%2Fman2%2Funlink.2;h=da337ad38acdc38ea0d22cc1cb5904536bb0a280;hb=5a6975a34ce39b00428a2442e0615f3b41e0bb3f;hp=7557684d954e01de1104bd4f5375e70502af8e24;hpb=770ab0aeba6ab2cb25b451b079afbcf5837938d6;p=linuxjm%2FLDP_man-pages.git diff --git a/original/man2/unlink.2 b/original/man2/unlink.2 index 7557684d..da337ad3 100644 --- a/original/man2/unlink.2 +++ b/original/man2/unlink.2 @@ -30,7 +30,7 @@ .\" Modified 2001-05-17 by aeb .\" Modified 2004-06-23 by Michael Kerrisk .\" -.TH UNLINK 2 2014-02-21 "Linux" "Linux Programmer's Manual" +.TH UNLINK 2 2014-08-19 "Linux" "Linux Programmer's Manual" .SH NAME unlink, unlinkat \- delete a name and possibly the file it refers to .SH SYNOPSIS @@ -278,6 +278,22 @@ SVr4, 4.3BSD, POSIX.1-2001, POSIX.1-2008. .BR unlinkat (): POSIX.1-2008. +.SH NOTES +.SS Glibc notes +On older kernels where +.BR unlinkat () +is unavailable, the glibc wrapper function falls back to the use of +.BR unlink (2) +or +.BR rmdir (2). +When +.I pathname +is a relative pathname, +glibc constructs a pathname based on the symbolic link in +.IR /proc/self/fd +that corresponds to the +.IR dirfd +argument. .SH BUGS Infelicities in the protocol underlying NFS can cause the unexpected disappearance of files which are still being used. @@ -294,7 +310,7 @@ disappearance of files which are still being used. .BR path_resolution (7), .BR symlink (7) .SH COLOPHON -This page is part of release 3.68 of the Linux +This page is part of release 3.75 of the Linux .I man-pages project. A description of the project,