limits.h (108175) | limits.h (108533) |
---|---|
1/* $FreeBSD: head/sys/ia64/include/limits.h 108175 2002-12-22 06:38:45Z tjr $ */ | 1/* $FreeBSD: head/sys/ia64/include/limits.h 108533 2003-01-01 18:49:04Z schweikh $ */ |
2/* From: NetBSD: limits.h,v 1.3 1997/04/06 08:47:31 cgd Exp */ 3 4/* 5 * Copyright (c) 1988, 1993 6 * The Regents of the University of California. All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without 9 * modification, are permitted provided that the following conditions --- 64 unchanged lines hidden (view full) --- 74#define LLONG_MIN (-0x7fffffffffffffffLL-1) /* min for a long long */ 75 76#if !defined(_ANSI_SOURCE) 77#define SSIZE_MAX LONG_MAX /* max value for a ssize_t */ 78 79#if !defined(_POSIX_SOURCE) && !defined(_XOPEN_SOURCE) 80#define SIZE_T_MAX ULONG_MAX /* max value for a size_t */ 81 | 2/* From: NetBSD: limits.h,v 1.3 1997/04/06 08:47:31 cgd Exp */ 3 4/* 5 * Copyright (c) 1988, 1993 6 * The Regents of the University of California. All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without 9 * modification, are permitted provided that the following conditions --- 64 unchanged lines hidden (view full) --- 74#define LLONG_MIN (-0x7fffffffffffffffLL-1) /* min for a long long */ 75 76#if !defined(_ANSI_SOURCE) 77#define SSIZE_MAX LONG_MAX /* max value for a ssize_t */ 78 79#if !defined(_POSIX_SOURCE) && !defined(_XOPEN_SOURCE) 80#define SIZE_T_MAX ULONG_MAX /* max value for a size_t */ 81 |
82#define OFF_MAX LONG_MAX /* max value for a off_t */ 83#define OFF_MIN LONG_MIN /* min value for a off_t */ | 82#define OFF_MAX LONG_MAX /* max value for an off_t */ 83#define OFF_MIN LONG_MIN /* min value for an off_t */ |
84 85/* Quads and longs are the same. Ensure they stay in sync. */ 86#define UQUAD_MAX (ULONG_MAX) /* max value for a uquad_t */ 87#define QUAD_MAX (LONG_MAX) /* max value for a quad_t */ 88#define QUAD_MIN (LONG_MIN) /* min value for a quad_t */ 89#endif /* !_POSIX_SOURCE && !_XOPEN_SOURCE */ 90#endif /* !_ANSI_SOURCE */ 91 --- 12 unchanged lines hidden --- | 84 85/* Quads and longs are the same. Ensure they stay in sync. */ 86#define UQUAD_MAX (ULONG_MAX) /* max value for a uquad_t */ 87#define QUAD_MAX (LONG_MAX) /* max value for a quad_t */ 88#define QUAD_MIN (LONG_MIN) /* min value for a quad_t */ 89#endif /* !_POSIX_SOURCE && !_XOPEN_SOURCE */ 90#endif /* !_ANSI_SOURCE */ 91 --- 12 unchanged lines hidden --- |