.TH getpgrp() "" "" "System Call (libc)"
.PC "Get process-group identifier"
.B "#include <sys/types.h>"
.B "#include <unistd.h>"
.B "pid_t getpgrp(\|);"
.PP
.B getpgrp()
returns the identifier of the calling process's process group.
It always succeeds.
.SH "See Also"
.Xr "libc," libc
.Xr "types.h," types.h
.Xr "unistd.h" unistd.h
.br
\*(PX Standard, \(sc4.3.1
