cloudflare / tableflip

Graceful process restarts in Go
BSD 3-Clause "New" or "Revised" License
2.88k stars 147 forks source link

Switch to x/sys/unix where possible #73

Closed mdlayher closed 1 year ago

mdlayher commented 2 years ago

Signed-off-by: Matt Layher mdlayher@gmail.com

x/sys/unix should be preferred to syscall where equivalent calls exist, and we can replace a manual syscall shim with the tidy unix.FcntlInt API.