@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
10 lines • 635 B
TypeScript
import type { Flock } from "./hand-activity-lock.ts";
/**
* `flock(2)` from libc through `bun:ffi`, with the errno it left read on the same thread right after the call.
*
* RUNTIME BOUNDARY: `bun:ffi` is a Bun-only builtin, reached with `process.getBuiltinModule`, which answers synchronously
* on Bun and `undefined` on Node (as `core/process-footprint.ts` does). Node, win32, or a library or symbol this build
* cannot bind all give `undefined`: the kernel-lock ruling's ENOSYS class, so a `run` holds no activity lock.
*/
export declare function loadFlock(): Flock | undefined;
//# sourceMappingURL=hand-flock-binding.d.ts.map