File: get_libcdio_version.c

package info (click to toggle)
libcdio-paranoia 10.2%2B2.0.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 9,604 kB
  • sloc: ansic: 8,127; makefile: 289; sh: 269; cpp: 160; perl: 32; ruby: 25
file content (16 lines) | stat: -rw-r--r-- 274 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
 * Prints the version of libcdio.
 *
 * Test scripts can call this to skip tests under certain version conditions.
 */

#include <cdio/version.h>
#include <stdlib.h>
#include <stdio.h>

int
main(void)
{
    printf("%d\n", LIBCDIO_VERSION_NUM);
    return EXIT_SUCCESS;
}