·zig-system-calls
</>

zig-system-calls

oven-sh/bun

Guides using bun.sys for system calls and file I/O in Zig. Use when implementing file operations instead of std.fs or std.posix.

25Installs·3Trend·@oven-sh

Installation

$npx skills add https://github.com/oven-sh/bun --skill zig-system-calls

SKILL.md

Use bun.sys instead of std.fs or std.posix for cross-platform syscalls with proper error handling.

| Return Type | Maybe(T) with detailed Error | Generic error union | | Windows | Full support with libuv fallback | Limited/POSIX-only | | Error Info | errno, syscall tag, path, fd | errno only | | EINTR | Automatic retry | Manual handling |

Do NOT use bun.sys for socket read/write - use uws.Socket instead.

Guides using bun.sys for system calls and file I/O in Zig. Use when implementing file operations instead of std.fs or std.posix. Source: oven-sh/bun.

View raw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/oven-sh/bun --skill zig-system-calls
Category
</>Dev Tools
Verified
First Seen
2026-02-01
Updated
2026-02-18

Quick answers

What is zig-system-calls?

Guides using bun.sys for system calls and file I/O in Zig. Use when implementing file operations instead of std.fs or std.posix. Source: oven-sh/bun.

How do I install zig-system-calls?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/oven-sh/bun --skill zig-system-calls Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

Where is the source repository?

https://github.com/oven-sh/bun