[Bug libc/23689] New: Bug in documentation for rusage.ru_ixrss in bits/types/struct_rusage.h

christoph.niethammer at gmail dot com sourceware-bugzilla@sourceware.org
Wed Sep 19 19:53:00 GMT 2018


https://sourceware.org/bugzilla/show_bug.cgi?id=23689

            Bug ID: 23689
           Summary: Bug in documentation for rusage.ru_ixrss in
                    bits/types/struct_rusage.h
           Product: glibc
           Version: unspecified
            Status: UNCONFIRMED
          Severity: minor
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: christoph.niethammer at gmail dot com
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

Looking into bits/types/struct_rusage.h the documentation for rusage.ru_ixrss
has an additional line that seems to a copy of the documentation for
rusage.maxrss. 

Looks like follows:

    /* Amount of sharing of text segment memory
       with other processes (kilobyte-seconds).  */
    /* Maximum resident set size (in kilobytes).  */
    __extension__ union
      {
        long int ru_ixrss;
        __syscall_slong_t __ru_ixrss_word;
      };

I'd expect the documentation to be clear about the meaning of rusage.ixrss.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list