update format string

This commit is contained in:
firmianay
2017-08-23 20:36:52 +08:00
parent 2c0cb373ec
commit 0b9bc02dd8
6 changed files with 178 additions and 6 deletions

BIN
src/Others/3.3.1_fmt Executable file

Binary file not shown.

10
src/Others/3.3.1_fmt.c Normal file
View File

@ -0,0 +1,10 @@
#include<stdio.h>
void main() {
char str[1024];
while(1) {
memset(str, '\0', 1024);
read(0, str, 1024);
printf(str);
fflush(stdout);
}
}