fn: sgnd_has_tty
Purpose
Check whether the controlling terminal is readable and writable.
Returns
- 0 when /dev/tty is accessible for both operations; 1 otherwise.
Usage
sgnd_has_tty

fn: sgnd_has_tty
Check whether the controlling terminal is readable and writable.
sgnd_has_tty