Hacker News new | ask | show | jobs
by nly 3758 days ago
That's kinda what dup() is for. Reference counting happens in the kernel.