What is the stat function call for 64 bit in C++

What is the stat function call for 64 bit in C++

Post by Harold A. Bro » Thu, 26 Feb 1998 04:00:00



What is the name of the C++ stat function that will return a 64 bit integer on
a Solaris based Platform?

 
 
 

What is the stat function call for 64 bit in C++

Post by Elias Martenso » Fri, 27 Feb 1998 04:00:00



Quote:> What is the name of the C++ stat function that will return a 64 bit integer on
> a Solaris based Platform?

stat64(). Check the manual page for "interface64".

--
Elias Martenson
elias.martenson (atsign) sweden.sun.com

 
 
 

1. What is the 64 bit stat function call name for C in GNU


Hello.  There is no "stat()" function defined in the Standard C
language.  Since you mention Solaris, your best bet would be to
solicit help from the experts from a newsgroup dealing with UNIX
systems.  I have crossposted to comp.unix.programmer and redirected
followups there as well.

On Solaris, there are three "stat()" functions that retrieve data
about file status.  These are stat(), fstat() and lstat().  Each of
these return a value of type int.

There is also ustat() which retrieve file system statistics.  It also
returns a value of type int.

There are also the kstat*() family of functions that retrieve kernel
performance data.  Many of these return pointers to structures.

There is also the rstat() call which retrieves performance data from a
remote kernel.  It returns an enum type value, which might be 64 bit.
Probably not, however.

--

http://www.cs.wustl.edu/~jxh/        Washington University in Saint Louis

2. UUCP multiple modems

3. 32 bit C++ and 64 bit large files

4. "throttling down" a fast hard drive to simulate a slower one

5. 64 bit Unix (esp. 64 bit IO)

6. postfix virtual domains aren't relayed

7. host mastered 64 bit wide transfers to 64 bit PCI slot?

8. dosemu & TSR print

9. performance of runing 32/64 bit program in 64 bit kernel.

10. HALstation (64-bit processor running 64-bit Solaris) as webserver

11. Is 64-bit Linux "true" 64 bit thru-and-thru??

12. IBM announces 64-bit mainframes and 64-bit Linux for S/390

13. 64 bit netdev stats counter