Skip to content

Commit

Permalink
[update] README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
yymmt742 committed Jun 4, 2024
1 parent a4f47b3 commit 99afedf
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,23 @@

## Usage

```fortran
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. |


<p align="right">(<a href="#readme-top">back to top</a>)</p>

<!-- LICENSE -->
Expand Down

0 comments on commit 99afedf

Please sign in to comment.