Etymology
Today it means: A small attic or garret. Full definition →
From cock + loft.
Etymology from Wiktionary, CC BY-SA 4.0.