aboutsummaryrefslogtreecommitdiffstats
path: root/getpgrp.1
blob: 17b0c00e9d50a3822ac32d402e1bcd5dec172322 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
.TH GETPGRP 1 getpgrp

.SH NAME
getpgrp - get the current process group

.SH SYNOPSIS
.B getpgrp

.SH DESCRIPTION
The
.B getpgrp
utility prints the identifier of the
current process group to the standard output.

.SH OPTIONS
The
.B getpgrp
utility conforms to the Base Definitions volume of POSIX.1-2017,
.IR "Section 12.2" ,
.IR "Utility Syntax Guidelines" .
.PP
No options are supported.

.SH OPERANDS
No operands are supported.

.SH STDIN
Not used.

.SH INPUT FILES
None.

.SH ENVIRONMENT VARIABLES
No environment variables affects the execution of
.BR getpgrp .

.SH ASYNCHRONOUS EVENTS
Default.

.SH STDOUT
The
.B getpgrp
utility prints the identifier of it's process group
to the standard output.

.SH STDERR
The standard error is used for diagnostic messages.

.SH OUTPUT FILES
None.

.SH EXTENDED DESCRIPTION
None.

.SH EXIT STATUS
If the
.B getpgrp
exits with one of the following statuses:
.TP
0
Successful.
.TP
1
A error occurred.

.SH CONSEQUENCES OF ERRORS
Default.

.SH APPLICATION USAGE
None.

.SH EXAMPLES
None.

.SH RATIONALE
None.

.SH NOTES
None.

.SH BUGS
None.

.SH FUTURE DIRECTIONS
None.

.SH SEE ALSO
.BR getpgrp (2),
.BR setpgrp (1)