sunfishcode / c-ward

An implementation of libc written in Rust
Other
187 stars 11 forks source link

When `utimensat` is invoked via `syscall`, emulate Linux behavior. #97

Closed sunfishcode closed 8 months ago

sunfishcode commented 8 months ago

At the syscall level, Linux's utimensat can accept a null path, which tells it to behave like futimens. Implement this behavior in c-scape's syscall function.