summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2013-12-12 22:44:23 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2013-12-12 22:44:23 +0000
commit613cb2b01f63cb83ff1c33cc5005f148bde268e2 (patch)
tree8a6cd3a82bd4d5e631dfc698f8a15e97df5657ef /lib/libc
parent412cd0f5421cbe87ffc89715bd4a56ab92b8a16a (diff)
POSIX no longer requires sys/types.h be included to get the pid_t
definition, and neither do our headers. OK espie@ guenther@
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/termios/tcgetpgrp.35
-rw-r--r--lib/libc/termios/tcsetpgrp.35
2 files changed, 4 insertions, 6 deletions
diff --git a/lib/libc/termios/tcgetpgrp.3 b/lib/libc/termios/tcgetpgrp.3
index 3cf01375026..9b57241950a 100644
--- a/lib/libc/termios/tcgetpgrp.3
+++ b/lib/libc/termios/tcgetpgrp.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tcgetpgrp.3,v 1.9 2013/06/05 03:39:23 tedu Exp $
+.\" $OpenBSD: tcgetpgrp.3,v 1.10 2013/12/12 22:44:22 millert Exp $
.\"
.\" Copyright (c) 1991 The Regents of the University of California.
.\" All rights reserved.
@@ -27,14 +27,13 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: June 5 2013 $
+.Dd $Mdocdate: December 12 2013 $
.Dt TCGETPGRP 3
.Os
.Sh NAME
.Nm tcgetpgrp
.Nd get foreground process group ID
.Sh SYNOPSIS
-.In sys/types.h
.In unistd.h
.Ft pid_t
.Fn tcgetpgrp "int fd"
diff --git a/lib/libc/termios/tcsetpgrp.3 b/lib/libc/termios/tcsetpgrp.3
index 58eeacfc131..888e9a209ae 100644
--- a/lib/libc/termios/tcsetpgrp.3
+++ b/lib/libc/termios/tcsetpgrp.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tcsetpgrp.3,v 1.10 2013/06/05 03:39:23 tedu Exp $
+.\" $OpenBSD: tcsetpgrp.3,v 1.11 2013/12/12 22:44:22 millert Exp $
.\"
.\" Copyright (c) 1991 The Regents of the University of California.
.\" All rights reserved.
@@ -27,14 +27,13 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: June 5 2013 $
+.Dd $Mdocdate: December 12 2013 $
.Dt TCSETPGRP 3
.Os
.Sh NAME
.Nm tcsetpgrp
.Nd set foreground process group ID
.Sh SYNOPSIS
-.In sys/types.h
.In unistd.h
.Ft int
.Fn tcsetpgrp "int fd" "pid_t pgrp_id"