Files
sibsutis/proglabs/lab9/func/special.c
T
2025-11-23 14:46:42 +07:00

19 lines
280 B
C

#include "func.h"
void clear(void){
printf("\n \033[H\033[J \n\n");
}
int flush(void){
int c;
while ((c = getwchar()) != '\n')
if (c<32 && c!='\t') return 1;
return 0;
}
int end(int c){
if (c<32 && c!= L'\n' && c!=L'\t') return 1;
return 0;
}