Skip to content

File path.cc

FileList > ase > path.cc

  • #include "path.hh"
  • #include "platform.hh"
  • #include "utils.hh"
  • #include "inifile.hh"
  • #include "internal.hh"
  • #include <unistd.h>
  • #include <sys/stat.h>
  • #include <sys/types.h>
  • #include <fcntl.h>
  • #include <sys/ioctl.h>
  • #include <algorithm>
  • #include <cstring>
  • #include <glob.h>
  • #include <mutex>
  • #include <filesystem>
  • #include <pwd.h>
  • #include "testing.hh"

Namespaces

Type Name
namespace Ase
The Anklang C++ API namespace.
namespace Path
The Path namespace provides functions for file path manipulation and testing.

Macros

Type Name
define ISALPHA (L) (LOWER_ALPHA (L) || UPPER_ALPHA (L))
define IS_DIRSEP (c) ((c) == ASE_DIRSEP || (c) == ASE_DIRSEP2)
define IS_SEARCHPATH_SEPARATOR (c) ((c) == ASE_SEARCHPATH_SEPARATOR || (c) == ';')
define LOWER_ALPHA (L) (L >= 'a' && L <= 'z')
define UPPER_ALPHA (L) (L >= 'A' && L <= 'Z')

Macro Definition Documentation

define ISALPHA

#define ISALPHA (
    L
) (LOWER_ALPHA (L) || UPPER_ALPHA (L))

define IS_DIRSEP

#define IS_DIRSEP (
    c
) ((c) == ASE_DIRSEP || (c) == ASE_DIRSEP2)

define IS_SEARCHPATH_SEPARATOR

#define IS_SEARCHPATH_SEPARATOR (
    c
) ((c) == ASE_SEARCHPATH_SEPARATOR || (c) == ';')

define LOWER_ALPHA

#define LOWER_ALPHA (
    L
) (L >= 'a' && L <= 'z')

define UPPER_ALPHA

#define UPPER_ALPHA (
    L
) (L >= 'A' && L <= 'Z')


The documentation for this class was generated from the following file /__w/anklang/anklang/ase/path.cc