/* Copyright (C) 2015-2020, Dirk Krause SPDX-License-Identifier: BSD-3-Clause */ /* WARNING: This file was generated by the dkct program (see http://dktools.sourceforge.net/ for details). Changes you make here will be lost if dkct is run again! You should modify the original source and run dkct on it. Original source: dk4fileid.ctr */ /** @file dk4fileid.c The dk4fileid module. */ #line 56 "dk4fileid.ctr" #include "dk4conf.h" #include "dk4filei.h" #if DK4_HAVE_ASSERT_H #ifndef ASSERT_H_INCLUDED #include #define ASSERT_H_INCLUDED 1 #endif #endif int dk4fileinfo(dk4_file_info_t *dptr, const dkChar *fn, dk4_er_t *erp) { #if DK4_USE_ASSERT assert(NULL != dptr); assert(NULL != fn); #endif #if DK4_CHAR_SIZE > 1 return (dk4fileinfo_wc(dptr, fn, erp)); #else return (dk4fileinfo_c8(dptr, fn, erp)); #endif }