summary refs log blame commit diff stats
path: root/tests/accept/compile/tposix.nim
blob: bf0b495865245d464376f297c48365c1c143e609 (plain) (tree)
1
2
3
4
5
6

                      
                          
 
              
 








                             
 
# Test Posix interface

when not defined(windows):

  import posix

  var
    u: Tutsname

  discard uname(u)

  writeln(stdout, u.sysname)
  writeln(stdout, u.nodename)
  writeln(stdout, u.release)
  writeln(stdout, u.machine)