Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Changeset 3058

Show
Ignore:
Timestamp:
12/20/07 10:41:03 (1 year ago)
Author:
sean
Message:

Added missing W_OK def and a few others for darwin. This closes #824

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/tango/stdc/posix/unistd.d

    r2392 r3058  
    397397    } 
    398398} 
     399else version( darwin ) 
     400{ 
     401    const F_OK          = 0; 
     402    const R_OK          = 4; 
     403    const W_OK          = 2; 
     404    const X_OK          = 1; 
     405 
     406    const F_ULOCK       = 0; 
     407    const F_LOCK        = 1; 
     408    const F_TLOCK       = 2; 
     409    const F_TEST        = 3; 
     410} 
    399411 
    400412//