OSDN Git Service

(split) LDP man-pages の original/ を v3.29 に更新。
[linuxjm/LDP_man-pages.git] / original / man3 / getpt.3
index a9e1af8..2d98933 100644 (file)
@@ -2,26 +2,26 @@
 .\" 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 ()