Ruby 1.9.0 リファレンスマニュアル > ライブラリ一覧 > library fcntl > module Fcntl > O_RDONLY
O_RDONLY -> Integer
ファイルを読み込み専用で開きます。