Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: barry greenfield <bmg@greatgames.com>
Subject: gnu c - resource.h
Date: 1997/08/16	[thread overview]
Message-ID: <33F5AE7A.5300@greatgames.com> (raw)


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?



                 reply	other threads:[~1997-08-16  4:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox