interfacec_isattybind(C)private
integer(kind=c_int) function c_isatty(fd) result(tty) bind(c, name='isatty')
C isatty.
Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
| fd | integer(kind=c_int) | value | the file descriptor |
Result
| Name | Type | Attributes | Description |
|---|---|---|---|
| tty | integer(kind=c_int) | private |
Source
Show the code
function c_isatty(fd) bind(c, name='isatty') result(tty)
import :: c_int
integer(c_int), value :: fd !! the file descriptor
integer(c_int) :: tty
end function c_isatty