Sha256: 1da034891bdaa06d4cbe5004716df2bcf609a7a328b8676fdc5bc28fcea74eeb

Contents?: true

Size: 268 Bytes

Versions: 1

Compression:

Stored size: 268 Bytes

Contents

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
winsize-1.0.0 ext/winsize.c