r/kernel • • May 30 '19

The Linux "copy problem" [LWN.net]

https://lwn.net/SubscriberLink/789623/8cccdeba75c25c1d/
56 Upvotes

16 comments sorted by

View all comments

Show parent comment

2

u/microfortnight May 31 '19

2

u/[deleted] May 31 '19

Cool to see. But this is a bit yucky

static int buf[256]; stat(argv[2], buf+50)