# E:/DevIL/src-IL/src/il_size.c File Reference

`#include "il_internal.h"`

## Functions

ILuint | iTargaSize (void)
ILint ILAPIENTRY | iSizeSeek (ILint Offset, ILuint Mode)
| Fake seek function.
ILuint ILAPIENTRY | iSizeTell (void)
ILint ILAPIENTRY | iSizePutc (ILubyte Char)
ILint ILAPIENTRY | iSizeWrite (const void *Buffer, ILuint Size, ILuint Number)
ILuint | ilDetermineSize (ILenum Type)
| Returns the size of the memory buffer needed to save the current image into this Type.

## Variables

ILuint | CurPos
ILuint | MaxPos

## Function Documentation

ILuint ilDetermineSize | ( | ILenum | Type | ) |

Returns the size of the memory buffer needed to save the current image into this Type.

Referenced by ilSaveL().

ILint ILAPIENTRY iSizePutc | ( | ILubyte | Char | ) |

Referenced by iSetOutputFake().

ILint ILAPIENTRY iSizeSeek | ( | ILint | Offset,
|  | ILuint | Mode |
| ) |  |  |

Fake seek function.

Referenced by iSetOutputFake().

ILuint ILAPIENTRY iSizeTell | ( | void |  | ) |

Referenced by iSetOutputFake().

ILint ILAPIENTRY iSizeWrite | ( | const void * | Buffer,
|  | ILuint | Size,
|  | ILuint | Number |
| ) |  |  |

Referenced by iSetOutputFake().

ILuint iTargaSize | ( | void |  | ) |

Referenced by ilDetermineSize().

## Variable Documentation

ILuint CurPos

Referenced by iGetScanLine(), ilDetermineSize(), iLoadPcdInternal(), iSizePutc(), iSizeSeek(), iSizeTell(), and iSizeWrite().

ILuint MaxPos

Referenced by ilDetermineSize(), iSizePutc(), iSizeSeek(), and iSizeWrite().