Skip to content

haconiwa/mruby-process-sys

Repository files navigation

mruby-process-sys Build Status

Process::Sys (UID/GID) for mruby

install by mrbgems

  • add conf.gem line to build_config.rb
MRuby::Build.new do |conf|

    # ... (snip) ...

    conf.gem :github => 'haconiwa/mruby-process-sys'
end

example

p Process::Sys.getuid
#=> 1000
p Process::Sys.getgid
#=> 1000

include Process

UID.eid
#=> 1000
UID.from_name "haconiwa"
#=> 1001
#...

See Ruby reference manual: Process::Sys Process::UID Process::GID and test directory.

License

MIT

About

Process::Sys implementation for mruby

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published