We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bcbcb50 commit 3d64d41Copy full SHA for 3d64d41
src/unistd.rs
@@ -265,9 +265,9 @@ impl ForkResult {
265
/// # Safety
266
///
267
/// In a multithreaded program, only [async-signal-safe] functions like `pause`
268
-/// and `_exit` may be called by the child (the parent isn't restricted). Note
269
-/// that memory allocation may **not** be async-signal-safe and thus must be
270
-/// prevented.
+/// and `_exit` may be called by the child (the parent isn't restricted) until
+/// a call of `execve(2)`. Note that memory allocation may **not** be
+/// async-signal-safe and thus must be prevented.
271
272
/// Those functions are only a small subset of your operating system's API, so
273
/// special care must be taken to only invoke code you can control and audit.
0 commit comments