|
|
DataMuseum.dkPresents historical artifacts from the history of: ICL Comet 32 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about ICL Comet 32 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 1546 (0x60a)
Types: TextFile
Notes: UNIX file
Names: »setpgrp.2j«
└─⟦26887b7e0⟧ Bits:30009717 Comet 32 harddisk image
└─⟦28c352965⟧ »/a« UNIX Filesystem
└─⟦this⟧ »usr/man/man2/setpgrp.2j«
.ig @(#)setpgrp.2j 2.1 7/1/84 @(#)Copyright (C) 1983 by National Semiconductor Corp. .. .TH SETPGRP 2J .UC 4 .SH NAME setpgrp, getpgrp \- set/get process group .SH SYNOPSIS .B int getpgrp(pid) .PP .B setpgrp(pid, pgrp) .PP .B cc ... \-ljobs .SH DESCRIPTION The process group of the specified process is returned by .I getpgrp. .I Setpgrp sets the process group of the specified process .I pid to the specified .I pgrp. If .I pid is zero, the call applies to the current process. .PP If the invoker is not the super-user, the affected process must have the same effective user-id as the invoker or be a descendant of the invoking process. .PP This call is used by .IR csh (1) to create process groups in implementing job control. The TIOCGPGRP and TIOCSPGRP calls described in .IR tty (4) are used to get/set the process group of the control terminal. .PP See .IR jobs(3) for a general discussion of job control. .SH "SEE ALSO" jobs(3), getuid(2), tty(4) .SH BUGS The job control facilities are not available in standard version 7 UNIX. These facilities are still under development and may change in future releases of the system as better inter-process communication facilities and support for virtual terminals become available. The options and specifications of these system calls and even the calls themselves are thus subject to change. .PP A system call .I setpgrp has been implemented in other versions of UNIX which are not widely used outside of Bell Laboratories; these implementations have, in general, slightly different semantics.