1234567891011121314151617181920 |
- discard """
- outputsub: ""
- """
- # Test Posix interface
- when not defined(windows):
- import posix
- var
- u: Utsname
- discard uname(u)
- writeLine(stdout, u.sysname)
- writeLine(stdout, u.nodename)
- writeLine(stdout, u.release)
- writeLine(stdout, u.machine)
|