Message-ID: <33A4C1C8.2FB9@tiac.net> Date: Sun, 15 Jun 1997 21:32:08 -0700 From: Claude Sassine MIME-Version: 1.0 To: Help Djgpp Subject: Long filename problem Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk In trying to create a file from with a C program with filename longer than 8 characters, two questions came about. One, can the size the filename be changed by adjusting a header file variable? The stdio.h file defines the FILENAME_MAX=260, but the only 8 characters are permited. Is there some other variable that can changed to accomplish this? Secondly, the information in a open file does not seem to be written onto the hard drive until after the program ends. This was done using the fopen and fclose commands. The header files seem to offer more processing than I am aware of, but time has not allowed me the chance to read the information at the DJGPP website. Can the data onto be stored onto hard drive, intermittently, as the program continues processing? Thank you -- Claude Sassine "It is impossible to make anything foolproof, because fools are so ingenious." Roger Berg