[haiku-bugs] [Haiku] #7905: posix/stdio.h open_memstream seems to be wrong

  • From: "scottmc" <trac@xxxxxxxxxxxx>
  • Date: Tue, 09 Aug 2011 22:29:18 -0000

#7905: posix/stdio.h open_memstream seems to be wrong
----------------------------+-------------------------
 Reporter:  scottmc         |        Owner:  mmu_man
     Type:  bug             |       Status:  new
 Priority:  normal          |    Milestone:  R1
Component:  System/POSIX    |      Version:  R1/alpha3
 Keywords:  open_memstream  |   Blocked By:
 Blocking:                  |  Has a Patch:  0
 Platform:  All             |
----------------------------+-------------------------
 It's currently defining **buf as void:
 {{{
 extern FILE     *open_memstream(void **buf, size_t *size);
 }}}
 Open Group shows it as char:
 http://pubs.opengroup.org/onlinepubs/9699919799/functions/open_memstream.html

 This was detected while trying to build leptonica.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/7905>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: