{{ cookiecutter.project_slug }}/src/{{ cookiecutter.pkg_name }}.c
/** Print version information to \a ostr.
 * \param ostr The file handle where to output to.  Has to be opened for
 * writing.  */
Print version information to \a ostr.
\param ostr The file handle where to output to.  Has to be opened for
writing.
Print version information to \ a ostr . \ param ostr The file handle where to output to . Has to be opened for writing .
void
print_version (FILE *ostr)
{
    fprintf (ostr, "%s (%s)\n", PROJECT_NAME, PROJECT_VERSION);
    fprintf (ostr, "Copyright %s %s\n", PROJECT_COPY_YEARS, PROJECT_AUTHORS);
    fprintf (ostr,
"License GPLv3+: "
    "GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\n"
"This is free software: you are free to change and redistribute it.\n"
"There is NO WARRANTY, to the extent permitted by law.\n");
}
void print_version ( FILE * ostr ) { fprintf ( ostr , " \n " , PROJECT_NAME , PROJECT_VERSION ) ; fprintf ( ostr , " \n " , PROJECT_COPY_YEARS , PROJECT_AUTHORS ) ; fprintf ( ostr , " " " \n " " \n " " \n " ) ; }
Print version information to \a ostr.
Print version information to \ a ostr .