Go to the documentation of this file.
36 #ifndef CHASTESYSCALLS_HPP_
37 #define CHASTESYSCALLS_HPP_
52 #define getpid _getpid
57 #define CHASTE_READONLY _S_IREAD
58 #define CHASTE_READ_EXECUTE _S_IREAD | _S_IEXEC
59 #define CHASTE_READ_WRITE _S_IREAD | _S_IWRITE
60 #define CHASTE_READ_WRITE_EXECUTE _S_IREAD | _S_IWRITE | _S_IEXEC
68 #define setenv(name, value, mode) _putenv_s(name, value)
75 #define CHASTE_READONLY 0444
77 #define CHASTE_READ_EXECUTE 0555
79 #define CHASTE_READ_WRITE 0640
81 #define CHASTE_READ_WRITE_EXECUTE 0755
85 #endif // CHASTESYSCALLS_HPP_