Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ setpgrp(2) — AIX/RT 2.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

exec: execl, execv, execle, execve, execlp, execvp

fork

getpid, getpgrp, getppid

kill

signal

setpgrp

Purpose

     Sets the process group ID.

Syntax

     int setpgrp (flag)
     int flag;

Description

     If the flag  parameter has a nonzero  value, then setpgrp
     sets the  process group ID  of the calling process  to be
     the same as its process ID and returns the new value.  If
     the flag parameter is 0, then the process group ID is not
     changed, but its value is returned.

Related Information

     In  this book:   "exec:   execl,  execv, execle,  execve,
     execlp,  execvp,"   "fork," "getpid,  getpgrp,  getppid,"
     "kill," and  "signal."

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026