Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenvarious.h
Go to the documentation of this file.
00001 // Various things you need when porting BSD and GNU utilities to 00002 // Win32. 00003 00004 #pragma once 00005 00006 typedef float f4byte_t; 00007 typedef double f8byte_t; 00008 typedef long uid_t; // SunOS 5.5 00009 00010 #define __P(x) x 00011 00012 /* utmp.h */ 00013 #define UT_LINESIZE 8 00014 #define UT_HOSTSIZE 16 00015 00016 /* stat.h */ 00017 #define S_ISREG(mode) (((mode)&0xF000) == 0x8000) 00018 #define S_ISDIR(mode) (((mode)&0xF000) == 0x4000) 00019 00020 #undef MIN //take care of windows default 00021 #undef MAX //take care of windows default 00022 #define MIN(a, b) ((a) <= (b) ? (a) : (b)) 00023 #define MAX(a, b) ((a) > (b) ? (a) : (b)) 00024 00025 #define bcopy(s1, s2, n) memmove(s2, s1, n) 00026 #define bcmp(s1, s2, n) (memcmp(s1, s2, n) != 0) 00027 #define bzero(s, n) memset(s, 0, n) 00028 00029 #define index(s, c) strchr(s, c) 00030 #define rindex(s, c) strrchr(s, c) 00031 00032 void netfinger(char *); Generated on Sun May 27 2012 04:17:12 for ReactOS by
1.7.6.1
|