Skip to main content

New answers tagged

1 vote

Rust code to print shell prompt

Good practices You use Result::expect() instead of Result::unwrap() with appropriate messages. Be specific about your types The ...
Richard Neumann's user avatar
5 votes
Accepted

Function for listing processes holding a specified file open

Avoid having to build path names You avoided building some path names by using fstatat(). But you still are building fd_dir. You ...
G. Sliepen's user avatar

Top 50 recent answers are included