#include <ShoreApp.h> shrc Shore::access(const char *path, int mode, int &error);
Mode must be one of
R_OK test for read permission W_OK test for update permission X_OK test for search or execute permission
If the operation is successful but the access indicated by mode is denied, the error code EACCES is returned in error. If an error occurs during the remote operation, error contains a value indicating what the error is. If the operation is successful and the access is permitted, error has the value 0.
Only the access bits are checked.
Only local (object cache) errors can be returned by the function, (e.g., SH_NotInitialized). An error code is returned only if the error occurred before the remote operation was attempted.
The mode F_OK is not supported.