#include "vfatlib.h"
#include <debug.h>
Go to the source code of this file.
◆ NDEBUG
◆ LINK
◆ alloc()
Definition at line 94 of file common.c.
void pdie(const char *msg,...)
Referenced by qalloc().
◆ die()
Definition at line 51 of file common.c.
60 DPRINT1(
"Unrecoverable problem!\n");
VOID VfatPrintV(PCHAR Format, va_list args)
_Check_return_opt_ _CRTIMP int __cdecl fprintf(_Inout_ FILE *_File, _In_z_ _Printf_format_string_ const char *_Format,...)
_Check_return_opt_ _CRTIMP int __cdecl vfprintf(_Inout_ FILE *_File, _In_z_ _Printf_format_string_ const char *_Format, va_list _ArgList)
◆ get_key()
Definition at line 184 of file common.c.
193 while (ch =
getchar(), ch ==
' ' || ch ==
'\t') ;
198 while (ch =
getchar(), ch !=
'\n' && ch !=
EOF) ;
203 printf(
"Invalid input.\n");
_Check_return_ _CRTIMP int __cdecl getchar(void)
_Check_return_opt_ _CRTIMP int __cdecl fflush(_Inout_opt_ FILE *_File)
char * strchr(const char *String, int ch)
Referenced by check_backup_boot(), check_dir(), check_file(), handle_dot(), lfn_add_slot(), lfn_check_orphaned(), lfn_get(), print_fat_dirty_state(), read_fat(), read_fsinfo(), update_free(), and VfatChkdsk().
◆ min()
Definition at line 179 of file common.c.
181 return a <
b ?
a :
b;
GLboolean GLboolean GLboolean b
GLboolean GLboolean GLboolean GLboolean a
Referenced by Fast486WriteMemory().
◆ pdie()
Definition at line 74 of file common.c.
83 DPRINT1(
"Unrecoverable problem!\n");
VOID VfatPrintV(PCHAR Format, va_list args)
const char * strerror(int err)
_Check_return_opt_ _CRTIMP int __cdecl fprintf(_Inout_ FILE *_File, _In_z_ _Printf_format_string_ const char *_Format,...)
_Check_return_opt_ _CRTIMP int __cdecl vfprintf(_Inout_ FILE *_File, _In_z_ _Printf_format_string_ const char *_Format, va_list _ArgList)
Referenced by alloc(), fs_close(), fs_read(), fs_test(), and fs_write().
◆ qalloc()
◆ qfree()
Definition at line 157 of file common.c.
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
static unsigned __int64 next
Referenced by VfatChkdsk().