るりまサーチ

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

別のキーワード

  1. stringio syswrite
  2. io syswrite
  3. openssl syswrite
  4. sslsocket syswrite
  5. _builtin syswrite

検索結果

fcntl (38098.0)

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

...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::O_CREAT)
f = IO.open(fd)
f.syswrite("TEMP DATA")

f.close...