16# define PTRZERO(p,siz) (void) memset(p, 0, (size_t) (siz))
19#define ZERO(a) PTRZERO(&(a), sizeof(a))
20#define STREQ(a,b) (strcmp(a,b) == 0)
21#define STRNEQ(a,b,s) (strncmp(a,b,(size_t)(s)) == 0)
24# ifdef HAVE_STRCASECMP
25# define ISTRCMP strcasecmp
26# define ISTRNCMP strncasecmp
28# define ISTRCMP strcmp
29# define ISTRNCMP strncmp
33#define ISTREQ(a,b) (ISTRCMP(a,b) == 0)
34#define ISTRNEQ(a,b,s) (ISTRNCMP(a,b,(size_t)(s)) == 0)
36typedef int (*
cmp_t)(
const void *,
const void *);
37#define QSORT(base,n,s,cmp) \
38 qsort(base, (size_t)(n), (size_t)(s), (cmp_t)(cmp))
40#define BSEARCH(key,base,n,s,cmp) \
41 bsearch(key, base, (size_t)(n), (size_t)(s), (cmp_t)(cmp))
47#define kClosedFileDescriptor (-1)
49#define SZ(a) ((size_t) (a))
67#ifdef SETVBUF_REVERSED
68# define SETVBUF(a,b,c,d) setvbuf(a,c,b,d)
70# define SETVBUF setvbuf
81#if (defined(__GNUC__)) && (__GNUC__ >= 2)
86#if (defined(__GNUC__)) && (__GNUC__ >= 2)
94#if defined(WIN32) || defined(_WINDOWS)
104#elif !defined(NcSignal)
105# define NcSignal signal
#define gettimeofday(tv, tz)
UINT(* handler)(MSIPACKAGE *)
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
_In_ uint64_t _In_ uint64_t _In_ uint64_t _In_opt_ traverse_ptr * tp
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
int(* cmp_t)(const void *, const void *)
struct passwd * GetPwByName(void)
void GetHomeDir(char *, size_t)
int SetSockBufSize(int sockfd, size_t rsize, size_t ssize)
void GetUsrName(char *, size_t)
void PrintF(const FTPCIPtr cip, const char *const fmt,...)
time_t UnMDTMDate(char *)
int GetSockBufSize(int sockfd, size_t *rsize, size_t *ssize)
void Scramble(unsigned char *dst, size_t dsize, unsigned char *src, char *key)
char * FGets(char *, size_t, FILE *)
#define StrRFindLocalPathDelim(a)
#define StrFindLocalPathDelim(a)
#define LocalPathToTVFSPath(s)
#define TVFSPathToLocalPath(s)