Browse Source

Reference limits.h, not sys/param.h since we document using PATH_MAX

OK otto@
OPENBSD_4_2
millert 17 years ago
parent
commit
85fcb3d91b
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      src/lib/libc/stdlib/realpath.3

+ 3
- 3
src/lib/libc/stdlib/realpath.3 View File

@ -28,16 +28,16 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE. .\" 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 .Dt REALPATH 3
.Os .Os
.Sh NAME .Sh NAME
.Nm realpath .Nm realpath
.Nd returns the canonicalized absolute pathname .Nd returns the canonicalized absolute pathname
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <sys/param.h>
.Fd #include <limits.h>
.Fd #include <stdlib.h> .Fd #include <stdlib.h>
.Ft "char *" .Ft "char *"
.Fn realpath "const char *pathname" "char resolved[PATH_MAX]" .Fn realpath "const char *pathname" "char resolved[PATH_MAX]"


Loading…
Cancel
Save