dnsjit.core.file(3)

dnsjit.core.file3

Os file operations

Usage

require("dnsjit.core.file")
local ffi = require("ffi")
if ffi.C.core_file_exists("path/file") == 0 then
...
end

Overview

Module that exposes some file operations that are missing from Lua.

C functions

core_file_exists(path/filename)

Function that takes a string and uses stat() to check if that path/filename exists. Returns zero if it exists.

AUTHORS and CONTRIBUTORS

Jerry Lundström (DNS-OARC), Tomáš Křížek (CZ.NIC), Petr Špaček (ISC)

Maintained by DNS-OARC

https://www.dns-oarc.net/

Releases

2 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12
  2. 13

Bugs

For issues and feature requests please use:

https://github.com/DNS-OARC/dnsjit/issues

For question and help please use:

From dnsjit 1.5.0-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.