This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]