|
cctools
|
#include <stdio.h>#include <stdint.h>Go to the source code of this file.
Functions | |
| void | cctools_version_print (FILE *stream, const char *cmd) |
| Print the version of the software to the file stream. More... | |
| char * | cctools_version_string () |
| Return a string with MAJOR.MINOR.MICRO version. More... | |
| void | cctools_version_debug (uint64_t type, const char *cmd) |
| Create a new buffer. More... | |
Common CCTools functions for version and common output management.
| void cctools_version_print | ( | FILE * | stream, |
| const char * | cmd | ||
| ) |
Print the version of the software to the file stream.
| stream | The file stream to print to. |
| cmd | The name of the program running (argv[0]). |
| char* cctools_version_string | ( | ) |
Return a string with MAJOR.MINOR.MICRO version.
It is the responsibility of the caller to free the string.
| void cctools_version_debug | ( | uint64_t | type, |
| const char * | cmd | ||
| ) |
Create a new buffer.
| type | The debug type. |
| cmd | The name of the program running (argv[0]). |