public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
* RUSAGE_BOTH
@ 2004-08-16  6:28 Roland McGrath
  2004-08-16  7:52 ` RUSAGE_BOTH Ulrich Drepper
  0 siblings, 1 reply; 2+ messages in thread
From: Roland McGrath @ 2004-08-16  6:28 UTC (permalink / raw)
  To: GNU libc hackers

The RUSAGE_BOTH constant is not part of any system call interface.
The getrusage system call allows only RUSAGE_SELF and RUSAGE_CHILDREN,
it fails with EINVAL if you give RUSAGE_BOTH just like any other bogus value.
The RUSAGE_BOTH value is used purely internal to the kernel implementation.
Why do we have it in bits/resource.h:enum __rusage_who?

Is there any reason I shouldn't just remove it?


Thanks,
Roland

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: RUSAGE_BOTH
  2004-08-16  6:28 RUSAGE_BOTH Roland McGrath
@ 2004-08-16  7:52 ` Ulrich Drepper
  0 siblings, 0 replies; 2+ messages in thread
From: Ulrich Drepper @ 2004-08-16  7:52 UTC (permalink / raw)
  To: Roland McGrath; +Cc: GNU libc hackers

Roland McGrath wrote:

> Is there any reason I shouldn't just remove it?

No.

-- 
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-08-16  7:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-16  6:28 RUSAGE_BOTH Roland McGrath
2004-08-16  7:52 ` RUSAGE_BOTH Ulrich Drepper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).