Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generating constants for ioctl.h on Linux #26

Open
aploese opened this issue Mar 31, 2018 · 2 comments
Open

Generating constants for ioctl.h on Linux #26

aploese opened this issue Mar 31, 2018 · 2 comments

Comments

@aploese
Copy link

aploese commented Mar 31, 2018

The definition in this IoctlFlags.rb wont be generated - The output file is empty.

  1. Under this error condition there should be no output file at all.
  2. Where is the bug? (I dont know who is responsable fot his ;-).
    IoctlFlags.rb.txt

Arne

@headius
Copy link
Member

headius commented Sep 12, 2018

@aploese Same goes for this one...is this still an issue?

@ahorek
Copy link
Contributor

ahorek commented Feb 16, 2020

there're functions in your example, they can't be converted to a constant

the only reasonable constants in <ioctl.h> are
TIOCGWINSZ = 0x5413
TIOCSWINSZ = 0x5414

https://github.com/jruby/jruby/blob/c15f571a14694b268594077c06f5435e0b2b8663/lib/ruby/stdlib/io/console/jruby/linux_console.rb#L188

it's probably not worth the effort to add them here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants