CSocket project page CSocket home page

Host.h File Reference

#include <limits.h>

Include dependency graph for Host.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define __WORDSIZE   32
#define CLEARERR(x)   clearerr(x)
#define FALSE   0
#define FCLOSE(x)   fclose(x)
#define FEOF(x)   feof(x)
#define FERROR(x)   ferror(x)
#define FFLUSH(x)   fflush(x)
#define FILE_HANDLE   FILE *
#define FILENO(s)   fileno(s)
#define FOPEN(x, y)   fopen(x, y)
#define FPRINTF   fprintf
#define FSTAT(s, st)   fstat(FILENO(s), st)
#define GET_CLOCK_COUNT(x)   gettimeofday(x, NULL)
#define htonll(x)   ((((uint64)htonl(x)) << 32) + htonl(x >> 32))
#define LSTAT(x, y)   lstat(x,y)
#define ntohll(x)   ((((uint64)ntohl(x)) << 32) + ntohl(x >> 32))
#define PRINTF   printf
#define SNPRINTF   snprintf
#define STAT_BLK_SIZE(x)   ((x).st_blksize)
#define STRTOULL(x)   strtoull(x, NULL, 10)
#define STRUCT_STAT   struct stat
#define TRUE   1
#define VPRINTF   vprintf

Variables

__extension__ typedef long long int int64
__extension__ typedef unsigned
long long int 
uint64


Define Documentation

#define __WORDSIZE   32

#define CLEARERR (  )     clearerr(x)

#define FALSE   0

#define FCLOSE (  )     fclose(x)

#define FEOF (  )     feof(x)

#define FERROR (  )     ferror(x)

#define FFLUSH (  )     fflush(x)

#define FILE_HANDLE   FILE *

#define FILENO (  )     fileno(s)

#define FOPEN ( x,
 )     fopen(x, y)

#define FPRINTF   fprintf

#define FSTAT ( s,
st   )     fstat(FILENO(s), st)

#define GET_CLOCK_COUNT (  )     gettimeofday(x, NULL)

#define htonll (  )     ((((uint64)htonl(x)) << 32) + htonl(x >> 32))

#define LSTAT ( x,
 )     lstat(x,y)

#define ntohll (  )     ((((uint64)ntohl(x)) << 32) + ntohl(x >> 32))

#define PRINTF   printf

#define SNPRINTF   snprintf

#define STAT_BLK_SIZE (  )     ((x).st_blksize)

#define STRTOULL (  )     strtoull(x, NULL, 10)

#define STRUCT_STAT   struct stat

#define TRUE   1

#define VPRINTF   vprintf


Variable Documentation

__extension__ typedef long long int int64

__extension__ typedef unsigned long long int uint64


CarrierLabs Logo hosts this site.
Send comments to:
CarrierLabs Developers