This study examines adverse events in childhood as predictors of duration of homelessness , psychiatric and substance use disorders , and physical health in a sample of homeless adults with mental illness .