.\" Rewritten old page, 990824, aeb@cwi.nl
.\" 2004-12-14, mtk, added discussion of resolved_path == NULL
.\"
-.TH REALPATH 3 2010-09-20 "" "Linux Programmer's Manual"
+.TH REALPATH 3 2011-09-10 "" "Linux Programmer's Manual"
.SH NAME
realpath \- return the canonicalized absolute pathname
.SH SYNOPSIS
Read or search permission was denied for a component of the path prefix.
.TP
.B EINVAL
-Either
.I path
-or
-.I resolved_path
is NULL.
-(In libc5 this would just cause a segfault.)
-But, see NOTES below.
+.\" (In libc5 this would just cause a segfault.)
+(In glibc versions before 2.3,
+this error is also returned if
+.IR resolved_path
+is NULL.)
.TP
.B EIO
An I/O error occurred while reading from the file system.