TGAOpenFd -- use an already open file descriptor for
input / output
Synopsis
TGA* TGAOpen(FILE* fd);
Arguments
fd
already open file descriptor
to be used
Description
TGAOpenFd will use the supplied
file descriptor to do input and output operations,
instead of opening a file descriptor itself as TGAOpen does.
If the file descriptor is invalid the function
produces a TGA_OPEN_FAIL error.