Chaste Commit::ca8ccdedf819b6e02855bc0e8e6f50bdecbc5208
ChasteSyscalls.hpp File Reference
#include <unistd.h>
#include <sys/stat.h>
+ Include dependency graph for ChasteSyscalls.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define CHASTE_READONLY   0444
 
#define CHASTE_READ_EXECUTE   0555
 
#define CHASTE_READ_WRITE   0640
 
#define CHASTE_READ_WRITE_EXECUTE   0755
 

Detailed Description

This file provides access to some 'system calls' in a cross-platform manner. It provides the normal Linux names, even on Windows. Functions provided: chdir, getpid, chmod, setenv.

Definition in file ChasteSyscalls.hpp.

Macro Definition Documentation

◆ CHASTE_READ_EXECUTE

#define CHASTE_READ_EXECUTE   0555

Mode for chmod() to set read & execute permissions for everyone.

Definition at line 77 of file ChasteSyscalls.hpp.

◆ CHASTE_READ_WRITE

#define CHASTE_READ_WRITE   0640

Mode for chmod() to set read-write permissions for owner, and readonly for group.

Definition at line 79 of file ChasteSyscalls.hpp.

◆ CHASTE_READ_WRITE_EXECUTE

#define CHASTE_READ_WRITE_EXECUTE   0755

Mode for chmod() to set full permissions for owner, and read-execute for everyone else.

Definition at line 81 of file ChasteSyscalls.hpp.

◆ CHASTE_READONLY

#define CHASTE_READONLY   0444

Mode for chmod() to set readonly permissions for everyone.

Definition at line 75 of file ChasteSyscalls.hpp.