1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
%% options
copyright owner = Dirk Krause
copyright year = 2015-xxxx
license = bsd
%% module
#include "dk4filei.h"
int
dk4fileinfo_timestamp(
dkChar *dptr,
size_t szdptr,
const dk4_file_info_t *fi,
int chfile,
int chtime,
dk4_er_t *erp
)
{
#if DK4_CHAR_SIZE > 1
return (dk4fileinfo_timestamp_wc(dptr, szdptr, fi, chfile, chtime, erp));
#else
return (dk4fileinfo_timestamp_c8(dptr, szdptr, fi, chfile, chtime, erp));
#endif
}
int
dk4fileinfo_type_attributes(
dkChar *dptr,
size_t szdptr,
dk4_file_info_t *fi,
dk4_er_t *erp
)
{
#if DK4_CHAR_SIZE > 1
return (dk4fileinfo_type_attributes_wc(dptr, szdptr, fi, erp));
#else
return (dk4fileinfo_type_attributes_c8(dptr, szdptr, fi, erp));
#endif
}
|