/* Copyright (C) 2019-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: dk4chdird.ctr */ #ifndef DK4CHDIRD_H_INCLUDED /** Avoid multiple inclusions. */ #define DK4CHDIRD_H_INCLUDED 1 #line 9 "dk4chdird.ctr" /** @file dk4chdird.h Change current directory. */ #ifndef DK4CONF_H_INCLUDED #if DK4_BUILDING_DKTOOLS4 #include "dk4conf.h" #else #include #endif #endif #ifndef DK4ERROR_H_INCLUDED #if DK4_BUILDING_DKTOOLS4 #include "dk4error.h" #else #include #endif #endif #ifdef __cplusplus extern "C" { #endif /** Change current working directory. @param nd Name of new directory. @param erp Error report, may be NULL. @return 1 on success, 0 on error. CRT on Windows: Optional. Error codes: - DK4_E_INVALID_ARGUMENTS
if nd is NULL, - DK4_E_NOT_SUPPORTEDy
if the operation is not supported on the current system, - DK4_E_SYSTEM
with error code in lDetails1 or iDetails1 if the operation is supported but did fail. */ int dk4chdir(dkChar const *nd, dk4_er_t *erp); #ifdef __cplusplus } #endif /* vim: set ai sw=4 ts=4 : */ #endif