#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.
95{
96 void *this;
97
99 return this;
102}
void pdie(const char *msg,...)
◆ die()
Definition at line 51 of file common.c.
53{
55
57#ifndef __REACTOS__
59#else
60 DPRINT1(
"Unrecoverable problem!\n");
62#endif
64#ifndef __REACTOS__
66#endif
68}
_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)
VOID VfatPrintV(PCHAR Format, va_list args)
◆ get_key()
Definition at line 184 of file common.c.
185{
186#ifndef __REACTOS__
187 int ch, okay;
188
189 while (1) {
190 if (prompt)
193 while (ch =
getchar(), ch ==
' ' || ch ==
'\t') ;
197 okay = 0;
198 while (ch =
getchar(), ch !=
'\n' && ch !=
EOF) ;
201 if (okay)
202 return okay;
203 printf(
"Invalid input.\n");
204 }
205#else
206 return 0;
207#endif
208}
char * strchr(const char *String, int ch)
_Check_return_ _CRTIMP int __cdecl getchar(void)
_Check_return_opt_ _CRTIMP int __cdecl fflush(_Inout_opt_ FILE *_File)
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.
180{
181 return a <
b ?
a :
b;
182}
GLboolean GLboolean GLboolean b
GLboolean GLboolean GLboolean GLboolean a
◆ pdie()
◆ qalloc()
Definition at line 139 of file common.c.
140{
142
143#ifndef __REACTOS__
145#else
147#endif
150#ifndef __REACTOS__
152#else
154#endif
155}
Referenced by add_file(), and cnv_unicode().
◆ qfree()
Definition at line 157 of file common.c.
158{
160
164#ifndef __REACTOS__
167#else
169 vffree(this);
170#endif
171 }
172}
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
static unsigned __int64 next
Referenced by VfatChkdsk().