Index: lib/libc/sys/open.2 =================================================================== --- lib/libc/sys/open.2 +++ lib/libc/sys/open.2 @@ -503,6 +503,21 @@ .Fn openat function was introduced in .Fx 8.0 . +.Sh STANDARDS +These functions are specified by +.St -p1003.1-2008 . +This implementation fails with +.Bq Er EMLINK +if +.Dv O_NOFOLLOW +is specified and the target is a symbolic link +instead of the +.Bq Er ELOOP +specified by +.Tn POSIX , +so that the case of too many symbolic links while translating the non-final +components of the pathname can be distinguished from the case of a symbolic +link in the final component of the pathname. .Sh BUGS The Open Group Extended API Set 2 specification requires that the test for whether