HTML Tidy  5.9.15
The HTACG Tidy HTML Project
Miscellaneous Utilities

Detailed Description

This group contains general utilities used in the console application.

Functions

static void outOfMemory (void)
 Exits with an error in the event of an out of memory condition. More...
 
static Bool samefile (ctmbstr filename1, ctmbstr filename2)
 Indicates whether or not two filenames are the same. More...
 
static tmbstr stringWithFormat (const ctmbstr fmt,...)
 Create a new, allocated string with a format and arguments. More...
 
static void tidy_cleanup (void)
 Handles exit cleanup. More...
 

Function Documentation

◆ outOfMemory()

static void outOfMemory ( void  )
static

Exits with an error in the event of an out of memory condition.

◆ samefile()

static Bool samefile ( ctmbstr  filename1,
ctmbstr  filename2 
)
static

Indicates whether or not two filenames are the same.

Returns
Returns a Bool indicating whether the filenames are the same.
Parameters
filename1First filename
filename2Second filename

◆ stringWithFormat()

static tmbstr stringWithFormat ( const ctmbstr  fmt,
  ... 
)
static

Create a new, allocated string with a format and arguments.

Returns
Returns a new, allocated string that you must free.
Parameters
fmtThe format string.
...Variable arguments.

◆ tidy_cleanup()

static void tidy_cleanup ( void  )
static

Handles exit cleanup.