⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dirent.h

📁 俄罗斯高人Mamaich的Pocket gcc编译器(运行在PocketPC上)的全部源代码。
💻 H
字号:
/* Posix dirent.h for WIN32.   Copyright 2001 Red Hat, Inc.   This software is a copyrighted work licensed under the terms of the   Cygwin license.  Please consult the file "CYGWIN_LICENSE" for   details. *//* Including this file should not require any Windows headers.  */   #ifndef _SYS_DIRENT_H#define _SYS_DIRENT_H#include <sys/types.h>#define __DIRENT_VERSION	1struct dirent{  long d_version;	/* Used since Cygwin 1.3.3. */  long __d_reserved[2];  long d_fd;		/* File descriptor of open directory.			   Used since Cygwin 1.3.3. */  ino_t d_ino;		/* Just for compatibility, it's junk */  char d_name[256];	/* FIXME: use NAME_MAX? */};#define __DIRENT_COOKIE 0xdede4242typedef struct __DIR{  /* This is first to set alignment in non _COMPILING_NEWLIB case.  */  unsigned long __d_cookie;  struct dirent *__d_dirent;  char *__d_dirname;		/* directory name with trailing '*' */  __off32_t __d_position;	/* used by telldir/seekdir */  unsigned long __d_dirhash;	/* hash of directory name for use by				   readdir */  union    {#ifdef _COMPILING_NEWLIB      struct	{	  void *__handle;	  void *__fh;	} __d_data;#endif      char __d_filler[16];    } __d_u;} DIR;DIR *opendir (const char *);struct dirent *readdir (DIR *);void rewinddir (DIR *);int closedir (DIR *);int dirfd (DIR *);#ifndef _POSIX_SOURCEoff_t telldir (DIR *);void seekdir (DIR *, off_t loc);int scandir (const char *__dir,	     struct dirent ***__namelist,	     int (*select) (const struct dirent *),	     int (*compar) (const struct dirent **, const struct dirent **));int alphasort (const struct dirent **__a, const struct dirent **__b);#endif /* _POSIX_SOURCE */#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -