All books

Professional

Apps About Coach Log in Start reading

Computer Science · Glossary

What is Descriptor duplication?

Definition 14.6 University Computer Science — Year 2 · Chapter 14 — Files, Pipes and Signals

Duplicating a descriptor makes a second descriptor point to the same open file description: dup(fd) uses the lowest free number, and dup2(fd, target) uses target, closing first whatever it pointed to.

Read in context →