Rev 8744 | Go to most recent revision | Details | Last modification | View Log | RSS feed
#include
#include "conio.h"
char *gets(char* str)
{
__con_init();
if(__con_gets(str, STDIO_MAX_MEM)==NULL){
errno = EIO;
return NULL;
}
str[strlen(str)-1]='\0';
return str;