src/console/conio.c
static int
next_word(char *ldb_buf)
{
   int ncp;

   if (cp > cl)
      return 0;
   ncp = cp;
   for ( ; ncp<cl && iswordc(*(ldb_buf+ncp)); ncp++) ;
   for ( ; ncp<cl && !iswordc(*(ldb_buf+ncp)); ncp++) ;
   return ncp-cp;
}
/* Return number of characters to get to next word */
Return number of characters to get to next word
Return number of characters to get to next word
static int
next_word(char *ldb_buf)
{
   int ncp;
   if (cp > cl)
      return 0;
   ncp = cp;
   for ( ; ncp<cl && iswordc(*(ldb_buf+ncp)); ncp++) ;
   for ( ; ncp<cl && !iswordc(*(ldb_buf+ncp)); ncp++) ;
   return ncp-cp;
}
static int next_word ( char * ldb_buf ) { int ncp ; if ( cp > cl ) return 0 ; ncp = cp ; for ( ; ncp < cl && iswordc ( * ( ldb_buf + ncp ) ) ; ncp ++ ) ; for ( ; ncp < cl && ! iswordc ( * ( ldb_buf + ncp ) ) ; ncp ++ ) ; return ncp - cp ; }
Return number of characters to get to next word
Return number of characters to get to next word