Mid-19th century American slang. Refers to a male prostitute or a homosexual. The term was used in the gay underworld of homophobic war-time America
For example, appears in Breakfast at Tiffany's by Truman Capote, where it would have gone unnoticed by readers (and censors!) not familiar with the term.