]> git.saurik.com Git - apple/libc.git/blobdiff - stdlib/FreeBSD/realpath.3
Libc-1044.40.1.tar.gz
[apple/libc.git] / stdlib / FreeBSD / realpath.3
index 3ffdf9c676bb1186dc47f438e4c887177ff581bd..bce1dae00a9aef3aec8374289227566246681509 100644 (file)
@@ -99,6 +99,16 @@ If
 .Fa resolved_name
 was non-NULL, it will
 contains the pathname which caused the problem.
+.Sh VARIANTS
+Defining 
+.Dv _DARWIN_C_SOURCE
+or
+.Dv _DARWIN_BETTER_REALPATH
+before including stdio.h will cause the provided implementation of
+.Fn realpath
+to use F_GETPATH from
+.Xr fcntl 2
+to discover the path.
 .Sh ERRORS
 The function
 .Fn realpath