1件ヒット
[1-1件を表示]
(0.021秒)
ライブラリ
- ビルトイン (1)
クラス
-
File
:: Stat (1)
検索結果
-
File
:: Stat # sticky? -> bool (117358.0) -
stickyビットが立っている時に真を返します。
stickyビットが立っている時に真を返します。
//emlist[][ruby]{
Dir.glob("/usr/bin/*") {|bd|
begin
if File::Stat.new(bd).sticky?
puts bd
end
rescue
end
}
#例
#...
#=> /usr/bin/emacs-21.4
#...
//}