Blame lib/posix/sys.lua

Packit 437b5e
local posix = require "posix"
Packit 437b5e
Packit 437b5e
local M = {}
Packit 437b5e
Packit 437b5e
-- For backwards compatibility with release 32, copy previous
Packit 437b5e
-- entries into `posix.sys` namespace.
Packit 437b5e
for _, fn in ipairs {
Packit 437b5e
  "euidaccess", "pipeline", "pipeline_iterator", "pipeline_slurp",
Packit 437b5e
  "spawn", "timeradd", "timercmp", "timersub"
Packit 437b5e
} do
Packit 437b5e
  M[fn] = posix[fn]
Packit 437b5e
end
Packit 437b5e
Packit 437b5e
return M