Project/Real_code/gnu/coreutils-5.0/src/pathchk.c
static int
portable_chars_only (const char *path)
{
  const char *p;

  for (p = path; *p; ++p)
    if (portable_chars[(unsigned char) *p] == 0)
      {
	error (0, 0, _("path `%s' contains nonportable character `%c'"),
	       path, *p);
	return 0;
      }
  return 1;
}
/* If PATH contains only portable characters, return 1, else 0.  */
If PATH contains only portable characters, return 1, else 0.
If PATH contains only portable characters return 1 else 0 .
static int
portable_chars_only (const char *path)
{
  const char *p;
  for (p = path; *p; ++p)
    if (portable_chars[(unsigned char) *p] == 0)
      {
	error (0, 0, _("path `%s' contains nonportable character `%c'"),
	       path, *p);
	return 0;
      }
  return 1;
}
static int portable_chars_only ( const char * path ) { const char * p ; for ( p = path ; * p ; ++ p ) if ( portable_chars [ ( unsigned char ) * p ] == 0 ) { error ( 0 , 0 , _ ( " " ) , path , * p ) ; return 0 ; } return 1 ; }
If PATH contains only portable characters, return 1, else 0.
If PATH contains only portable characters return 1 else 0 .