/* Get a character on default the stream (match standard API).  */
int sl_getchar_std_wrapper(void)
/* Get a character on default the stream (match standard API).  */
int sl_getchar_std_wrapper(void)
{
  char c;
  sl_status_t status = sl_getchar(&c);
  if (status == SL_STATUS_OK) {
    return (int)c;
  } else {
    return -1;
  }
}