Skip to content
/ xsys Public

Basic cross Linux/Darwin/Win(?) Posix aliases for Swift

License

Notifications You must be signed in to change notification settings

NozeIO/xsys

Repository files navigation

xsys

Posix wrappers and naming shims.

Instead of having to do this in all your code:

#if os(Linux)
  import Glibc
#else
  import Darwin
#endif

let h = dlopen("/blub")

You can do this:

import xsys

let h = dlopen("/blub")

timeval_any

Abstracts three different Posix types into one common protocol, and provides common operations for all of them.

  • timeval_t
  • timespec_t
  • time_t

Links

Who

xsys is brought to you by the Always Right Institute and ZeeZide. We like feedback, GitHub stars, cool contract work, presumably any form of praise you can think of.

There is a #microexpress channel on the Noze.io Slack. Feel free to join!

About

Basic cross Linux/Darwin/Win(?) Posix aliases for Swift

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages