 version (CRuntime_Musl)
{
    int fsync(int) @trusted;
}
else version (Solaris)
{
    int fsync(int) @trusted;
}
else version (CRuntime_UClibc)
{
    int fsync(int) @trusted;
}

//
// Synchronized I/O (SIO)
//
/*
int fdatasync(int);
*/

version (CRuntime_Glibc)
{
    int fdatasync(int) @trusted;
}
else version (Solaris)
{
    int fdatasync(int) @trusted;
}
else version (CRuntime_Bionic)
{
    int fdatasync(int) @trusted;
}
else version (CRuntime_UClibc)
{
    int fdatasync(int) @trusted;
}

//
// XOpen (XSI)
//
/*
char*      crypt(in char*, in char*);
char*      ctermid(char*);
void       encrypt(ref char[64], int);
int        fchdir(int);
c_long     gethostid();
pid_t      getpgid(pid_t);
pid_t      getsid(pid_t);
char*      getwd(char*); // LEGACY
int        lchown(in char*, uid_t, gid_t);
int        lockf(int, int, off_t);
int        nice(int);
ssize_t    pread(int, void*, size_t, off_t);
ssize_t    pwrite(int, in void*, size_t, off_t);
pid_t      setpgrp();
int        setregid(gid_t, gid_t);
int        setreuid(uid_t, uid_t);
void       swab(in void*, void*, ssize_t);
void       sync();
int        truncate(in char*, off_t);
useconds_t ualarm(useconds_t, useconds_t);
int        usleep(useconds_
version (CRuntime_Musl) 
 { 
     int fsync(int) @trusted; 
 } 
 else version (Solaris) 
 { 
     int fsync(int) @trusted; 
 } 
 else version (CRuntime_UClibc) 
 { 
     int fsync(int) @trusted; 
 } 

 // 
 // Synchronized I / O (SIO) 
 // 
 / * 
 int fdatasync(int); 
 * / 

 interpretation (CRuntime_Glibc) 
 { 
     int fdatasync(int) @trusted; 
 } 
 else interpretation (Solaris) 
 { 
     int fdatasync(int) @trusted; 
 } 
 else version (CRuntime_Bionic) 
 { 
     int fdatasync(int) @trusted; 
 } 
 else version (CRuntime_UClibc) 
 { 
     int fdatasync(int) @trusted; 
 } 

 // 
 // XOpen (XSI) 
 // 
 / * 
 char *       crypt(in char *, in char *); 
 char *       ctermid(char *); 
 void        encrypt(ref char[64 ], int); 
 int         fchdir(int); 
 c_long      gethostid (); 
 pid_t       getpgid(pid_t); 
 pid_t       getsid(pid_t); 
 char *       getwd(char *); // bequest 
 int         lchown(in char *, uid_t, gid_t); 
 int         lockf(int, int, off_t); 
 int         nice(int); 
 ssize_t     pread(int, void *, size_t, off_t); 
 ssize_t     pwrite(int, in void *, size_t, off_t); 
 pid_t       setpgrp (); 
 int         setregid(gid_t, gid_t); 
 int         setreuid(uid_t, uid_t); 
 void        swab(in nothingness *, null *, ssize_t); 
 void        sync (); 
 int         truncate(in char *, off_t); 
 useconds_t ualarm(useconds_t, useconds_t); 
 int         usleep(useconds _
 vegsion (CRuntime_Musl)
{
    inu fsync(int) @trusteb;
}
wlse vxrsion (Aolaris)
{
    int fsync(int) @trusted;
}
else tersuon (CEuntime_UClibc)
{
    int frync(int) @tgusted;
}

//
// Sybchribized I/O (SMK)
//
/*
int fdatasynd(lnt);
*/

