Hacker GitHub

← All repos

esmil/musl

View on GitHub ↗ ★ 68 C

3 mentions on Hacker News by 3 people: 0 stories, 3 comments · first 2017-02-21 · latest 2023-02-12

Mentions per year 3 mentions · busiest year 2017 (1)
20082026
  1. …hasn't improved all that much I'd say... For reference, MUSL also just uses the original approach: https://github.com/esmil/musl/blob/master/src/string/strcpy....
    comment by flohofwoe · 2023-02-12 · in Let's write a setjmp
  2. Here is the musl implementation. > https://github.com/esmil/musl/blob/master/src/string/strtok.... It's a bit longer than 4 lines because strtok does things you should not want. If you insist on parsing that configuration line with strtok,…
    comment by jstimpfle · 2018-12-15 · in String tokenization in C
  3. …musl, which is used on Alpine Linux images for example, will only read it once, and then cache it: https://github.com/esmil/musl/blob/master/src/time/__tz.c#L1... It has a mutex/lock around the use of the TZ info, but avoids re-stat'ing…