TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: HERBERT BUSHONG
from: STEVEN READ
date: 1997-08-10 20:54:00
subject: Fstream identifying mode

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)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.