Skip to content

erl_isatty - Erlang NIF wrapper for unix 'int isatty(int)'

License

Notifications You must be signed in to change notification settings

cvik/erl_isatty

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

erl_isatty - Erlang NIF wrapper for unix 'int isatty(int)'

Spec

-spec isatty(FD::integer()) -> boolean().

Will crash with badarg if FD is not integer() between -2 bsl 30 and +2 bsl 30-1.

Example usage

erl_isatty:isatty(1). % -> true

License

Apache license version 2.0. See the LICENSE file for details.

About

erl_isatty - Erlang NIF wrapper for unix 'int isatty(int)'

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published