tcgetsid() is defined in <termios.h>, not <sys/types.h> or <unistd.h>.

This commit is contained in:
leot 2019-12-19 16:12:21 +00:00
parent b8c4c0c34c
commit 4bf7b66e0f
1 changed files with 3 additions and 4 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: tcgetsid.3,v 1.5 2003/08/07 16:44:13 agc Exp $
.\" $NetBSD: tcgetsid.3,v 1.6 2019/12/19 16:12:21 leot Exp $
.\"
.\" Copyright (c) 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@ -29,7 +29,7 @@
.\"
.\" @(#)tcgetpgrp.3 8.1 (Berkeley) 6/4/93
.\"
.Dd February 13, 1998
.Dd December 19, 2019
.Dt TCGETSID 3
.Os
.Sh NAME
@ -38,8 +38,7 @@
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
.In sys/types.h
.In unistd.h
.In termios.h
.Ft pid_t
.Fn tcgetsid "int fd"
.Sh DESCRIPTION