Changeset 2846 for trunk/kLdr/kLdrHlp.h
- Timestamp:
- Nov 1, 2006, 7:26:35 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kLdr/kLdrHlp.h
r2836 r2846 35 35 /** Get the minimum of two values. */ 36 36 #define KLDR_MIN(a, b) ((a) <= (b) ? (a) : (b)) 37 /** Get the maximum of two values. */ 38 #define KLDR_MAX(a, b) ((a) >= (b) ? (a) : (b)) 37 39 /** Calculate the offset of a structure member. */ 38 40 #define KLDR_OFFSETOF(strct, memb) ( (size_t)( ((strct *)0)->memb ) ) … … 144 146 145 147 int kldrHlpGetEnv(const char *pszVar, char *pszVal, size_t *pcchVal); 148 int kldrHlpGetEnvUZ(const char *pszVar, size_t *pcb); 146 149 void kldrHlpExit(int rc); 147 150 void kldrHlpSleep(unsigned cMillies);
Note:
See TracChangeset
for help on using the changeset viewer.