Files
fstester/setter/dos.c

112 lines
2.5 KiB
C
Raw Normal View History

/****************************************************************************
The Disc Image Chef
-----------------------------------------------------------------------------
Filename : dos.c
Author(s) : Natalia Portillo
Component : fstester.setter
--[ Description ] -----------------------------------------------------------
Contains DOS code
--[ License ] ---------------------------------------------------------------
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warraty of
MERCHANTIBILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-----------------------------------------------------------------------------
Copyright (C) 2011-2018 Natalia Portillo
*****************************************************************************/
#if defined(__DOS__) || defined (MSDOS)
#include <stdio.h>
#include <dos.h>
#include "defs.h"
void GetOsInfo()
{
// TODO: Implement
}
void GetVolumeInfo(const char *path, size_t *clusterSize)
{
// TODO: Implement
}
void FileAttributes(const char *path)
{
// TODO: Implement
}
void FilePermissions(const char *path)
{
/* Do nothing, not supported by target operating system */
}
void ExtendedAttributes(const char *path)
{
/* Do nothing, not supported by target operating system */
}
void ResourceFork(const char *path)
{
/* Do nothing, not supported by target operating system */
}
void Filenames(const char *path)
{
// TODO: Implement
}
#define DATETIME_FORMAT "This file is dated %04d/%02d/%02d %02d:%02d:%02d for %s\n"
void Timestamps(const char *path)
{
// TODO: Implement
}
void DirectoryDepth(const char *path)
{
// TODO: Implement
}
void Fragmentation(const char *path, size_t clusterSize)
{
// TODO: Implement
}
void Sparse(const char *path)
{
/* Do nothing, not supported by target operating system */
}
void Links(const char *path)
{
/* Do nothing, not supported by target operating system */
}
void MillionFiles(const char *path)
{
// TODO: Implement
}
void DeleteFiles(const char *path)
{
// TODO: Implement
}
#endif