Sha256: 4fd8eaf1d7f277e71fc45299bd9bd193a8288f63491c1b0f13b1ec638b6c56c8

Contents?: true

Size: 255 Bytes

Versions: 1

Compression:

Stored size: 255 Bytes

Contents

#include "ruby.h"
#include <sys/ioctl.h>

void Init_winsize()
{
  VALUE rb_mWinSize = rb_define_module("Winsize");
  rb_define_const(rb_mWinSize, "TIOCGWINSZ", ULONG2NUM(TIOCGWINSZ));
  rb_define_const(rb_mWinSize, "TIOCSWINSZ", ULONG2NUM(TIOCSWINSZ));
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
winsize-1.0.1 ext/winsize.c