.\" This man page was written by Jeremy Phelps <jphelps@notreached.net>.
.\" Redistribute and modify at will.
.\"
-.TH GETPT 3 2008-06-14 "GNU" "Linux Programmer's Manual"
+.TH GETPT 3 2010-09-10 "GNU" "Linux Programmer's Manual"
.SH NAME
-getpt \- open the pseudo-terminal master (PTM)
+getpt \- open the pseudoterminal master (PTM)
.SH SYNOPSIS
.nf
-.B #define _GNU_SOURCE
+.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */"
.B #include <stdlib.h>
.sp
.B "int getpt(void);"
.fi
.SH DESCRIPTION
.BR getpt ()
-opens a pseudo-terminal master and returns its file descriptor.
+opens a pseudoterminal master and returns its file descriptor.
It is equivalent to
.nf
open(/dev/ptmx, O_RDWR | O_NOCTTY);
.fi
-on Linux systems, though the pseudo-terminal master is located
+on Linux systems, though the pseudoterminal master is located
elsewhere on some systems that use GNU Libc.
.SH "RETURN VALUE"
.BR getpt ()