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

Function screen_buffer_reset

src/intrf.c:112–116  ·  view source on GitHub ↗

@ @ ensures intr_nbr_line == 0; @ assigns intr_nbr_line; @ assigns intr_buffer_screen[0 .. MAX_LINES-1][ 0 .. BUFFER_LINE_LENGTH]; @*/

Source from the content-addressed store, hash-verified

110 @ assigns intr_buffer_screen[0 .. MAX_LINES-1][ 0 .. BUFFER_LINE_LENGTH];
111 @*/
112void screen_buffer_reset(void)
113{
114 intr_nbr_line=0;
115 memset(intr_buffer_screen, 0, sizeof(intr_buffer_screen));
116}
117
118void screen_buffer_to_log(void)
119{

Callers 15

search_partFunction · 0.85
read_part_gptFunction · 0.85
ntfs_boot_sectorFunction · 0.85
photorecFunction · 0.85
exFAT_boot_sectorFunction · 0.85
mainFunction · 0.85
read_part_macFunction · 0.85
interface_writeFunction · 0.85
read_part_sunFunction · 0.85
read_part_noneFunction · 0.85
select_fat_infoFunction · 0.85

Calls

no outgoing calls

Tested by 1

mainFunction · 0.68