2000.04.28 13:17 "Opening from fd", by Arnar Mar Hrafnkelsson

2000.04.28 13:17 "Opening from fd", by Arnar Mar Hrafnkelsson

I'm using v3.5.4 of libtiff. The manpage for TIFFFdOpen says that I have to give the function the correct filename and mode the file is opened in. I can understand the mode is needed but I do not see why the filename is needed.

TIFF* TIFFFdOpen(const int fd, const char* filename, const char* mode)

It's similar for the clientopen function. It's even possible in those cases that no file exists on disk and never has or will. What happens if I just give it some nonexistant filename?

Arnar.