Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Mon, 19 Apr 2021 09:05:20 +0100
From: Jon Chesterfield <jonathanchesterfield@...il.com>
To: musl@...ts.openwall.com
Subject: Requirements on code in libc headers

Hello musl,

I find myself implementing printf on a GPU without much compiler support.
That's broadly working, if a bit macro + inline function themed. The intent
is to eventually have all of musl running on the asic but that's a long
game.

Does anyone have a reference, or know offhand, what one is supposed to do
for libc implementation code that lives in a header file?

So far I have static inline on implementation functions and am putting
__leading __underscores on function and variable names.

Thanks!

Jon

Content of type "text/html" skipped

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.