diff options
author | Florian Weimer <fweimer@redhat.com> | 2018-10-19 18:03:21 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2018-10-19 18:03:21 +0200 |
commit | 53b2bb87472138910df47b9bc6c8227e0550a23e (patch) | |
tree | 50113d9fc57745e631c8c8260368c030e39f1622 /resource | |
parent | 94a3a27f5df24a69420c80fb83f07c8cf7671938 (diff) | |
download | glibc-53b2bb87472138910df47b9bc6c8227e0550a23e.zip glibc-53b2bb87472138910df47b9bc6c8227e0550a23e.tar.gz glibc-53b2bb87472138910df47b9bc6c8227e0550a23e.tar.bz2 |
resource: Update struct rusage comments [BZ #23689]
Diffstat (limited to 'resource')
-rw-r--r-- | resource/bits/types/struct_rusage.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/resource/bits/types/struct_rusage.h b/resource/bits/types/struct_rusage.h index 5dc0916..5ff9429 100644 --- a/resource/bits/types/struct_rusage.h +++ b/resource/bits/types/struct_rusage.h @@ -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; |