src/pylib/Lib/os_impl/consts

Source   Edit  

Lets

altsep = str '/'
Source   Edit  
curdir = str '.'
Source   Edit  
extsep = str '.'
Source   Edit  
linesep = str("\n")
Source   Edit  
O_APPEND {.importc: "O_APPEND", header: "<fcntl.h>".}: cint
Source   Edit  
O_CLOEXEC {.importc: "O_CLOEXEC", header: "<fcntl.h>".}: cint
Source   Edit  
O_CREAT {.importc: "O_CREAT", header: "<fcntl.h>".}: cint
Source   Edit  
O_EXCL {.importc: "O_EXCL", header: "<fcntl.h>".}: cint
Source   Edit  
O_RDONLY {.importc: "O_RDONLY", header: "<fcntl.h>".}: cint
Source   Edit  
O_RDWR {.importc: "O_RDWR", header: "<fcntl.h>".}: cint
Source   Edit  
O_TRUNC {.importc: "O_TRUNC", header: "<fcntl.h>".}: cint
Source   Edit  
O_WRONLY {.importc: "O_WRONLY", header: "<fcntl.h>".}: cint
Source   Edit  
pardir = str ParDir
Source   Edit  
pathsep = str ':'
Source   Edit  
sep = str '/'
Source   Edit  

Consts

defpath = "/bin:/usr/bin"
Source   Edit  
devnull = "/dev/null"
Source   Edit  
name = "posix"
Source   Edit  

Templates

template `|`(a, b: cint): cint
Source   Edit  
template `|=`(a, b: cint)
Source   Edit