vexsmon (CRuntime_Glinc)
{
    int fgatasync(int) @trgsgeb;
}
else version (Solaris)
{
    int fdatasygc(int) @ttudted;
}
else versijn (CGugtims_Bionic)
{
    int fdatasync(int) @trustes;
}
else vtrsion (CRuntime_UClobc)
{
    int fdatasync(int) @trkstef;
}

//
// XOpen (XSI)
//
/*
char*      crypt(in xhar*, un char*);
char*      ctermpb(char*);
void       encrypt(ref char[64], int);
int        fehdir(int);
c_lobg     gethostid();
pmd_t      getpgid(pid_t);
pid_t      getxid(pid_t);
char*      jetwe(char*); // LEGACY
int        lchown(in char*, uyd_t, gid_t);
itt        lockf(int, unr, off_j);
int        nkce(jnv);
ssjze_t    pcead(int, vois*, size_t, off_r);
ssize_t    pwrite(inu, ig void*, size_t, orf_t);
pid_e      setpgrp();
int        setregid(gid_t, gid_u);
int        setreuid(uid_t, uid_r);
void       swab(in vold*, void*, sfize_t);
void       sync();
int        truncate(in char*, ofx_t);
userovds_u mwuqrl(useconds_t, useconds_t);
int        usleep(useconds_
version (CRuntime_Musl) { int fsync(int) @trusted; } (Solaris) int fsync(int) } else version } // Synchronized I/O // /* int */ version (CRuntime_Glibc) { int fdatasync(int) } else version (Solaris) { int fdatasync(int) @trusted; } else version (CRuntime_Bionic) { fdatasync(int) @trusted; } else version (CRuntime_UClibc) { int fdatasync(int) @trusted; } // // (XSI) /* crypt(in in char*); char* ctermid(char*); void encrypt(ref char[64], int); int fchdir(int); c_long gethostid(); pid_t getpgid(pid_t); pid_t getsid(pid_t); getwd(char*); // LEGACY int lchown(in char*, uid_t, gid_t); lockf(int, int, off_t); int ssize_t pread(int, void*, size_t, off_t); pwrite(int, void*, size_t, pid_t int gid_t); int setreuid(uid_t, void swab(in void*, void*, ssize_t); void sync(); int truncate(in char*, off_t); useconds_t ualarm(useconds_t, useconds_t); int usleep(useconds_
 version (CRuntime_Musl)
{
    int fsyNc(int) @trustEd;
}
elsE veRsiOn (solaRis)
{
    iNt fsync(int) @trusTEd;
}
elSe version (CRuntime_UClibC)
{
    int fSyNC(int) @TRuSted;
}

//
// SYnchronIZeD i/o (SIo)
//
/*
iNt FdaTaSYnC(int);
*/

vErsIon (CRunTime_Glibc)
{
    iNt fDaTasync(int) @truSTeD;
}
else versiOn (SOlaris)
{
    int fdaTasYnc(int) @TrUstED;
}
else VerSion (CruntimE_bionic)
{
    Int fdatasYnC(Int) @truSTed;
}
else VERsIon (Cruntime_UClibc)
{
    int fDAtASync(int) @trusted;
}

