File: version.c

package info (click to toggle)
radare2 0.9.6-3.1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 17,464 kB
  • sloc: ansic: 240,979; sh: 3,645; makefile: 2,520; python: 1,212; asm: 312; ruby: 214; awk: 209; perl: 188; lisp: 169; java: 23; xml: 17; php: 6
file content (10 lines) | stat: -rw-r--r-- 284 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
static int blob_version(const char *program) {
	printf ("%s "R2_VERSION" @ "R_SYS_OS"-"R_SYS_ENDIAN"-"
			R_SYS_ARCH"-%d git.%s\n",
			program, R_SYS_BITS&8?64:32,
			*R2_GITTAP? R2_GITTAP: "");
	if (*R2_GITTIP) {
		printf ("commit: "R2_GITTIP" build: "R2_BIRTH"\n");
	}
	return 0;
}