aboutsummaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-02-23 15:23:30 +0100
committerMattias Andrée <maandree@kth.se>2021-02-23 15:23:30 +0100
commit6ef03dcaee546215c8e5fc15fdeac43689b63f7b (patch)
treefa1dfdf2d1122446745f60f72c9b04da7acb487a /README
parentremove dist (diff)
downloadsetpgrp-6ef03dcaee546215c8e5fc15fdeac43689b63f7b.tar.gz
setpgrp-6ef03dcaee546215c8e5fc15fdeac43689b63f7b.tar.bz2
setpgrp-6ef03dcaee546215c8e5fc15fdeac43689b63f7b.tar.xz
Change license, add man pages, misc2
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'README')
-rw-r--r--README21
1 files changed, 20 insertions, 1 deletions
diff --git a/README b/README
index 0d71dda..0294eab 100644
--- a/README
+++ b/README
@@ -1,2 +1,21 @@
-Commands providing access to the setpgrp and getpgrp system calls.
+NAME
+ setpgrp - run a process in a new process group
+ getpgrp - get the current process group
+SYNOPSIS
+ setpgrp [-e variable] [-pv] command [argument] ...
+
+ getpgrp
+
+DESCRIPTION
+ The setpgrp utility runs a command in a new process
+ group, and optionally exports that process group
+ identifier to a user-specified environment variable
+ and optionally prints that process group identifier
+ to the standard output.
+
+ The getpgrp utility prints the identifier of the
+ current process group to the standard output.
+
+SEE ALSO
+ setpgid(2), getpgrp(2)