Berkeley CSUA MOTD:Entry 22144
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2024/11/23 [General] UID:1000 Activity:popular
11/23   

2001/8/16 [Uncategorized] UID:22144 Activity:high
8/16    values.h is deprecated.  Where can I find useful #defines like
        MAXLONG these days?  grepping for it in /usr/include didn't
        turn up anything, yet it seems something like this should exist.
        \_ limits.h? (INT_MAX, LONG_MAX, ULONG_MAX, etc.)
           \_ > cd /usr/include && grep LONG_MAX *.h
              pthread.h:#define PTHREAD_THREADS_MAX                   ULONG_MAX
              \_ Look at the files limits.h includes. Specifically,
                 machine/limits.h.
                 \_ Thanks!