/* 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: dk4statd.ctr */ /** @file dk4statd.c The dk4statd module. */ #line 88 "dk4statd.ctr" #include "dk4conf.h" #include "dk4statd.h" #include "dk4stat8.h" #include "dk4statw.h" #if DK4_HAVE_ASSERT_H #ifndef ASSERT_H_INCLUDED #include #define ASSERT_H_INCLUDED 1 #endif #endif int dk4stat(dk4_stat_t *dst, const dkChar *path, dk4_er_t *erp) { #if DK4_USE_ASSERT assert(NULL != dst); assert(NULL != path); #endif #if DK4_CHAR_SIZE > 1 return (dk4stat_wc(dst, path, erp)); #else return (dk4stat_c8(dst, path, erp)); #endif } int dk4stat_l(dk4_stat_t *dst, const dkChar *path, dk4_er_t *erp) { #if DK4_USE_ASSERT assert(NULL != dst); assert(NULL != path); #endif #if DK4_CHAR_SIZE > 1 return (dk4stat_l_wc(dst, path, erp)); #else return (dk4stat_l_c8(dst, path, erp)); #endif }