るりまサーチ (Ruby 2.7.0)

最速Rubyリファレンスマニュアル検索!
5件ヒット [1-5件を表示] (0.019秒)

別のキーワード

  1. fcntl o_noctty
  2. fcntl o_rdonly
  3. fcntl o_wronly
  4. fcntl o_ndelay

ライブラリ

クラス

モジュール

キーワード

検索結果

fcntl (114295.0)

ファイルディスクリプタを扱う Unix のシステムコール IO#fcntl (つまり fcntl(2)) で使用できる定数を集めたモジュールです。

ファイルディスクリプタを扱う Unix のシステムコール IO#fcntl (つまり
fcntl(2)) で使用できる定数を集めたモジュールです。


例:
require "fcntl"
m = s.fcntl(Fcntl::F_GETFL, 0)
f.fcntl(Fcntl::F_SETFL, Fcntl::O_NONBLOCK|m)

require 'fcntl'

fd = IO::sysopen('/tmp/tempfile',
Fcntl::O_WRONLY | Fcntl::O_EXCL | Fcntl...

Fcntl::O_NONBLOCK -> Integer (60304.0)

ファイルを non-blocking モードで開きます。

ファイルを non-blocking モードで開きます。

IO#fcntl(cmd, arg = 0) -> Integer (54664.0)

IOに対してシステムコール fcntl を実行します。 機能の詳細は fcntl(2) を参照してください。 fcntl(2) が返した整数を返します。

IOに対してシステムコール fcntl を実行します。
機能の詳細は fcntl(2) を参照してください。
fcntl(2) が返した整数を返します。

@param cmd IO に対するコマンドを、添付ライブラリ fcntl が提供している定数で指定します。

@param arg cmd に対する引数を整数、文字列、booleanのいずれかで指定します。
整数の時にはその値を fcntl(2) に渡します。
文字列の場合には Array#pack した構造体だとみなして渡します。
arg が nil か false の...

Fcntl::O_NDELAY -> Integer (51004.0)

ファイルを non-blocking モードで開きます。

ファイルを non-blocking モードで開きます。

NEWS for Ruby 2.5.0 (37.0)

NEWS for Ruby 2.5.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。

...ms.org/2017/11/08/2.7.2-released.html
* https://blog.rubygems.org/2017/11/03/2.7.1-released.html
* https://blog.rubygems.org/2017/11/01/2.7.0-released.html
* https://blog.rubygems.org/2017/10/09/2.6.14-released.html
* https://blog.rubygems.org/2017/08/27/2.6.13-released.html...

絞り込み条件を変える