unistd_h

header-only Windows implementation of the <unistd.h> header

Latest version: 2019.07.30

Add to xmake.lua

add_requires("unistd_h 2019.07.30")

Learn how to add and link packages with Xmake →

Information

License
MIT
Kind
library
Recipe updated
2024-07-28T11:44:45.000Z

Platforms

  • mingw: i386, x86_64, arm, arm64
  • windows: x86, x64, arm, arm64, arm64ec

Options

No configurable options.

Versions

  • 2019.07.30

Dependencies

No dependencies declared.

Install with xrepo

Install the package independently of a project and inspect its available configuration.

install

xrepo install "unistd_h 2019.07.30"

show info

xrepo info "unistd_h"

Link a library to your target

Declare the requirement, then attach the library to the target that uses it.

xmake.lua

add_requires("unistd_h 2019.07.30")

target("demo")
    set_kind("binary")
    add_files("src/*.cpp")
    add_packages("unistd_h")

Open a package environment

Open a shell with the environment exported by this package. Use the executable names documented by the package.

enter shell

xrepo env -b "unistd_h 2019.07.30" shell