3 ms·That's kinda what dup() is for. Reference counting happens in the kernel.by nly 11y agoThat's kinda what dup() is for. Reference counting happens in the kernel.