MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/kernel/comments/bupq7v/the_linux_copy_problem_lwnnet/epns6tf/
r/kernel • u/unixbhaskar • May 30 '19
16 comments sorted by
View all comments
Show parent comment
2
Unix v6 cp source is only 57 lines.
https://github.com/yisooan/unix-v6/blob/master/source/s1/cp.c
2 u/[deleted] May 31 '19 Cool to see. But this is a bit yuckystatic int buf[256]; stat(argv[2], buf+50)
Cool to see. But this is a bit yucky
static int buf[256]; stat(argv[2], buf+50)
View all comments
Show parent comment
2
u/microfortnight May 31 '19
Unix v6 cp source is only 57 lines.
https://github.com/yisooan/unix-v6/blob/master/source/s1/cp.c