altsep = str '/'
curdir = str '.'
extsep = str '.'
linesep = str("\n")
O_APPEND {.importc: "O_APPEND", header: "<fcntl.h>".}: cint
O_CLOEXEC {.importc: "O_CLOEXEC", header: "<fcntl.h>".}: cint
O_CREAT {.importc: "O_CREAT", header: "<fcntl.h>".}: cint
O_EXCL {.importc: "O_EXCL", header: "<fcntl.h>".}: cint
O_RDONLY {.importc: "O_RDONLY", header: "<fcntl.h>".}: cint
O_RDWR {.importc: "O_RDWR", header: "<fcntl.h>".}: cint
O_TRUNC {.importc: "O_TRUNC", header: "<fcntl.h>".}: cint
O_WRONLY {.importc: "O_WRONLY", header: "<fcntl.h>".}: cint
pardir = str ParDir
pathsep = str ':'
sep = str '/'
defpath = "/bin:/usr/bin"
devnull = "/dev/null"
name = "posix"
template `|`(a, b: cint): cint
template `|=`(a, b: cint)