[haiku-bugs] Re: [Haiku] #13996: missing mkstemps function in stdlib.h

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Tue, 13 Oct 2020 16:57:01 -0000

#13996: missing mkstemps function in stdlib.h
--------------------------+----------------------------
  Reporter:  kallisti5    |      Owner:  kallisti5
      Type:  enhancement  |     Status:  assigned
  Priority:  normal       |  Milestone:  Unscheduled
 Component:  System       |    Version:  R1/Development
Resolution:               |   Keywords:
Blocked By:               |   Blocking:
  Platform:  All          |
--------------------------+----------------------------
Comment (by ahwayakchih):

 Replying to [comment:22 pulkomandy]:

It's jpeg-xl fault for using a function not in the standard, and
 explicitly asking the compiler to follow the standard.

 I'm not sure any "strict" mode is specified. I'll have to check that next
 time.

We can document it, sure. Should we add it to api.haiku-os.org under a
 "libbsd" section?

 Yeah. Or maybe "Porting software from Linux/BSD" special section, and
 "libbsd" subsection there?
 Although, `-lbsd` was not needed in this case, as `mkstemps` is in
 `libroot` anyway. Which may be a bit confusing.
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/13996#comment:23>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: