nix v0.7.0 Release Notes
Release Date: 2016-09-09 // over 7 years ago-
➕ Added
- ➕ Added
lseek
andlseek64
in::nix::unistd
(#377) - ➕ Added
mkdir
andgetcwd
in::nix::unistd
(#416) - ➕ Added accessors
sigmask_mut
andsigmask
toUContext
in::nix::ucontext
. (#370) - 🐧 Added
WUNTRACED
toWaitPidFlag
in::nix::sys::wait
for non-linux targets. (#379) - ➕ Added new module
::nix::sys::reboot
with enumerationRebootMode
and functionsreboot
andset_cad_enabled
. Currently for linux only. (#386) - 👯
FdSet
in::nix::sys::select
now also implementsClone
. (#405) - Added
F_FULLFSYNC
toFcntlArg
in::nix::fcntl
for apple targets. (#407) - ➕ Added
CpuSet::unset
in::nix::sched
. (#402) - ➕ Added constructor method
new()
toPollFd
in::nix::poll
, in order to allow creation of objects, after removing public access to members. (#399) - ➕ Added method
revents()
toPollFd
in::nix::poll
, in order to provide read access to formerly public memberrevents
. (#399) - Added
MSG_CMSG_CLOEXEC
toMsgFlags
in::nix::sys::socket
for linux only. (#422)
🔄 Changed
- 🚦 Replaced the reexported integer constants for signals by the enumeration
Signal
in::nix::sys::signal
. (#362) - 📇 Renamed
EventFdFlag
toEfdFlags
in::nix::sys::eventfd
. (#383) - 🔄 Changed the result types of
CpuSet::is_set
andCpuSet::set
in::nix::sched
toResult<bool>
andResult<()>
, respectively. They now returnEINVAL
, if an invalid argument for thefield
parameter is passed. (#402) MqAttr
in::nix::mqueue
is now an opaque proxy for::libc::mq_attr
, which has the same structure as the oldMqAttr
. The fieldmq_flags
of::libc::mq_attr
is readable using the new methodflags()
ofMqAttr
.MqAttr
also no longer implementsDebug
. (#392)- The parameter
msq_prio
ofmq_receive
with typeu32
in::nix::mqueue
was replaced by a parameter namedmsg_prio
with type&mut u32
, so that the message priority can be obtained by the caller. (#392) - The type alias
MQd
in::nix::queue
was replaced by the type aliaslibc::mqd_t
, both of which are aliases for the same type. (#392)
✂ Removed
- 🚦 Type alias
SigNum
from::nix::sys::signal
. (#362) - Type alias
CpuMask
from::nix::shed
. (#402) - ✂ Removed public fields from
PollFd
in::nix::poll
. (See also added methodrevents()
. (#399)
🛠 Fixed
- ➕ Added