1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

resource: Update struct rusage comments [BZ #23689]

This commit is contained in:
Florian Weimer
2018-10-19 18:03:21 +02:00
parent 94a3a27f5d
commit 53b2bb8747
2 changed files with 9 additions and 2 deletions

View File

@ -22,7 +22,9 @@
#include <bits/types.h>
#include <bits/types/struct_timeval.h>
/* Structure which says how much of each resource has been used. */
/* Structure which says how much of each resource has been used. If
the system does not keep track of a particular value, the struct
field is always zero. */
/* The purpose of all the unions is to have the kernel-compatible layout
while keeping the API type as 'long int', and among machines where
@ -42,7 +44,6 @@ struct rusage
};
/* Amount of sharing of text segment memory
with other processes (kilobyte-seconds). */
/* Maximum resident set size (in kilobytes). */
__extension__ union
{
long int ru_ixrss;