Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
vmstat.h
Package: unzip540.zip [view]
Upload User: andy_li
Upload Date: 2007-01-06
Package Size: 1019k
Code Size: 1k
Category:
Compress-Decompress algrithms
Development Platform:
MultiPlatform
- #ifndef __vmstat_h
- #define __vmstat_h
- /* stat.h definitions */
- #ifndef _INO_T_DEFINED
- typedef unsigned short ino_t; /* i-node number (not used on DOS) */
- #define _INO_T_DEFINED
- #endif
- #ifndef _DEV_T_DEFINED
- typedef short dev_t; /* device code */
- #define _DEV_T_DEFINED
- #endif
- #ifndef _OFF_T_DEFINED
- typedef long off_t; /* file offset value */
- #define _OFF_T_DEFINED
- #endif
- #ifndef _STAT_DEFINED
- struct stat {
- dev_t st_dev;
- ino_t st_ino;
- short st_mode;
- short st_nlink;
- int st_uid;
- int st_gid;
- off_t st_size;
- time_t st_atime;
- time_t st_mtime;
- time_t st_ctime;
- };
- #define _STAT_DEFINED
- #endif
- int stat(const char *path, struct stat *buf);
- int fstat(int fd, struct stat *buf);
- #define S_IFMT 0xFFFF
- #define _FLDATA(m) (*(fldata_t *) &m)
- #define S_ISDIR(m) (_FLDATA(m).__dsorgPDSdir)
- #define S_ISREG(m) (_FLDATA(m).__dsorgPO |
- _FLDATA(m).__dsorgPDSmem |
- _FLDATA(m).__dsorgPS)
- #define S_ISBLK(m) (_FLDATA(m).__recfmBlk)
- #define S_ISMEM(m) (_FLDATA(m).__dsorgMem)
- #endif /* __vmstat_h */