Sack Library Documentation
|
File system abstractions. A few things like get current path may or may not exist on a function.
Primarily this defines functions 'pathchr' and 'pathrchr' which resemble 'strchr' and 'strrchr' but search a string for a path character. A path character is either a / or a \.
Also in this area is file monitoring functions which support methods on windows and linux to get event notifications when directories and, by filtering, files that have changed.
Name |
Description |
The following table lists functions in this documentation. | |
The following table lists structs, records, enums in this documentation. | |
The following table lists macros in this documentation. |
|
Name |
Description |
|
| |
|
This is function sack::filesys::ExpandPath. | |
|
returns pointer passed (if it worked?) | |
|
This is a new feature added for supporting systems without a current file location. This gets an integer ID of a group of files by name. the name 'default' is used to specify files to go into the 'current working directory' There are some special symbols. . = use CurrentPath @ = use program path base ^ = use program startup path (may not be current) | |
|
This is function sack::filesys::GetFileGroupText. | |
|
An extended function, which returns a _64 bit time appropriate for the current platform. This is meant to replace 'stat'. It can get all commonly checked attributes of a file. | |
|
This is function sack::filesys::GetFileWriteTime. | |
|
result is length of name filled into pResult if pResult == NULL && nResult = 0 the result will the be length of the name matching the file. | |
|
Returns the size of the file. | |
|
This is function sack::filesys::GetTimeAsFileTime. | |
|
This is function sack::filesys::IsAbsolutePath. | |
|
A boolean result function whether a specified name is a directory or not. (if not, assumes it's a file). | |
|
Creates a directory. If parent peices of the directory do not exist, those parts are created also. | |
|
searches a path for the first '/' or | |
|
searches a path for the last '/' or | |
|
This is function sack::filesys::pathrchr. | |
|
This is function sack::filesys::sack_close. | |
|
This is function sack::filesys::sack_creat. | |
|
This is function sack::filesys::sack_fclose. | |
|
This is function sack::filesys::sack_fgets. | |
|
This is function sack::filesys::sack_fopen. | |
|
This is function sack::filesys::sack_fread. | |
|
This is function sack::filesys::sack_fseek. | |
|
This is function sack::filesys::sack_fsopen. | |
|
This is function sack::filesys::sack_fwrite. | |
|
This is function sack::filesys::sack_iclose. | |
|
This is function sack::filesys::sack_icreat. | |
|
This is function sack::filesys::sack_ilseek. | |
|
This is function sack::filesys::sack_iopen. | |
|
This is function sack::filesys::sack_iopenfile. | |
|
This is function sack::filesys::sack_iread. | |
|
This is function sack::filesys::sack_iset_eof. | |
|
This is function sack::filesys::sack_iwrite. | |
|
This is function sack::filesys::sack_lseek. | |
|
endif | |
|
This is function sack::filesys::sack_openfile. | |
|
This is function sack::filesys::sack_prepend_path. | |
|
This is function sack::filesys::sack_read. | |
|
This is function sack::filesys::sack_rename. | |
|
This is function sack::filesys::sack_rmdir. | |
|
This is function sack::filesys::sack_set_eof. | |
|
This is function sack::filesys::sack_tell. | |
|
This is function sack::filesys::sack_unlink. | |
|
This is function sack::filesys::sack_write. | |
|
This is function sack::filesys::ScanDrives. | |
|
ScanFiles usage: base - base path to scan mask - file mask to process if NULL or "*" is everything "*.*" must contain a . pInfo is a pointer to a void* - this pointer is used to maintain internal information... Process is called with the full name of any matching files subcurse is a flag - set to go into all subdirectories looking for files. There is no way to abort the scan... | |
|
This is function sack::filesys::SetCurrentPath. | |
|
This is function sack::filesys::SetDefaultFilePath. | |
|
This is function sack::filesys::SetFileLength. | |
|
| |
|
This is function sack::filesys::SetFileWriteTime. | |
|
This is function sack::filesys::SetGroupFilePath. |
Name |
Description |
can use 0 as filegroup default - single 'current working directory | |
writes done at eof | |
create and open file | |
open only if file doesn't already exist | |
open for reading only | |
open for reading and writing | |
open and truncate | |
open for writing only | |
This is macro sack::filesys::S_IRUSR. | |
This is macro sack::filesys::S_IWUSR. | |
NO_FILEOP_ALIAS |
|
Name |
Description |
|
This is record sack::filesys::ScanFileFlags. | |
|
flags sent to Process when called with a matching name |
Copyright (c) 2000+. All rights reserved.
|
What do you think about this topic? Send feedback!
|