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

📄 types.h

📁 cygwin, 著名的在win32下模拟unix操作系统的东东
💻 H
字号:
/* types.h   Copyright 2001, 2002 Red Hat Inc.   Written by Robert Collins <rbtcollins@hotmail.com>This file is part of Cygwin.This software is a copyrighted work licensed under the terms of theCygwin license.  Please consult the file "CYGWIN_LICENSE" fordetails. */#ifdef __cplusplusextern "C"{#endif#ifndef _CYGWIN_TYPES_H#define _CYGWIN_TYPES_H#include <sys/sysmacros.h>typedef struct timespec timespec_t, timestruc_t;typedef long __off32_t;typedef long long __off64_t;#ifdef __CYGWIN_USE_BIG_TYPES__typedef __off64_t off_t;#elsetypedef __off32_t off_t;#endiftypedef short __dev16_t;typedef unsigned long __dev32_t;#ifdef __CYGWIN_USE_BIG_TYPES__typedef __dev32_t dev_t;#elsetypedef __dev16_t dev_t;#endiftypedef long blksize_t;typedef long __blkcnt32_t;typedef long long __blkcnt64_t;#ifdef __CYGWIN_USE_BIG_TYPES__typedef __blkcnt64_t  blkcnt_t;#elsetypedef __blkcnt32_t  blkcnt_t;#endiftypedef unsigned short __uid16_t;typedef unsigned short __gid16_t;typedef unsigned long  __uid32_t;typedef unsigned long  __gid32_t;#ifdef __CYGWIN_USE_BIG_TYPES__typedef __uid32_t uid_t;typedef __gid32_t gid_t;#elsetypedef __uid16_t uid_t;typedef __gid16_t gid_t;#endif#if !defined(__INSIDE_CYGWIN__) || !defined(__cplusplus)typedef void *pthread_t;typedef void *pthread_mutex_t;typedef void *pthread_key_t;typedef void *pthread_attr_t;typedef void *pthread_mutexattr_t;typedef void *pthread_condattr_t;typedef void *pthread_cond_t;  /* These variables are not user alterable. This means you!. */typedef struct{  pthread_mutex_t mutex;  int state;}pthread_once_t;typedef void *pthread_rwlock_t;typedef void *pthread_rwlockattr_t;#else/* pthreads types */typedef class pthread *pthread_t;typedef class pthread_mutex *pthread_mutex_t;typedef class pthread_key *pthread_key_t;typedef class pthread_attr *pthread_attr_t;typedef class pthread_mutexattr *pthread_mutexattr_t;typedef class pthread_condattr *pthread_condattr_t;typedef class pthread_cond *pthread_cond_t;typedef class pthread_once pthread_once_t;typedef class pthread_rwlock *pthread_rwlock_t;typedef class pthread_rwlockattr *pthread_rwlockattr_t;/* semaphores types */typedef class semaphore *sem_t;#endif /* __INSIDE_CYGWIN__ */#endif /* _CYGWIN_TYPES_H */#ifdef __cplusplus}#endif

⌨️ 快捷键说明

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