Check input device is a terminal: Difference between revisions
Content deleted Content added
m →{{header|Phix}}: comment -> use new requires() builtin |
add Standard ML |
||
Line 430:
println("tty " + apply(true))
}</lang>
=={{header|Standard ML}}==
<lang sml>val stdinRefersToTerminal : bool = Posix.ProcEnv.isatty Posix.FileSys.stdin</lang>
=={{header|Tcl}}==
|