tcgetsid(3) on FreeBSD
The text af002d2c8752, as FreeBSD 13.1-RELEASE, FreeBSD 13.0-RELEASE shipped it.
get session ID associated with a controlling terminal
The text af002d2c8752, as FreeBSD 13.1-RELEASE, FreeBSD 13.0-RELEASE shipped it.
get session ID associated with a controlling terminal