stafford loans (or other kinds of institutionally directed aid) can be used for any directly related educational expenses, i.e. books, room and board, reasonable transportation etc -- basically anything that's included in the school's official student budget.