Project/Real_code/gnu/coreutils-5.0/src/pathchk.c
static long int
pathconf_wrapper (const char *filename, int param)
{
  long int ret;

  errno = 0;
  ret = pathconf (filename, param);
  if (ret < 0 && errno == 0)
    return LONG_MAX;

  return ret;
}
/* Distinguish between the cases when pathconf fails and when it reports there
   is no limit (the latter is the case for PATH_MAX on the Hurd).  When there
   is no limit, return LONG_MAX.  Otherwise, return pathconf's return value.  */
Distinguish between the cases when pathconf fails and when it reports there
is no limit (the latter is the case for PATH_MAX on the Hurd).  When there
is no limit, return LONG_MAX.  Otherwise, return pathconf's return value.
Distinguish between the cases when pathconf fails and when it reports there is no limit ( the latter is the case for PATH_MAX on the Hurd ) . When there is no limit return LONG_MAX . Otherwise return pathconf ' s return value .
static long int
pathconf_wrapper (const char *filename, int param)
{
  long int ret;
  errno = 0;
  ret = pathconf (filename, param);
  if (ret < 0 && errno == 0)
    return LONG_MAX;
  return ret;
}
static long int pathconf_wrapper ( const char * filename , int param ) { long int ret ; errno = 0 ; ret = pathconf ( filename , param ) ; if ( ret < 0 && errno == 0 ) return LONG_MAX ; return ret ; }
Distinguish between the cases when pathconf fails and when it reports there
is no limit (the latter is the case for PATH_MAX on the Hurd).
Distinguish between the cases when pathconf fails and when it reports there is no limit ( the latter is the case for PATH_MAX on the Hurd ) .