API Reference

home / Filesystem / Symlinks
Groups
  • Arena
    • Allocation
    • Lifecycle
    • Reuse
    • Scopes
  • Array
    • Access
    • Lifecycle
    • Modification
    • Typed
  • Common
    • Arrays
    • Assertions
    • Bits
    • Optimization
    • Results
    • Utilities
  • Cpuid
  • Filesystem
    • Cwd
    • Directories
      • Enumeration
    • Executables
    • Files
    • Metadata
    • Paths
      • Comparison
      • Components
      • Manipulation
      • Queries
      • Relative
    • Symlinks
    • Temporary
    • Watch
  • Hashtable
    • Core
    • Hashing
    • Helpers
    • Iteration
    • Typed
  • Hpool
    • Access
    • Allocation
    • Handles
    • Iteration
    • Lifecycle
  • Ini
    • Document
    • Enumeration
    • Read
    • Write
  • Io
    • Binary
    • Files
    • Positioning
    • Status
    • Text
  • Log
    • Configuration
    • Listeners
    • Messages
  • Network
    • Adapters
    • Addresses
    • Dns
    • Io
    • Lifecycle
    • Multiplexing
    • Sockets
  • Strbuilder
    • Access
    • Append
    • Lifecycle
    • Utf8
    • Wchar
  • Strings
    • Conversion
    • Cstr
      • Wchar
    • Locale
    • Slice
      • Utf8
      • Wchar
    • Smallstr
      • Utf8
      • Wchar
    • Utf8
  • Test
    • Assertions
    • Runner
  • Thread
    • Lifecycle
    • Pool
    • Scheduling
    • Synchronization
      • Condition_variable
      • Mutex
  • Time
    • Arithmetic
    • Clock
    • Comparison
    • Conversion
    • Timers
  • Tml
    • Document
    • Entries
      • Navigation
      • Values
    • Nodes
      • Navigation
      • Values
    • Parsing
    • Paths
Symbols in this group
  • x_fs_is_symlink
  • x_fs_read_symlink
Files
  • stdx_arena.h
  • stdx_array.h
  • stdx_common.h
  • stdx_cpuid.h
  • stdx_filesystem.h
  • stdx_hashtable.h
  • stdx_ini.h
  • stdx_io.h
  • stdx_log.h
  • stdx_network.h
  • stdx_strbuilder.h
  • stdx_string.h
  • stdx_test.h
  • stdx_thread.h
  • stdx_time.h
  • stdx_hpool.h
  • stdx_tml.h
  • All Symbols
  • Ungrouped

Symlinks

/ Filesystem / Symlinks
    Function in stdx_filesystem.h

    x_fs_is_symlink

    Check whether a path is a symbolic link.

    X_FILESYSTEM_API bool x_fs_is_symlink(const char *path);

    Parameters

    const char *path
    Path to check.

    Returns

    True if it is a symlink, false otherwise.

    Function in stdx_filesystem.h

    x_fs_read_symlink

    Read the target of a symbolic link.

    X_FILESYSTEM_API bool x_fs_read_symlink(
     const char *path,
     XFSPath *out_path
    );

    Parameters

    const char *path
    Symbolic link path.
    XFSPath *out_path
    Output path receiving the resolved link target.

    Returns

    True on success, false on failure.