delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/06/15/21:35:51

Message-ID: <33A4C1C8.2FB9@tiac.net>
Date: Sun, 15 Jun 1997 21:32:08 -0700
From: Claude Sassine <claude AT tiac DOT net>
MIME-Version: 1.0
To: Help Djgpp <djgpp AT delorie DOT com>
Subject: Long filename problem

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019