-.\" Hey Emacs! This file is -*- nroff -*- source.
+.\" %%%LICENSE_START(PUBLIC_DOMAIN)
.\" This page is in the public domain. - aeb
+.\" %%%LICENSE_END
.\"
.\" 2004-12-17, mtk, added description of ptsname_r() + ERRORS
.\"
.I buflen
argument specifies the number of bytes available in
.IR buf .
-.SH "RETURN VALUE"
+.SH RETURN VALUE
On success,
.BR ptsname ()
returns a pointer to a string in static storage which will be
.SH VERSIONS
.BR ptsname ()
is provided in glibc since version 2.1.
-.SH "CONFORMING TO"
+.SH CONFORMING TO
.BR ptsname ()
is part of the UNIX 98 pseudoterminal support (see
.BR pts (4)).
.I errno
set to indicate the error.
Avoid using this function in portable programs.
-.SH "SEE ALSO"
+.SH SEE ALSO
.BR grantpt (3),
.BR posix_openpt (3),
.BR ttyname (3),