Version 7.0
Copyright © 2021 Lowell D. Thomas
APG
… an ABNF Parser Generator
Functions
main.c File Reference

Driver for the data formatting utility examples. More...

#include <limits.h>
#include "../../utilities/utilities.h"
#include "source.h"
Include dependency graph for main.c:

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 Main function for the basic application. More...
 

Detailed Description

Driver for the data formatting utility examples.

This example will demonstrate the construction and use of the data formatting utility.

Displaying bytes and Unicode code points which often do not have printing ASCII character counterparts is a common problem with many applications. This object provides a common solution to this problem. It is roughly patterned after the Linux hexdump command. Once the object has been created it can be used as an iterator to display fixed line length displays of the data in several common formats.

The compiled example will execute the following cases. Run the application with no arguments for application usage.

Definition in file main.c.

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Main function for the basic application.

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
The application's exit code.

Definition at line 359 of file main.c.

APG Version 7.0 is licensed under the 2-Clause BSD License,
an Open Source Initiative Approved License.