This implements the interface from luaposix:
http://luaposix.github.io/luaposix/modules/posix.sys.utsname.html
It's a bit nicer than using io.popen() or similar to run uname(1).
Differential D42017
flua: Add an implementation of uname() markj on Sep 29 2023, 1:09 PM. Authored by Tags None Referenced Files
Subscribers
Details This implements the interface from luaposix: It's a bit nicer than using io.popen() or similar to run uname(1).
Diff Detail
Event Timeline
Comment Actions Seems fine to me; we can move it out to a module with the rest of lposix later.
|