bridge/class-master/depend/pari/src/language/es.c
/* Does name point to a regular file? */
/* If unknown, assume that it is indeed regular. */
Does name point to a regular file.
If unknown, assume that it is indeed regular.
Does name point to a regular file . If unknown assume that it is indeed regular .
int
pari_is_file(const char *name)
{
#ifdef HAS_STAT
  struct stat buf;
  if (stat(name, &buf)) return 1;
  return S_ISREG(buf.st_mode);
#else
  (void) name; return 1;
#endif
}
int pari_is_file ( const char * name ) { #ifdef HAS_STAT struct stat buf ; if ( stat ( name , & buf ) ) return 1 ; return S_ISREG ( buf . st_mode ) ; #else ( void ) name ; return 1 ; #endif }
Does name point to a regular file?
Does name point to a regular file?