Ruby 1.9.0 リファレンスマニュアル > ライブラリ一覧 > library fcntl > module Fcntl > F_GETLK
F_GETLK -> Integer
与えられたファイルの範囲のロック状態を取得します。