GNSSGetAbsFilePath
Valid for: CANoe DE • CANoe4SW DE NoteIn contrast to
getAbsFilePath(), this function is available in case of a distributed environment.
Function Syntax
Description
This function gets the absolute path of a file. Functionality- Extract the filename only and check if the file is registered as a “user file”. If yes the obtained full path is obtained.
- Check if the “file” contains the absolute path. If yes this path is obtained.
- Check if the “file” contains the relative path. If yes –the absolute path based on the location of the current configuration is obtained.
Parameters
-
file
The file can be defined:- with the filename only
- with the filename and relative path to the current configuration
- with the absolute path
-
fileNameWithAbsPath
buffer to which the full path name should be copied -
absPathLen
size of the buffer in bytes for the full path name.