Changeset 210

Show
Ignore:
Timestamp:
12/05/09 23:43:03 (5 years ago)
Author:
sean
Message:

Issue 3458 - int fsync(int) commented out in core.sys.posix.unistd
* Added fsync() for OSX, fsync() and fdatasync() for Linux.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/import/core/sys/posix/unistd.d

    r173 r210  
    466466*/ 
    467467 
     468version( linux ) 
     469{ 
     470    int fsync(int); 
     471} 
     472else version( OSX ) 
     473{ 
     474    int fsync(int); 
     475} 
     476 
    468477// 
    469478// Synchronized I/O (SIO) 
     
    472481int fdatasync(int); 
    473482*/ 
     483 
     484version( linux ) 
     485{ 
     486    int fdatasync(int);     
     487} 
    474488 
    475489// 
     
    573587    pid_t      vfork(); 
    574588} 
    575 else version (freebsd
     589else version( freebsd
    576590{ 
    577591    char*      crypt(in char*, in char*);