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
macdir.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
- /*****************************************************************
- *
- * dirent.h
- *
- *****************************************************************/
- #ifndef __DIRENT_H
- #define __DIRENT_H
- #include <errno.h>
- #ifndef EINVAL
- #define EINVAL 9
- #endif
- #ifndef EIO
- #define EIO 10
- #endif
- #ifndef ENOTDIR
- #define ENOTDIR 20
- #endif
- #ifndef ENOENT
- #define ENOENT 39
- #endif
- #ifndef NAME_MAX
- #define NAME_MAX 1024
- #endif
- struct dirent {
- unsigned long d_fileno;
- short d_reclen;
- short d_namlen;
- char d_name[NAME_MAX + 1];
- };
- typedef struct {
- short ioFDirIndex;
- short ioVRefNum;
- long ioDrDirID;
- short flags;
- struct dirent currEntry;
- } DIR;
- #define direct dirent
- DIR *opendir(char *);
- struct dirent *readdir(DIR *);
- void rewinddir(DIR *);
- int closedir(DIR *);
- #endif /* !__DIRENT_H */