From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,eb2dc037f5ee7171,start X-Google-Attributes: gid111c93,public From: barry greenfield Subject: gnu c - resource.h Date: 1997/08/16 Message-ID: <33F5AE7A.5300@greatgames.com>#1/1 X-Deja-AN: 264394939 Organization: interactive intertainment, inc. Reply-To: bmg@greatgames.com Newsgroups: comp.os.linux.alpha I think I have found a bug in /usr/include/sys/resource.h on my PC1264 running Linux (RedHat 4.2) It seems that sys/resource.h contains prototype for system specific resources... it includes asm/resourcebytes.h to enumerate RLIMIT_??? where RLIMIT_??? defines CPU, FD's etc. this in turn includes asm/resource.h which is supposed to do the actual #define of RLIMIT_??? Well, asm/resource.h DOES #defines for __KERNAL_RLIMIT_??? but not RLIMIT_??? and gcc errors out getrlimits() is compiled into a simple c program. :( Am I correct in this explanation? And is this a bug or am I missing something?