function rb_attr

[edit]
void rb_attr(VALUE klass, ID id, int read, int write, int ex)