mb_gets

Previous  Next

 

int mb_gets( char* buf, int size, const char* pVarName )

 


 

The mb_gets gets a string from the current stdin device.  This function shouldn't be called.  You should instead use the current input handler and use this together with mb_set_inputer if you don't want to supply your own custom inpu handler.

 

Example

 

char str[256];

 

if ( mb_gets( str, sizeof( str ), NULL ) > 0 )

{

  printfs( "%s\n", str );

}