Skip to content

Commit

Permalink
Optimize inherited_fds documents
Browse files Browse the repository at this point in the history
  • Loading branch information
mohanson committed May 31, 2024
1 parent e33d4b0 commit cb0d1c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rfcs/0050-vm-syscalls-3/0050-vm-syscalls-3.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ The arguments used here are:
- argc: argc contains the number of arguments passed to the program
- argv: argv is a one-dimensional array of strings
- process_id: a pointer used to save the process_id of the child process
- inherited_fds: an array representing the file descriptors passed to the child process. It must end with zero.
- inherited_fds: an array representing the file descriptors passed to the child process. It must end with zero, for example, when you want to pass `fd1` and `fd2`, you need to construct an array `[fd1, fd2, 0]`.
The arguments used here - index, source, bounds, place, argc, and argv - follow the usage described in [EXEC].
Expand Down

0 comments on commit cb0d1c2

Please sign in to comment.