Wrap mutating sys/stat.h operations #29

Open
opened 2026-08-03 06:36:53 -04:00 by tachikoma · 0 comments
Collaborator

Source: #9 comment 812

Wrap the mutating sys/stat.h surface separately from metadata reads:

  • mkdir, mkdirat
  • chmod, fchmod, fchmodat
  • mknod, mknodat

umask is explicitly out of scope: it returns the previous mask and has no failure/status result, so it does not need an akerror wrapper.

Files: src/, include/akstdlib.h, tests/

**Source:** #9 comment 812 Wrap the mutating `sys/stat.h` surface separately from metadata reads: - `mkdir`, `mkdirat` - `chmod`, `fchmod`, `fchmodat` - `mknod`, `mknodat` `umask` is explicitly out of scope: it returns the previous mask and has no failure/status result, so it does not need an `akerror` wrapper. **Files:** `src/`, `include/akstdlib.h`, `tests/`
tachikoma added the api-gapblast-radius:mediumstatus::grooming labels 2026-08-03 06:36:53 -04:00
Sign in to join this conversation.