Comments (3)
uname
should return &CStr
instead of &OsStr
as well.
from rustix.
Looks like #87 covers most of this! The only OsString
left is in the getpath
function. To remove that one, we should change getpath
's return type from PathBuf
to CString
as well.
The OsStr
/OsString
usage in Arg
is ok to leave there, because that's just providing a convenience for users that already have an OsStr
or OsString
from somewhere else.
from rustix.
With #87 and #93, this is now done. Thanks @nivkner!
from rustix.
Related Issues (20)
- `u32` struct fields in place of file descriptors HOT 2
- Support for syscalls required for AF_XDP HOT 1
- Add support for extattr_* family of functions
- Enable "std" feature on linux-raw-sys when "std" feature is enabled HOT 7
- Passing an empty slice to lgetxattr on macOS returns ERANGE no matter what
- Bad cfgs for non-x86 architectures with `linux_latest` HOT 3
- fsmount not returning fd correctly HOT 3
- Strange behavior with epoll syscall HOT 2
- I
- Docs are missing for some APIs HOT 3
- Add `mount_setattr`
- Panics when /proc is not available on i386 HOT 5
- Several compilation issues on uClibc targets in version 0.38.28. HOT 2
- Version 0.38.29 fails to build on Linux HOT 1
- Add ClockId::try_from
- waitpid doesn't returned pid HOT 4
- Build errors for i686-apple-darwin HOT 1
- Add support for pidfd_send_signal
- `proc_self_status` fails on second invocation HOT 1
- add io_uring_sqe64,io_uring_sqe128,io_uring_cqe16,io_uring_cqe32 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rustix.