AG_LIMITS(3)

NAME
AG_Limits - agar limit constants

SYNOPSIS

    #include <agar/core.h>

DESCRIPTION
The AG_Limits interface provides a portable way for obtaining various types of limits which can be architecture or platform-specific.

STRING LIMITS
AG_PATHNAME_MAX
    Max. number of characters in a filesystem path.
AG_FILENAME_MAX
    Max. number of characters in a single filename.
AG_BUFFER_MIN
    Min. recommended bytes in an I/O buffer.
AG_BUFFER_MAX
    Max. recommended bytes in an I/O buffer.

NUMERICAL LIMITS
AG_INT_{MIN,MAX}
    Value representible by int.
AG_UINT_MAX
    Max. value representible by Uint.
AG_LONG_{MIN,MAX}
    Value representible by long.
AG_ULONG_MAX
    Max. value representible by Ulong.
AG_FLT_{MIN,MAX}
    Value representible by float.
AG_DBL_{MIN,MAX}
    Value representible by double.
AG_LDBL_{MIN,MAX}
    Value representible by long double (defined only where HAVE_LONG_DOUBLE is set)
AG_FLT_EPSILON
    Smallest x of type float such that 1.0 + x != 1.0.
AG_DBL_EPSILON
    Smallest x of type double such that 1.0 + x != 1.0.
AG_LDBL_EPSILON
    Smallest x of type long double such that 1.0 + x != 1.0 (defined only where HAVE_LONG_DOUBLE is set)

SEE ALSO
AG_Intro(3)

HISTORY
The AG_Limits interface first appeared in Agar 1.3.