Initial import
This commit is contained in:
commit
405b86068e
324 changed files with 163599 additions and 0 deletions
13
tests/tposix.nim
Executable file
13
tests/tposix.nim
Executable file
|
|
@ -0,0 +1,13 @@
|
|||
# Test Posix interface
|
||||
|
||||
import posix
|
||||
|
||||
var
|
||||
u: Tutsname
|
||||
|
||||
discard uname(u)
|
||||
|
||||
writeln(stdout, u.sysname)
|
||||
writeln(stdout, u.nodename)
|
||||
writeln(stdout, u.release)
|
||||
writeln(stdout, u.machine)
|
||||
Loading…
Add table
Add a link
Reference in a new issue