You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#include <common.h>
|
|
|
|
int main(int argc, char **argv)
|
|
{
|
|
while (1) {
|
|
printf("input:");
|
|
char buf[1024];
|
|
char *ret = gets(buf);
|
|
if (!ret)
|
|
break;
|
|
printf("got: %s\n", ret);
|
|
}
|
|
|
|
return 0;
|
|
}
|