Sha256: 7061d3cc928a1885fb9e0b5a561790ed1ae051629eadceab036b9dde4b10c917

Contents?: true

Size: 266 Bytes

Versions: 1

Compression:

Stored size: 266 Bytes

Contents

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

void Init_winsize()
{
  VALUE rb_cWinSize = rb_define_class("Winsize", rb_cObject);
  rb_define_const(rb_cWinSize, "TIOCGWINSZ", ULONG2NUM(TIOCGWINSZ));
  rb_define_const(rb_cWinSize, "TIOCSWINSZ", ULONG2NUM(TIOCSWINSZ));
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
winsize-2.0.0 ext/winsize.c