diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2007-07-06 15:42:05 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2007-07-06 15:42:05 +0000 |
commit | 5243547f56e8dc6a80662ebdea91d5aa49e827be (patch) | |
tree | 5f19adf4a78ce6fc59bae9b3dc9208a5a60e678d /lib | |
parent | ed47678f0cebff531edb306637854798e77feeef (diff) |
Reference limits.h, not sys/param.h since we document using PATH_MAX
OK otto@
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/stdlib/realpath.3 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/stdlib/realpath.3 b/lib/libc/stdlib/realpath.3 index 5b4c197607d..c64fc3d637b 100644 --- a/lib/libc/stdlib/realpath.3 +++ b/lib/libc/stdlib/realpath.3 @@ -28,16 +28,16 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: realpath.3,v 1.14 2007/05/31 19:19:31 jmc Exp $ +.\" $OpenBSD: realpath.3,v 1.15 2007/07/06 15:42:04 millert Exp $ .\" -.Dd $Mdocdate: May 31 2007 $ +.Dd $Mdocdate: July 6 2007 $ .Dt REALPATH 3 .Os .Sh NAME .Nm realpath .Nd returns the canonicalized absolute pathname .Sh SYNOPSIS -.Fd #include <sys/param.h> +.Fd #include <limits.h> .Fd #include <stdlib.h> .Ft "char *" .Fn realpath "const char *pathname" "char resolved[PATH_MAX]" |