You.i Engine
YiPredefLinux.h File Reference
#include <cstdio>
#include <cstdlib>
#include <ctype.h>
#include <cstring>
#include <time.h>
#include <unistd.h>
#include <queue>
#include <stack>
#include <vector>
#include <map>
#include <list>
#include <iterator>
#include <sstream>
#include <iostream>
#include <algorithm>
#include <fstream>
#include <cfloat>

Go to the source code of this file.

Macros

#define YI_SYSTEM_FREE(a)   free(a)
 
#define YI_SYSTEM_MALLOC(a)   malloc(a)
 
#define YI_SYSTEM_REALLOC(a, b)   realloc(a, b)
 
#define YI_MEMCMP(a, b, c)   memcmp(a, b, c)
 
#define YI_MEMMOVE(a, b, c)   memmove(a, b, c)
 
#define YI_MEMCOPY(a, b, c)   memcpy(a, b, c)
 
#define YI_MEMSET(a, b, c)   memset(a, b, c)
 
#define YI_STRCAT(a, b)   strcat(a, b)
 
#define YI_STRCHR(a, b)   strchr(a, b)
 
#define YI_STRCMP(a, b)   strcmp(a, b)
 
#define YI_STRCPY(a, b)   strcpy(a, b)
 
#define YI_STRLEN(a)   strlen(a)
 
#define YI_STRREV(a)   STRREV(a)
 
#define YI_STRNCMP(a, b, c)   strncmp(a, b, c)
 
#define YI_STRNICMP(a, b, c)   strncmp(a, b, c)
 
#define YI_STRNCAT(a, b, c)   strncat(a, b, c)
 
#define YI_STRNCPY(a, b, c)   strncpy(a, b, c)
 
#define YI_STRRCHR(a, b)   strrchr(a, b)
 
#define YI_STRTOUL(a, b, c)   strtoul(a, b, c)
 
#define YI_VSNPRINTF(a, b, c, d)   vsnprintf(a, b, c, d)
 
#define YI_STRICMP(a, b)   strcasecmp(a, b)
 
#define YI_SPRINTF   sprintf
 
#define YI_SNPRINTF   snprintf
 
#define YI_ATOI(a)   atoi(a)
 
#define YI_ATOF(a)   atof(a)
 
#define YI_WCSCPY   WCSCPY
 
#define YI_WCSNCPY   WCSNCPY
 
#define YI_WCSLEN   WCSLEN
 
#define YI_WCSREV   WCSREV
 
#define YI_WCSCMP   WCSCMP
 
#define YI_WCSNCMP   WCSNCMP
 
#define YI_WCSICMP   WCSICMP
 
#define YI_WCSNICMP   WCSNICMP
 
#define YI_WCSCAT   WCSCAT
 
#define YI_WCSNCAT   WCSNCAT
 
#define YI_WCSSTR   WCSSTR
 
#define YI_WCSCHR   WCSCHR
 
#define YI_SWPRINTF   swprintf
 
#define YI_SLEEP(x)   usleep((x)*1000)
 
#define YI_USLEEP(x)   usleep(x)
 
#define YI_FILE   FILE
 
#define YI_FREAD   (int32_t) fread
 
#define YI_FWRITE   fwrite
 
#define YI_FGETC   fgetc
 
#define YI_FPUTC   fputc
 
#define _SIZE_T
 
#define _SIZE_T_DEFINED
 

Typedefs

typedef unsigned int size_t
 
typedef void * HANDLE