FireBirdLib - Topfield TMS PVR TAP Programming Library
infData_Truncate.c
Go to the documentation of this file.
1
#include <unistd.h>
2
#include "
FBLib_rec.h
"
3
4
void
infData_Truncate
(
const
char
*infFileName, dword Position)
5
{
6
TRACEENTER
();
7
8
char
AbsFileName[
FBLIB_DIR_SIZE
];
9
10
if
(infFileName && *infFileName)
11
{
12
ConvertPathType
(infFileName, AbsFileName,
PF_FullLinuxPath
);
13
if
(*AbsFileName) truncate(AbsFileName, Position);
14
}
15
16
TRACEEXIT
();
17
}
ConvertPathType
void ConvertPathType(const char *Source, char *Dest, tPathFormat DestFormat)
Definition:
ConvertPathType.c:4
FBLib_rec.h
infData_Truncate
void infData_Truncate(const char *infFileName, dword Position)
Definition:
infData_Truncate.c:4
FBLIB_DIR_SIZE
#define FBLIB_DIR_SIZE
Definition:
libFireBird.h:1871
TRACEEXIT
#define TRACEEXIT()
Definition:
libFireBird.h:1244
TRACEENTER
#define TRACEENTER()
Definition:
libFireBird.h:1243
PF_FullLinuxPath
@ PF_FullLinuxPath
Definition:
libFireBird.h:1926
rec
infData_Truncate.c
Generated on Fri Apr 29 2022 13:34:01 for FireBirdLib - Topfield TMS PVR TAP Programming Library by
1.9.3