12件ヒット
[1-12件を表示]
(0.012秒)
別のキーワード
検索結果
-
Etc
. # confstr(name) -> String | nil (7.0) -
confstr(3) で取得したシステム設定変数の値を返します。
...nil を返します。
(confstr(3) が -1 を返し、errno が設定されていない場合)
//emlist[][ruby]{
require "etc"
Etc.confstr(Etc::CS_PATH) # => "/bin:/usr/bin"
# GNU/Linux
Etc.confstr(Etc::CS_GNU_LIBC_VERSION) # => "glibc 2.18"
Etc.confstr(Etc::CS_GNU_LIBPTHREAD_VERSION) # => "NPTL...