Emilua docs
Home Blog
Get the PDF
0.10 0.11 0.12 0.4 0.5 0.6 0.7 0.8 0.9
Get the EPUB
0.10 0.11 0.12 0.4 0.5 0.6 0.7 0.8 0.9
Emilua API 0.5
    • Conventions
    • ChangeLog
    • Tutorial
      • Getting started
      • Working with streams
      • Alternative projects
      • Internals
      • Interruption API
      • Lua 5.1
      • Modules
      • Errors
      • Sandboxes
      • Linux namespaces
      • C++ embedder API
    • Reference
      • generic_error
      • asio_error
      • actor system
        • inbox
        • spawn_vm
        • spawn_context_threads
      • byte_span
      • filesystem
        • path
        • directory_entry
        • directory_iterator
        • recursive_directory_iterator
        • absolute
        • canonical
        • weakly_canonical
        • relative
        • proximate
        • current_working_directory
        • copy
        • copy_file
        • copy_symlink
        • create_directory
        • create_hard_link
        • create_symlink
        • equivalent
        • file_size
        • hard_link_count
        • clock
        • last_write_time
        • chown
        • chmod
        • read_symlink
        • remove
        • rename
        • resize_file
        • is_empty
        • space
        • status
        • temp_directory_path
        • umask
        • cap_get_file
        • cap_set_file
      • fiber
        • spawn
        • this_fiber
        • mutex
        • recursive_mutex
        • condition_variable
        • future
      • file
        • open_flag
        • random_access
        • stream
        • read_all_at
        • read_at_least_at
        • write_all_at
        • write_at_least_at
      • http
        • http.headers
        • http.request
        • http.response
        • http.socket
      • ip
        • address
        • address_info_flag
        • get_address_info
        • get_name_info
        • connect
        • host_name
        • tostring
        • toendpoint
        • message_flag
        • tcp.acceptor
        • tcp.socket
        • udp.socket
      • json
      • json.writer
      • pipes
        • read_stream
        • write_stream
        • pair
      • regex
      • serial_port
      • time
        • sleep
        • steady_clock
        • steady_timer
        • system_clock
        • system_timer
        • high_resolution_clock
      • stream
        • write_all
        • write_at_least
        • read_all
        • read_at_least
        • scanner
      • system
        • arguments
        • environment
        • in_
        • out
        • err
        • exit
        • signal
        • signal.raise
        • signal.set
        • signal.ignore
        • signal.default
        • spawn
        • Process credentials
          • getresuid
          • getresgid
          • setresuid
          • setresgid
          • getgroups
          • setgroups
          • linux_capabilities
        • Process & job control
          • getpid
          • getppid
          • kill
          • getpgrp
          • getpgid
          • setpgid
          • getsid
          • setsid
      • tls
        • context
        • context_flag
        • socket
      • unix
        • datagram_socket
        • message_flag
        • stream_acceptor
        • stream_socket
        • seqpacket_acceptor
        • seqpacket_socket
      • websocket
      • file_descriptor
Edit this Page Source Repository
  • Emilua API
  • Reference
  • filesystem
  • create_hard_link

For the latest stable version, please use Emilua API 0.11!

filesystem.create_hard_link

Synopsis

local fs = require "filesystem"
fs.create_hard_link(target: fs.path, link: fs.path)

Description

See https://en.cppreference.com/w/cpp/filesystem/create_hard_link.

create_directory create_symlink
  • Beast
    • 1.1current
  • Bech32
    • 1.1current
    • 1.0
  • Botan
    • 1.2current
    • 1.1
    • 1.0
  • Dumb D-Bus
    • 0.1current
  • Emilua API
    • 0.11current
    • 0.10
    • 0.9
    • 0.8
    • 0.7
    • 0.6
    • 0.5
    • 0.4
  • INI
    • 1.0current
  • libsecp256k1
    • 0.5current
  • Protocol
    • 1.0current
  • Qt5
    • 1.0current
  • Qt6
    • 1.2current
    • 1.1
    • 1.0
  • Telegram tdlib
    • 1.0current
  • this_thread
    • 1.0current

This page was built using a customized version of the Antora Spring UI.

The source code for this UI is licensed under the terms of the Mozilla Public License Version 2.0.