An open API service indexing awesome lists of open source software.

https://github.com/x13a/syscall-swift

Swift wrapper on some syscalls.
https://github.com/x13a/syscall-swift

macos osx swift

Last synced: about 1 year ago
JSON representation

Swift wrapper on some syscalls.

Awesome Lists containing this project

README

          

# syscall-swift

Swift wrapper on some syscalls.

- KERN_PROC_PID
- KERN_PROCARGS2

## Example

To get pid args:
```swift
import Darwin
import SysCall

func main() throws {
let args = try SysCall.args(getpid()).get()
print(args.path)
print(args.args)
print(args.env)
}

main()
```