るりまサーチ (Ruby 2.5.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.021秒)
トップページ > クラス:IO[x] > ライブラリ:etc[x] > クエリ:Etc[x] > バージョン:2.5.0[x]

別のキーワード

  1. etc passwd
  2. etc group
  3. etc each
  4. etc gid
  5. etc gid=

検索結果

IO#pathconf(name) -> Integer | nil (64.0)

fpathconf(3) で取得したファイルの設定変数の値を返します。

...場合は nil
を返します。(fpathconf(3) が -1 を返し、errno が設定されていない
場合)

@param name Etc モジュールの PC_ で始まる定数のいずれかを指定します。

//emlist[][ruby]{
require 'etc'
IO
.pipe {|r, w|
p w.pathconf(Etc::PC_PIPE_BUF) # => 4096
}
//}...