symlink ¶POSIX specification:
https://pubs.opengroup.org/onlinepubs/9799919799/functions/symlink.html
Portability problems fixed by Gnulib:
symlink(value,"name/") mistakenly creates a
symlink:
macOS 14, FreeBSD 7.2, AIX 7.1, Solaris 9.
EPERM:
mingw, MSVC 14.
Portability problems not fixed by Gnulib:
ENOENT as GNU/Linux does:
FreeBSD 14.0, NetBSD 10.0, OpenBSD 7.8, Solaris 11.4.
On Solaris, the empty symbolic link "" resolves like "." does;
on the other operating systems, resolution fails with ENOENT.