Annotation of researchv10dc/man/manb/setpgrp.2j, revision 1.1

1.1     ! root        1: .TH SETPGRP 2J
        !             2: .UC 4
        !             3: .SH NAME
        !             4: setpgrp, getpgrp \- set/get process group
        !             5: .SH SYNOPSIS
        !             6: .B int getpgrp(pid)
        !             7: .PP
        !             8: .B setpgrp(pid, pgrp)
        !             9: .PP
        !            10: .B cc ... \-ljobs
        !            11: .SH DESCRIPTION
        !            12: The process group of the specified process is returned by
        !            13: .I getpgrp.
        !            14: .I Setpgrp
        !            15: sets the process group of the specified process
        !            16: .I pid
        !            17: to the specified
        !            18: .I pgrp.
        !            19: If
        !            20: .I pid
        !            21: is zero, then the call applies to the current process.
        !            22: .PP
        !            23: If the invoker is not the super-user, then the affected process
        !            24: must have the same effective user-id as the invoker or be a descendant
        !            25: of the invoking process.
        !            26: .PP
        !            27: This call is used by
        !            28: .IR csh (1)
        !            29: to create
        !            30: process groups
        !            31: in implementing job control.
        !            32: The TIOCGPGRP and TIOCSPGRP calls
        !            33: described in
        !            34: .IR tty (4)
        !            35: are used to get/set the process group of the control terminal.
        !            36: .PP
        !            37: See
        !            38: .IR jobs (3)
        !            39: for a general discussion of job control.
        !            40: .SH "SEE ALSO"
        !            41: jobs(3), getuid(2), tty(4)
        !            42: .SH BUGS
        !            43: The job control facilities are not available in standard version 7 UNIX.
        !            44: These facilities are still under development and may change in future
        !            45: releases of the system as better inter-process communication facilities
        !            46: and support for virtual terminals become available.  The options and
        !            47: specifications of these system calls and even the calls themselves
        !            48: are thus subject to change.
        !            49: .PP
        !            50: A system call
        !            51: .I setpgrp
        !            52: has been implemented in other versions of UNIX which are not widely
        !            53: used outside of Bell Laboratories; these implementations
        !            54: have, in general, slightly different semantics.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.