Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* gnu c - resource.h
@ 1997-08-16  4:00 barry greenfield
  0 siblings, 0 replies; only message in thread
From: barry greenfield @ 1997-08-16  4:00 UTC (permalink / 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?



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-08-16  4:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-08-16  4:00 gnu c - resource.h barry greenfield

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