diff options
| author | Mattias Andrée <m@maandree.se> | 2026-02-22 13:00:21 +0100 |
|---|---|---|
| committer | Mattias Andrée <m@maandree.se> | 2026-02-22 13:00:21 +0100 |
| commit | 2b8b7b979c4d6c8b4afbba10821cb02cc57211c3 (patch) | |
| tree | 9e5a6889b7d58148c37ce0bcd039d58af3ad4ce9 | |
| parent | Update e-mail (diff) | |
| download | setpgrp-2b8b7b979c4d6c8b4afbba10821cb02cc57211c3.tar.gz setpgrp-2b8b7b979c4d6c8b4afbba10821cb02cc57211c3.tar.bz2 setpgrp-2b8b7b979c4d6c8b4afbba10821cb02cc57211c3.tar.xz | |
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to '')
| -rw-r--r-- | config.mk | 6 | ||||
| -rw-r--r-- | getpgrp.1 | 8 | ||||
| -rw-r--r-- | setpgrp.1 | 19 |
3 files changed, 17 insertions, 16 deletions
@@ -1,8 +1,8 @@ PREFIX = /usr MANPREFIX = $(PREFIX)/share/man -CC = cc +CC = c99 CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -CFLAGS = -std=c99 -Wall -LDFLAGS = +CFLAGS = +LDFLAGS = -s @@ -31,7 +31,7 @@ Not used. None. .SH ENVIRONMENT VARIABLES -No environment variables affects the execution of +No environment variable affect the execution of .BR getpgrp . .SH ASYNCHRONOUS EVENTS @@ -40,7 +40,7 @@ Default. .SH STDOUT The .B getpgrp -utility prints the identifier of it's process group +utility prints the identifier of its process group to the standard output. .SH STDERR @@ -55,13 +55,13 @@ None. .SH EXIT STATUS If the .B getpgrp -exits with one of the following statuses: +utility exits with one of the following values: .TP 0 Successful. .TP 1 -A error occurred. +An error occurred. .SH CONSEQUENCES OF ERRORS Default. @@ -46,7 +46,7 @@ to the standard error as a normal diagnostic message. The following operands are supported: .TP .I command -The command that shall be run with as the root user. +The command to run within a new process group. This will be both the process image and the process's zeroth command line argument. .TP @@ -58,17 +58,19 @@ The .B setpgrp utility does not use the standard input, however the .I command -it starts may. +it starts may use it. .SH INPUT FILES None. .SH ENVIRONMENT VARIABLES -The following environment variables affects the execution of +The following environment variables affect the execution of .BR setpgrp : .TP -.SH PATH -Default. See to the Base Definitions volume of POSIX.1-2017, Section 8.3, Other Environment Variables. +.B PATH +Default. See the Base Definitions volume of POSIX.1-2017, +.IR "Section 8.3 ", +.IR "Other Environment Variables" . .SH ASYNCHRONOUS EVENTS Default. @@ -83,8 +85,7 @@ option is specified, however the it starts may. .SH STDERR -The standard error is used for diagnostic messages and the -password prompt. The +The standard error is used for diagnostic messages only. The .I command the .B setpgrp @@ -99,10 +100,10 @@ None. .SH EXIT STATUS If the .B setpgrp -utility fails it will exit withone of the following statuses: +utility fails it will exit withone of the following values: .TP 125 -A error occurred. +An error occurred. .TP 126 The process failed to change process image. |
