Repository navigation
Operating System Functions
Home › Operating System Functions › Operating System Functions
Statements and procedures for working with files, directories and the system.
Description
The statements and procedures listed here provide access to the operating system environment. They transfer execution to external programs, get information about files and directories, manipulate the file system and send commands to the command shell.
Working with Files
Procedures that deal with files.
Working with Directories
Various directory management procedures.
File Properties
Get information about files.
System Procedures
Procedures for working with the environment.
Working with Files
Temporarily transfers control to another program.
Transfers control to another program.
Deletes an existing file.
Renames an existing file.
File Properties
Gets information about a file bound to a file number.
Copies a file.
Gets the last modified date and time of a file.
Tests for the existence of a file.
Gets the length (in bytes) of a file.
Sets the length of an open file bound to a file number.
Flushes application or system buffers for an open file bound to a file number.
Working with Directories
Gets the current working directory.
Sets the current working directory.
Gets the names of files or directories matching certain attributes.
Gets the directory of the current running program.
Creates a new directory.
Deletes an existing directory.
System Procedures
Gets the amount of free memory (in bytes) available.
Gets the command-line parameters passed to the program.
Gets the value of an environment variable.
Checks whether stdin or stdout is redirected to a file or not.
Sets the value of an environment variable.
Sends a command to the system command interpreter.
Closes all open files and exits the program.
Category: Operating System Functions
Reproduced from the FreeBASIC Wiki Manual under the GNU Free Documentation License 1.3 — with no Invariant Sections, no Front-Cover Texts and no Back-Cover Texts. Copyright © the FreeBASIC project and wiki contributors. See License.
tiko-lang · Home · Feature Index · Keyword Index · License
FreeBASIC manual pages reproduced under the GNU FDL 1.3.
- Generics
- Interfaces
- For Each
- Iterators
- Tuples
- Array Results
- Defer
- Lambdas
- Block Strings
- Partial Types
- String Slices
- Embed
- Typed Variadics
- C Header Import
- Foreign Library Linking
- UString
- Fixed-Width Types
- Nullptr
- String Library
- Format
- Array
- Map
- Set
- LinkedList
- OrderedMap
- OrderedSet
- Sorting
- Optional
- Result
- Smart Pointers
- Date and Time (Chrono)
- Filesystem
- File Streams
- Config (INI and TOML)
- Codec
- Hash
- UUID
- OS
- Process
- Net
- HTTP and TLS
- Math Library
- Finance
- Logging
- Terminal TUI Library
- PsControls
- tkControls
- sys/win
- Goroutines and Channels
- LLVM Backend
- tiko build
- TIKO_COMPILER
- Variable Declarations
- Standard Data Types
- User Defined Types
- Procedures
- Operators
- Control Flow Statements
- Converting Data Types
- Array Functions
- String Functions
- Mathematical Functions
- Bit Manipulation
- Date and Time Functions
- File I/O Functions
- Console Functions
- User Input (Runtime Library)
- User Input Functions (Graphics Library)
- Screen Functions
- 2D Drawing Functions
- Graphics Library Reference
- Graphics Keyword List
- Memory Functions
- Threading Support Functions
- Error Handling Functions
- Operating System Functions
- Preprocessor
- Intrinsic Defines
- Miscellaneous Keywords
- Modularizing