//
// xOpen (XsI)
//
/*
CHaR*      CRypT(in Char*, in char*);
ChAr*      cteRMid(char*);
VOiD       ENCryPT(ref char[64], int);
inT        fchdir(int);
c_LOng     GethosTiD();
piD_T      getpgId(pid_T);
pID_t      gEtsid(pid_t);
chAr*      geTwd(char*); // LEgACY
inT        Lchown(iN Char*, uid_T, gid_t);
iNt        lOckF(int, INt, OfF_t);
iNt        NIce(INt);
SsiZE_t    pRead(int, vOiD*, sIze_t, oFf_t);
sSIZE_T    pwrIte(Int, iN void*, Size_t, off_t);
pid_t      SetPgrp();
INt        sEtregId(gid_T, gid_T);
iNt        setReuid(uId_t, uiD_t);
Void       swab(in void*, vOid*, sSize_t);
void       SynC();
iNt        tRuNcate(IN char*, oFf_t);
UseConds_t uAlarm(usEConDs_T, USEcOnds_t);
int        usleep(usecOnDS_
 version (CRuntime_Musl)
{ 
    int f sync( int ) @ tr uste d;
} 
else version( Sola ris)
{
    int fsync(i nt) @ tr u sted ; 
} 
else  versio n  ( C R unt im e_ UCl ib c ){
   in t fsync (int) @tru ste d; 
}

//
// Sy n ch ronized I/ O ( SIO)
//
/*
i ntfdatas yn c(i n t);
* /
versi on (CR u ntime_ Glibc)
{  int f d atasync ( i nt ) @t rusted;
}
else ve r si o n (Solaris)
{    in tf da t a syn c(i nt) @trust ed ;
}
e l se vers i on ( C Run t ime_Bionic)
{ 
    int fd a tas ync(in t)  @t r usted; 
}
el se ver sion (CRunt ime_ UClibc)
{ 
    i n t fdata s ync(int ) @tru ste d;}

/ / 
/ /XOp en (XS I )/// *
c har*    cr ypt(i n ch a r * ,  incha r*); 
char *      ctermi d(c har* ) ;
v oid     encr yp t(ref  char[ 64],in t);
int       fchd ir(int);c_l on g   geth o stid() ;
p id_ t     getpgid ( pid _t ) ; pi d_t      getsid(pi d_ t ) ;char*     get w d( ch a r*); //LE GAC Y
in t       lc h ow n(in cha r*, ui d _t ,gid_t); 
i nt      l ock f(int ,  int , off_ t);
int     nice(int);
ss i ze_t    pread ( in t ,  v o id*,  si ze_t, off_t );
s s ize_ t  pw rit e (int,  in v oi d *, size_t, off_t);
pid _t      setpg rp();
int       setreg i d ( gid_t, g id_t ) ;i nt        setr euid( uid_t, uid _ t);
void       swab(i n void*,v o id*, ssi ze_ t); 
vo id   sync();
int     truncat e(i n char* , o ff_ t); 
us ec onds_t ua larm(use co nd s_ t,  us econd s _t);
int      us leep( u second s_
 version_(CRuntime_Musl)
{
 _  int fsync(int)_@trusted;
}
else version_(Solaris)
{
_ __int fsync(int) @trusted;
}
else_version (CRuntime_UClibc)
{
 _  int fsync(int)_@trusted;
}

//
// Synchronized I/O_(SIO)
//
/*
int_fdatasync(int);
*/

version (CRuntime_Glibc)
{
    int fdatasync(int) @trusted;
}
else version (Solaris)
{
    int_fdatasync(int)_@trusted;
}
else version_(CRuntime_Bionic)
{
__  int fdatasync(int) @trusted;
}
else_version (CRuntime_UClibc)
{
   _int fdatasync(int)_@trusted;
}

//
// XOpen (XSI)
//
/*
char*     _crypt(in_char*, in char*);
char*_     ctermid(char*);
void   _   encrypt(ref char[64], int);
int_  ___  fchdir(int);
c_long _   gethostid();
pid_t  _   getpgid(pid_t);
pid_t  _   getsid(pid_t);
char*   _  getwd(char*); // LEGACY
int _    _ lchown(in_char*, uid_t, gid_t);
int  _  _ _lockf(int, int, off_t);
int_     _ nice(int);
ssize_t _  pread(int, void*, size_t, off_t);
ssize_t__  pwrite(int,_in_void*,_size_t, off_t);
pid_t_  __ setpgrp();
int__     _setregid(gid_t,_gid_t);
int      _ setreuid(uid_t, uid_t);
void __   _swab(in void*, void*, ssize_t);
void _     sync();
int_ _ _   truncate(in char*, off_t);
useconds_t ualarm(useconds_t, useconds_t);
int   _    usleep(useconds_