.SH "CONFORMING TO"
4.4BSD, POSIX.1-2001.
-In 4.4BSD and Solaris the limit on the pathname length is MAXPATHLEN
+In 4.4BSD and Solaris the limit on the pathname length is
+.B MAXPATHLEN
(found in \fI<sys/param.h>\fP).
-SUSv2 prescribes PATH_MAX and
-NAME_MAX, as found in \fI<limits.h>\fP or provided by the
+SUSv2 prescribes
+.BR PATH_MAX
+and
+.BR NAME_MAX ,
+as found in \fI<limits.h>\fP or provided by the
.BR pathconf (3)
function.
A typical source fragment would be
.BR realpath ()
uses
.BR malloc (3)
-to allocate a buffer of up to PATH_MAX bytes
-to hold the resolved pathname,
+to allocate a buffer of up to
+.B PATH_MAX
+bytes to hold the resolved pathname,
and returns a pointer to this buffer.
The caller should deallocate this buffer using
.BR free (3).
feature) it is
impossible to determine a suitable size for the output buffer,
.IR resolved_path .
-According to POSIX a buffer of size PATH_MAX suffices, but
-PATH_MAX need not be a defined constant, and may have to be
-obtained using
+According to POSIX a buffer of size
+.B PATH_MAX
+suffices, but
+.B PATH_MAX
+need not be a defined constant, and may have to be obtained using
.BR pathconf (3).
And asking
.BR pathconf (3)
And on the other
hand
.BR pathconf (3)
-may return \-1 to signify that PATH_MAX is not bounded.
+may return \-1 to signify that
+.B PATH_MAX
+is not bounded.
.LP
The libc4 and libc5 implementation contains a buffer overflow
(fixed in libc-5.4.13).