On 08-08-97 (06:43) HERBERT BUSHONG wrote to ALL,
About FSTREAM IDENTIFYING MODE
HB> Is there a way to identify the mode that an fstream was opened in?
HB> (binary vs. text -- borland 4.5)
From TC 3.0 online help
========================================================================
stat
A structure containing information about a file or directory. Used by
the fstat and stat functions.
struct stat {
short st_dev, st_ino;
short st_mode, st_nlink;
int st_uid, st_gid;
short st_rdev;
long st_size, st_atime;
long st_mtime, st_ctime;
};
[....]
========================================================================
I'm not certain if this is it. But it looks good. :-)
---
* QMPro 1.53 * steven.read@pcohio.com
--- InterEcho 1.19
---------------
* Origin: PC-Ohio PCBoard * Cleveland, OH * 216-381-3320 (1:157/200)
|