tcgetpgrp.3 (348238dbd42306d9fb5d89ab393b840572cfeb0f) tcgetpgrp.3 (a6d40b0ad2c51e16a8c99750d5ed6f9aea2be7d4)
1.\" Copyright (c) 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 14 unchanged lines hidden (view full) ---

23.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26.\" SUCH DAMAGE.
27.\"
28.\" @(#)tcgetpgrp.3 8.1 (Berkeley) 6/4/93
29.\" $FreeBSD$
30.\"
1.\" Copyright (c) 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 14 unchanged lines hidden (view full) ---

23.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26.\" SUCH DAMAGE.
27.\"
28.\" @(#)tcgetpgrp.3 8.1 (Berkeley) 6/4/93
29.\" $FreeBSD$
30.\"
31.Dd June 4, 1993
31.Dd November 28, 2022
32.Dt TCGETPGRP 3
33.Os
34.Sh NAME
35.Nm tcgetpgrp
36.Nd get foreground process group ID
37.Sh LIBRARY
38.Lb libc
39.Sh SYNOPSIS
32.Dt TCGETPGRP 3
33.Os
34.Sh NAME
35.Nm tcgetpgrp
36.Nd get foreground process group ID
37.Sh LIBRARY
38.Lb libc
39.Sh SYNOPSIS
40.In sys/types.h
41.In unistd.h
42.Ft pid_t
43.Fn tcgetpgrp "int fd"
44.Sh DESCRIPTION
45The
46.Fn tcgetpgrp
47function returns the value of the process group ID of the foreground
48process group associated with the terminal device.

--- 30 unchanged lines hidden ---
40.In unistd.h
41.Ft pid_t
42.Fn tcgetpgrp "int fd"
43.Sh DESCRIPTION
44The
45.Fn tcgetpgrp
46function returns the value of the process group ID of the foreground
47process group associated with the terminal device.

--- 30 unchanged lines hidden ---