EasyManua.ls Logo

STW TC1 - Page 260

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 260/374
7.3.12.15 utils_remove_file
Function Description
sint32 utils_remove_file (const charn * const opcn_FileName)
The function removes the file opcn_FileName. Before the file will be removed, the content will be deleted.
Recovering of the content is not possible.
Information Flow
Input Information
Parameter
Range
Description
opcn_FileName
includes file name
Output Information
Return Value
Description
C_NO_ERR
the file was deleted
C_CONFIG
Null pointer
C_UNKNOWN_ERR
the file can not be deleted
7.3.12.16 utils_init_semaphore
Function Description
sint32 utils_init_semaphore (key_t const osn_SHMKey, const uint32 ou32_SemCounter, sint32
* const ops32_SemID)
The function initializes the semaphore with the ID ops32_SemID. If the semaphore already exists, the
semaphore ID of this existing semaphore will be returned.
Information Flow
Input Information
Parameter
Range
Description
osn_SHMKey
Specifies either the IPC_PRIVATE value or an
IPC key constructed by the ftok subroutine
ou32_SemCounter
Specifies the number of semaphores in the set
Output Information
Parameter
Range
Description
ops32_SemID
includes the semaphore ID

Table of Contents