Table of Contents
- gcc >= 9.4.0
- gfortran >= 9.4.0
- cmake >= 3.9
- Clone the repo
git clone https://github.com/yymmt742/utf8f
- Build fortran library
mkdir build && cd build cmake .. make install
program main
use fsys
implicit none
print*, isatty() ! T if OUTPUT_UNIT is tty.
end program main
The following suboruotines are available.
Interface | Retrun value | Arguments | Description |
---|---|---|---|
function isatty(unit) | logical | unit (integer, optional) | Returns .true. if unit is TTY. If unit is not INPUT_UNIT, OUTPUT_UNIT, or ERROR_UNIT, .false. is always returned. |
subroutine sleep(sec) | sec (real, double precision) | Sleep the process. | |
subroutine winsize(x, y) | x, y (integer) | Get console size. |
Distributed under the MIT License. See LICENSE
for more information.
YYMMT742 - yymmt@kuchem.kyoto-u.ac.jp