Date: Tue, 13 Jan 1998 15:18:04 +0200 (IST) From: Eli Zaretskii To: Ivo Stoykov cc: djgpp AT delorie DOT com Subject: Re: help needed In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Tue, 13 Jan 1998, Ivo Stoykov wrote: > 1. few times I met the "mane of the filesystem" expression. > Making experiments with functions I found that the "mane of the > filesystem" returns as a value the disk label. Am I wrong or there is > something else I've missed? I looked into libc.inf (the library reference) and found only one place where it references the "name of the filesystem", and that is where the `getmntent' function is described. But that place describes *exactly* what can be returned as the filesystem name (it's not always the volume label). So I don't understand to which places in the docs do you refer, and therefore I cannot answer the question. Please tell where did you see the references to the "name of the filesystem". > 2. I always receive as a directory separator a slash "/" instead a > backslash "\" which is usual for DOS. (I know that slash is usual for > Unix) How can I change slashs with backsalshs? You can't, unless you write the code that does the conversion. DJGPP functions which return pathnames, such as `getcwd', always return forward slashes, to be compatible with Unix. Since the kernels of MS-DOS and of all versions of MS-Windows (including 3.X, 9X and NT) understand both forward and backslashes, while Unix only understands forward slashes, you really should not bother about this, except when you interface with some non-DJGPP program that doesn't understand forward slashes (like COMMAND.COM). If you have some specific problem with this, please describe the specific case which troubles you. Usually, these problems are easily solved.