standard.C.io

standard.C.io is available since version 1.0.
Import library : standard.C.io
(you must include this at the top of your source: "import standard.C.io" (no quotes)

Description:

A library encapsulating file I/O operations based on standard C functions. Contains also Concept functions for I/O. See ReadFile or WriteFile.

Methods

Checks if a directory exists
Checks if a file exists
Reads the entire content of a file into a string
Writes the entire content (at once) of a file
The _chdir function changes the current working directory to the directory specified by dirname
Gets the error for the last I/O operation
Gets the file descriptor associated with a stream
Get a value from the current environment
Create a new directory
Create, modify, or remove environment variables
The _rmdir function deletes the directory specified by directory_path
Get status information on a file
The _unlink function deletes the file specified by filename
The closedir function closes the named directory stream
Gets the name of a directory returned by a call to readdir
Loads and executes a new process (independent of the current one)
Closes a file opened with fopen
The feof function tests for end-of-file on a stream
The fflush function flushes a stream associated with file descriptor fd
fgetc reads a single character from the current position of a file associated with fd
The fgets function reads a string from the input fd argument and stores it in buffer
fgetstring reads one item from the input file, fd, formed by the string separator, with maximum size max_size
Gets the group id of the owner of a file
Gets the last access time of a file
Gets the last changed date/time of a file
Gets the last modification date/time of a file
Returns the file length, in bytes, of the target file
Gets the type of a file
Gets the used id of the owner of a file
The fopen function opens the file specified by filename
fputc writes the single character ch to a file at the position indicated by the associated file position indicator (if defined) and advances the indicator as appropriate; the file is associated with fd
fputs copies buffer to the output stream fd at the current position, without the terminating null character
The fread function reads up to count items of size bytes from the input file and stores them in buffer
The freopen function closes the file currently associated with fd and reassigns fd to the file specified by path
The fseek function moves the file pointer (if any) associated with fd to a new location that is offset bytes from origin
Gets the file length, in bytes, of the target file
The ftell function gets the current position of the file pointer (if any) associated with the file descriptor
The fwrite function writes up to count items, of size length each, from buffer to the output file
The opendir() function opens the directory named by filename, associates a directory stream with it and returns a pointer to be used to identify the directory stream in subsequent operations
The readdir function returns an identifier to the next directory entry
The remove function deletes the file or directory specified by path
The rewinddir() function resets the position of the named directory stream to the beginning of the directory
The seekdir() function sets the position of the next readdir operation on the directory stream
The telldir function returns the current location associated with the named directory stream