File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -180,11 +180,10 @@ mod sched_linux_like {
180
180
/// ([`clone(2)`](https://man7.org/linux/man-pages/man2/clone.2.html))
181
181
///
182
182
/// `stack` is a reference to an array which will hold the stack of the new
183
- /// process. Contrary to colling `clone(2)` from C, where the provided
184
- /// stack address must be the highest address of the memory region, this is
185
- /// not needed here. This requirement will be taken care of by `nix` and
186
- /// the user only needs to provide a reference to a normally allocated
187
- /// buffer.
183
+ /// process. Unlike when calling `clone(2)` from C, the provided stack
184
+ /// address need not be the highest address of the region. Nix will take
185
+ /// care of that requirement. The user only needs to provide a reference to
186
+ /// a normally allocated buffer.
188
187
pub fn clone (
189
188
mut cb : CloneCb ,
190
189
stack : & mut [ u8 ] ,
You can’t perform that action at this time.
0 commit comments