xsys

main

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

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!

Description

  • Swift Tools 5.0.0
View More Packages from this Author

Dependencies

  • None
Last updated: Sat Oct 19 2024 14:29:09 GMT-0900 (Hawaii-Aleutian Daylight Time)