O' stands for "of". It is a common abbreviation used in names, such as O'Brien or O'Connell.