embeddedartistry / embeddedartistry/libc

Audit library for macro usage

Open
#120 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
661
Forks
78
PR merge metrics
No merged PRs in 30d

Description

Per the C standard:

```
"unless explicitly stated otherwise in the detailed descriptions [...] For the same syntactic reason, it is permitted to take the address of a library function even if it is also defined as a macro"
```

The related footnote states:

> 185) This means that an implementation shall provide an actual function for each library function, even if it also provides a macro for that function.

Should audit library usage to make sure this is followed.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.