On output, conversion code "%F" writes the filename.
| Name | Description |
|---|---|
| AjSFile | |
| AjOFile |
| Name | Type | Description |
|---|---|---|
| fp | C file pointer | |
| Name | File name as used when opening | |
| List | List of file names (first is open) | |
| End | True if EOF has been reached | |
| App | True if file was opened for append. | |
| Buff | Buffer for latest line read | |
| Workbuffer | Block as a buffer for fgets etc | |
| Readblock | Block as a buffer for fread | |
| Filepos | File offset for start of latest read | |
| Blocksize | Read block maximum size | |
| Blockpos | Read block position | |
| Blocklen | Read block length used | |
| Buffsize | Buffer size (zero for default size) | |
| Handle | AJAX file number 0 if unused | |
| Pid | Process PID if any |
This is a substructure of the AjPFilebuff object.
| Name | Type | Description |
|---|---|---|
| Line | String : this line | |
| Next | Next line in the list, NULL for last | |
| Fpos | File offset for start of this line |
| Name | Description |
|---|---|
| AjSFilebuff | |
| AjOFilebuff |
| Name | Type | Description |
|---|---|---|
| File | The input file - data to be buffered | |
| Lines | All lines ... where the data really is | |
| Freelines | Free list of lines for reuse | |
| Curr | Current line in Lines list | |
| Prev | Previous line (points to Curr for delete) | |
| Last | Last line for quick appending | |
| Freelast | Last free line for quick append | |
| Nobuff | if true, do not buffer the file | |
| Pos | Position in list | |
| Size | Size of list | |
| FreeSize | Size of free list | |
| Fpos | File position in File |
| Name | Description |
|---|---|
| AjSDir | |
| AjODir |
| Name | Type | Description |
|---|---|---|
| Name | Path | |
| Prefix | Default filename prefix | |
| Extension | Default file extension |
| Name | Description |
|---|---|
| AjSDirout | |
| AjODirout |
| Name | Type | Description |
|---|---|---|
| Name | Path | |
| Extension | Default file extension |
On output, conversion code "%F" writes the filename.
| Name | Description |
|---|---|
| AjSOutfile | |
| AjOOutfile |
| Name | Type | Description |
|---|---|---|
| File | File object | |
| Type | Named data file type | |
| Formatstr | Format specific for this data type | |
| Itype | Index number for Type | |
| Format | Index for Formatstr for this data type |