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 stdio/16754] New: Manual shows wrong data types for Custom Stream Hook Functions


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

            Bug ID: 16754
           Summary: Manual shows wrong data types for Custom Stream Hook
                    Functions
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: minor
          Priority: P2
         Component: stdio
          Assignee: unassigned at sourceware dot org
          Reporter: julianfoad at btopenworld dot com

In the manual section 12.21.2.2 Custom Stream Hook Functions [1][2], the data
types shown for the four functions are wrong: instead of

  cookie_read_function
  cookie_write_function
  cookie_seek_function
  cookie_close_function

it seems to me that they should be

  cookie_read_function_t
  cookie_write_function_t
  cookie_seek_function_t
  cookie_close_function_t

as defined in libio.h [3].

[1]
<http://www.gnu.org/software/libc/manual/html_node/Hook-Functions.html#Hook-Functions>
[2]
<https://sourceware.org/git/?p=glibc.git;a=blob_plain;f=manual/stdio.texi;hb=HEAD>
[3]
<https://sourceware.org/git/?p=glibc.git;a=blob_plain;f=libio/libio.h;hb=HEAD>

-- 
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]