Libc
src
Libc | src | |
---|---|---|
4 | 16 | |
6 | 636 | |
- | 1.9% | |
0.0 | 10.0 | |
about 4 years ago | 7 days ago | |
C | ||
GNU General Public License v3.0 or later | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Libc
-
Setenv Is Not Thread Safe and C Doesn't Want to Fix It
[3] https://github.com/apple-open-source-mirror/Libc/blob/master...
-
Getaddrinfo() on glibc calls getenv(), oh boy
Doesn't musl have the same issue? https://github.com/JuliaLang/julia/issues/34726#issuecomment...
I also wonder about OSX's libc. Newer versions seem to have some sort of locking https://github.com/apple-open-source-mirror/Libc/blob/master...
but older versions (from 10.9) don't have any lockign: https://github.com/apple-oss-distributions/Libc/blob/Libc-99...
- Regex and gcc versions
-
Null
All three are probably using glibc, which does that, yes. On Darwin Apple’s libc prints “(null)”: https://github.com/apple-open-source-mirror/Libc/blob/5e566b.... I should also note that passing a non-null pointer to printf is the only correct way to use it ;)
src
- Aho – a Git implementation in Awk
-
Have you compiled a custom *BSD kernel before? (similar to a poll on a linux subreddit asking the same question for that OS)
Yes. It's incredibly easy with NetBSD, and while the GENERIC kernel works for most cases, you might sometimes want to change a few things or remove unused things.
- NetBSD Turns 30
- Any good resources on making a C implementation of the Unix ls command?
-
WireGuard has finally landed in FreeBSD
If anyone wants to review the NetBSD implementation, see:
https://github.com/NetBSD/src/blob/trunk/sys/net/if_wg.c
-
Is there such a thing as idiomatic C?
I would disagree with the responses that say there isn't much in the way of idiomatic C. C is a domain-specific language for writing operating systems, so, I would take a look at the Linux kernel, the source code for the different BSDs, etc. The Linux kernel even has its own style guide (which, incidentally, recommends against using that of the GNU project, also worth taking a look at). There's also a style called Kernel Normal Form (KNF), developed by none other than the authors of C and UNIX themselves. I'd also suggest Kernighan and Ritchie's The C Programming Language.
- Your Makefiles Are Wrong
- The /bin/true Command and AT&T Copyright scandal.
- Regex and gcc versions
-
grep /etc/words in browser?
You can view /etc/words in any unix source repository and use the search function. Modern unices keep the wordlist somewhere else, like here: https://github.com/NetBSD/src/blob/trunk/share/dict/web2
What are some alternatives?
musl - unofficial musl mirror git://git.musl-libc.org/musl
htshells - Self contained htaccess shells and attacks
minix - Official MINIX sources - Automatically replicated from gerrit.minix3.org
go - The Go programming language
busybox - BusyBox mirror
Libc
linux - Linux kernel source tree
big-list-of-naughty-strings - The Big List of Naughty Strings is a list of strings which have a high probability of causing issues when used as user-input data.
src - Read-only git conversion of OpenBSD's official CVS src repository. Pull requests not accepted - send diffs to the tech@ mailing list.
glibc - Unofficial mirror of sourceware glibc repository. Updated daily.
coreutils - upstream mirror