Are realpath() portability concerns obsolete? Are realpath() portability concerns obsolete? unix unix

Are realpath() portability concerns obsolete?


realpath(path, NULL) works on recent releases of at least the following systems:

  • Darwin
  • DragonFly BSD
  • FreeBSD
  • Haiku
  • Linux/glibc
  • Linux/musl
  • Minix
  • NetBSD
  • OpenBSD
  • Solaris (OmniOS)


According to the Gnulib documentation, the Gnulib developers last saw this issue on

  • Mac OS X 10.5 (end of support in 2011),
  • FreeBSD 6.4 (end of support in 2010),
  • OpenBSD 4.4 (end of support in 2009),
  • Solaris 10 (end of support in 2024).