When invoked as a shell builtin, pids lists one or more of the calling process ids determined by
getpid(2),getppid(2),getpgrp(2),tcgetpgrp(2) and
getsid(2). Unknown or invalid ids have the value -1.
List the ids specified by format. format follows
printf(3) conventions, except that
sfio(3) inline ids are used instead of arguments: %[-+][width[.precis
[.base]]](id)char. The supported ids are: