EasyManua.ls Logo

STW TC1 - 7.3.12 Utils

STW TC1
374 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
7 Teleservice Application Framework
User Manual 252/374
7.3.12 Utils
Header file: "utils.h"
7.3.12.1 utils_create_directory
Function Description
sint32 utils_create_directory (const charn * const opcn_Path, const mode_t oun_Mode)
The function creates a directory, in case the directory does not already exist.
Information Flow
Input Information
Parameter
Range
Description
opcn_Path
pointer to the name of the directory we want to
create
ocn_Mode
mode_t
S_IRUSR, S_IWUSR, S_IXUSR,
S_IRGRP, S_IWGRP, S_IXGRP,
S_IROTH, S_IWOTH, S_IXOTH,
S_ISUID, S_ISGID, S_ISVTX
S_IRWXU is the bitwise OR of S_IRUSR,
S_IWUSR and S_IXUSR.
S_IRWXG is the bitwise OR of S_IRGRP,
S_IWGRP and S_IXGRP.
S_IRWXO is the bitwise OR of S_IROTH,
S_IWOTH and S_IXOTH.
Output Information
Return Value
Description
C_NO_ERR
Function executed without error
C_CONFIG
NULL pointer
C_NOACT
can not create the directory

Table of Contents