The %getpgrp() function returns the UNIX process group ID of the calling process.
For Windows: Not Supported
var = %getpgrp()
FlashBASIC C functions overview, cfunction statement