summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/realpath.3
diff options
context:
space:
mode:
authorfjoe <fjoe@FreeBSD.org>2003-03-27 20:48:53 +0000
committerfjoe <fjoe@FreeBSD.org>2003-03-27 20:48:53 +0000
commit441ddbc3265c9c70d353b0ad8e8b600fb70fc9ef (patch)
treebfe0c2e2e80d75cc3560d4fc0a107e6fc185206c /lib/libc/stdlib/realpath.3
parent23e9ae34837fd6a192a53e00cce87b98ffa8d547 (diff)
downloadFreeBSD-src-441ddbc3265c9c70d353b0ad8e8b600fb70fc9ef.zip
FreeBSD-src-441ddbc3265c9c70d353b0ad8e8b600fb70fc9ef.tar.gz
Make realpath() thread-safe. New implementation does not use chdir(2) at all.
Submitted by: Constantin S. Svintsoff <kostik (at) iclub.nsu.ru>
Diffstat (limited to 'lib/libc/stdlib/realpath.3')
-rw-r--r--lib/libc/stdlib/realpath.34
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/libc/stdlib/realpath.3 b/lib/libc/stdlib/realpath.3
index 2f84d1d..3593df7 100644
--- a/lib/libc/stdlib/realpath.3
+++ b/lib/libc/stdlib/realpath.3
@@ -99,11 +99,7 @@ The function
may fail and set the external variable
.Va errno
for any of the errors specified for the library functions
-.Xr chdir 2 ,
-.Xr close 2 ,
-.Xr fchdir 2 ,
.Xr lstat 2 ,
-.Xr open 2 ,
.Xr readlink 2
and
.Xr getcwd 3 .
OpenPOWER on IntegriCloud