Menu

[0a35e6]: / src / rtlib / win32 / io_readstr.c  Maximize  Restore  History

Download this file

20 lines (13 with data), 326 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
/* console line input function */
#include "../fb.h"
#include "fb_private_console.h"
char *fb_ConsoleReadStr( char *buffer, ssize_t len )
{
char *res;
fb_hRestoreConsoleWindow( );
FB_CON_CORRECT_POSITION();
fb_hConsolePutBackEvents( );
res = fgets( buffer, len, stdin );
fb_hUpdateConsoleWindow( );
return res;
}
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.