public import libc.generated.*;

alias stdin = &__iob_func()[0];
alias stdout = &__iob_func()[1];
alias stderr = &__iob_func()[2];

alias setjmp = _setjmp;
alias random = rand;

alias strtoll = _strtoi64;
alias strtoull = _strtoui64;

// these are macros

inline isnan(x:Double) : Int = Int(x != x);
inline isnanf(x:Float) : Int = Int(x != x);
