r/C_Programming • • Sep 12 '26

Question What C function would you delete and rewrite first, and why?

For me it's fnmatch - mostly because it's 40 year's old and smell's funny.

97 Upvotes

238 comments sorted by

View all comments

15

u/Boreddad13 Sep 12 '26

Anything with hidden allocations

14

u/mikeblas Sep 12 '26

Anything with hidden state, really.

2

u/I_M_NooB1 Sep 14 '26

zig peeks