UA ANSI C Server Professional
1.4.2.297
|
Macros | |
#define | UASERVER_SUCCESS 0 |
The operation succeeded. | |
#define | UASERVER_EEXIST EEXIST |
Directory already exists. | |
#define | UASERVER_ENOENT ENOENT |
One of the path components was not found. | |
#define | UASERVER_EACCES EACCES |
Access is denied. | |
#define | UASERVER_EFAIL EFAULT |
Generic error code. | |
Functions | |
OpcUa_Int | UaServer_Mkdir (const OpcUa_CharA *a_Pathname) |
Create a directory. More... | |
OpcUa_Int | UaServer_MkPath (const char *szPath) |
Create a directory and its parent directories if needed. More... | |
char * | UaServer_DirName (char *szPath) |
Returns the directory name of szPath which is the string up to, but not including, the final '/'. More... | |
char * | UaServer_BaseName (char *szPath) |
Returns the string component following the final '/' of szPath. More... | |
char * UaServer_BaseName | ( | char * | szPath | ) |
Returns the string component following the final '/' of szPath.
This function may modify szPath, so it may be desirable to pass a copy when calling this function.
char * UaServer_DirName | ( | char * | szPath | ) |
Returns the directory name of szPath which is the string up to, but not including, the final '/'.
This function may modify szPath, so it may be desirable to pass a copy when calling this function. If szPath does not contain a '/' the string '.' will be returned.
OpcUa_Int UaServer_Mkdir | ( | const OpcUa_CharA * | a_Pathname | ) |
Create a directory.
a_Pathname | The name of the directory to create. |
OpcUa_Int UaServer_MkPath | ( | const char * | szPath | ) |
Create a directory and its parent directories if needed.
szPath | The name of the directory to create. |