Changeset 2846 for trunk/kLdr/kLdrHlp.h


Ignore:
Timestamp:
Nov 1, 2006, 7:26:35 PM (19 years ago)
Author:
bird
Message:

nearly done with kLdrDyldMod.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kLdr/kLdrHlp.h

    r2836 r2846  
    3535/** Get the minimum of two values. */
    3636#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))
    3739/** Calculate the offset of a structure member. */
    3840#define KLDR_OFFSETOF(strct, memb)  ( (size_t)( ((strct *)0)->memb ) )
     
    144146
    145147int     kldrHlpGetEnv(const char *pszVar, char *pszVal, size_t *pcchVal);
     148int     kldrHlpGetEnvUZ(const char *pszVar, size_t *pcb);
    146149void    kldrHlpExit(int rc);
    147150void    kldrHlpSleep(unsigned cMillies);
Note: See TracChangeset for help on using the changeset viewer.