What D module defines EINTR etc?

bearophile bearophileHUGS at lycos.com
Sat Dec 8 05:17:54 PST 2012


Druzhinin Alexandr:

> I port some C code that using errno. I need to check return 
> value for equality to good defined (in C) error codes like 
> EINTR. But I failed to find their definitions in D. Could 
> somebody help me with it?

This compiles:

import core.stdc.errno;
void main() {
     auto x = EINTR;
}

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list