HTML Tidy 5.8.0
The HTACG Tidy HTML Project
Loading...
Searching...
No Matches
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.
static Bool samefile (ctmbstr filename1, ctmbstr filename2)
 Indicates whether or not two filenames are the same.
static tmbstr stringWithFormat (const ctmbstr fmt,...)
 Create a new, allocated string with a format and arguments.
static void tidy_cleanup (void)
 Handles exit cleanup.

Function Documentation

◆ outOfMemory()

void outOfMemory ( void )
static

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

◆ samefile()

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()

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()

void tidy_cleanup ( void )
static

Handles exit cleanup.