MCPcopy Create free account
hub / github.com/cgsecurity/testdisk / display_version

Function display_version

src/testdisk.c:127–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125}
126
127static void display_version(void)
128{
129 printf("\n");
130 printf("Version: %s\n", VERSION);
131 printf("Compiler: %s\n", get_compiler());
132#ifdef RECORD_COMPILATION_DATE
133 printf("Compilation date: %s\n", get_compilation_date());
134#endif
135 printf("ext2fs lib: %s, ntfs lib: %s, reiserfs lib: %s, ewf lib: %s, curses lib: %s\n",
136 td_ext2fs_version(), td_ntfs_version(), td_reiserfs_version(), td_ewf_version(), td_curses_version());
137#ifdef HAVE_ICONV
138 printf("iconv support: yes\n");
139#else
140 printf("iconv support: no\n");
141#endif
142 printf("OS: %s\n" , get_os());
143}
144
145static int display_disk_list(list_disk_t *list_disk, const int testdisk_mode,
146 const int create_backup, const int safe, const int saveheader, const int unit, const int verbose)

Callers 1

mainFunction · 0.70

Calls 8

get_compilerFunction · 0.85
get_compilation_dateFunction · 0.85
td_ext2fs_versionFunction · 0.85
td_ntfs_versionFunction · 0.85
td_reiserfs_versionFunction · 0.85
td_ewf_versionFunction · 0.85
td_curses_versionFunction · 0.85
get_osFunction · 0.85

Tested by

no test coverage detected