Expand description
OS operations for Seq
Provides portable OS interaction primitives: environment variables, paths, and system information.
These functions are exported with C ABI for LLVM codegen to call.
Functions§
- patch_
seq_ ⚠current_ dir - Get the current working directory
- patch_
seq_ ⚠exit - Exit the process with the given exit code
- patch_
seq_ ⚠getenv - Get an environment variable
- patch_
seq_ ⚠home_ dir - Get the user’s home directory
- patch_
seq_ ⚠os_ arch - Get the CPU architecture
- patch_
seq_ ⚠os_ name - Get the operating system name
- patch_
seq_ ⚠path_ exists - Check if a path exists
- patch_
seq_ ⚠path_ filename - Get the filename component of a path
- patch_
seq_ ⚠path_ is_ dir - Check if a path is a directory
- patch_
seq_ ⚠path_ is_ file - Check if a path is a regular file
- patch_
seq_ ⚠path_ join - Join two path components
- patch_
seq_ ⚠path_ parent - Get the parent directory of a path